Difference between revisions of "Aws sts assume-role"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/assume-role.html | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/assume-role.html | ||
[[aws sts]] assume-role [[--role-arn]] your_role | [[aws sts]] assume-role [[--role-arn]] your_role | ||
+ | |||
+ | [[aws sts]] assume-role [[--role-arn]] your_role --role-session-name XXXX | ||
--role-arn <value> | --role-arn <value> |
Revision as of 12:31, 8 July 2022
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/assume-role.html
aws sts assume-role --role-arn your_role aws sts assume-role --role-arn your_role --role-session-name XXXX
--role-arn <value> --role-session-name <value> --duration-seconds
Related
See also
Advertising: