Difference between revisions of "AWS SESSION TOKEN"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Related == | == Related == | ||
− | * <code>[[aws sts get-session-token]]</code> | + | * <code>[[aws sts get-session-token]] --serial-number <mfa_device> --token-code <token></code> |
* <code>[[aws-sts-get-session-token]]</code> script | * <code>[[aws-sts-get-session-token]]</code> script | ||
* <code>[[unset]]</code> | * <code>[[unset]]</code> |
Revision as of 01:12, 17 February 2022
AWS_SESSION_TOKEN
An error occurred (ExpiredToken) when calling the ListVirtualMFADevices operation: The security token included in the request is expired
~/.aws/credentials aws_session_token=XXXX
Related
aws sts get-session-token --serial-number <mfa_device> --token-code <token>
aws-sts-get-session-token
scriptunset
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 CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: