Difference between revisions of "Aws sts get-session-token"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <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> | ||
− | + | * <code>[[aws sts]] get-session-token --serial-number [[arn]]:aws:iam::62405745487395:mfa/yourname --token-code 123456</code> | |
− | |||
− | |||
== Related terms == | == Related terms == |
Revision as of 10:06, 29 September 2021
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: