Difference between revisions of "Aws sts assume-role"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
--role-arn <value> | --role-arn <value> | ||
--role-session-name <value> | --role-session-name <value> | ||
− | [[--duration-seconds]] <value> The maximum session duration setting can have a value from 1 hour to 12 hours | + | [[--duration-seconds]] <value> The maximum [[session]] duration setting can have a value from 1 hour to 12 hours |
[[--source-identity]] | [[--source-identity]] | ||
Revision as of 08:25, 26 May 2023
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
aws sts assume-role --role-arn your_role --role-session-name XXXX --serial-number yyyyy
aws sts get-session-token --profile
--role-arn <value> --role-session-name <value> --duration-seconds <value> The maximum session duration setting can have a value from 1 hour to 12 hours --source-identity
Related
Activities
See also
Advertising: