Difference between revisions of "Aws sts get-session-token"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | https://docs.aws.amazon.com/cli/latest/reference/sts/get-session-token.html | |
+ | |||
* <code>[[aws sts]] get-session-token --serial-number <mfa_device> --token-code <token></code> | * <code>[[aws sts]] get-session-token --serial-number <mfa_device> --token-code <token></code> |
Revision as of 13:47, 26 October 2021
https://docs.aws.amazon.com/cli/latest/reference/sts/get-session-token.html
aws sts get-session-token --serial-number <mfa_device> --token-code <token>
aws sts get-session-token --serial-number arn:aws:iam::62405745487395:mfa/yourname --token-code 123456
Related terms
See also
- AWS STS
(sts:)
,aws sts
[get-session-token
|get-caller-identity
|assume-role | assume-role-with-web-identity | assume-role-with-saml | get-access-key-info ]
aws iam
[create-user
,create-group, get-user
,list-users
|list-policies
|list-attached-user-policies
|attach-user-policy
|list-attached-user-policies
|list-roles
|get-account-summary
|put-group-policy | put-role-policy | put-user-policy
|create-login-profile
|aws iam delete-virtual-mfa-device
|aws iam list-virtual-mfa-devices
|aws iam create-saml-provider
|aws iam list-account-aliases
|aws iam create-role | aws iam change-password| enable-mfa-device | list-instance-profiles
Advertising: