Difference between revisions of "AWS SESSION TOKEN"

From wikieduonline
Jump to navigation Jump to search
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
  AWS_SESSION_TOKEN
 
  AWS_SESSION_TOKEN
 +
<code>[[aws configure set aws_session_token]]</code>
  
 +
[[~/.aws/credentials]]
 +
aws_session_token=XXXX
 +
 +
== Errors ==
 
  An error occurred (ExpiredToken) when calling the [[ListVirtualMFADevices]] operation: The security token included in the request is expired
 
  An error occurred (ExpiredToken) when calling the [[ListVirtualMFADevices]] operation: The security token included in the request is expired
 
[[credentials]]
 
aws_session_token=XXXX
 
  
 
== 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]], [[set]]</code>
 +
* [[AWS cli environmental variables]]: <code>[[AWS_ACCESS_KEY_ID]]</code>, <code>[[AWS_SECRET_ACCESS_KEY]]</code>, <code>[[AWS_REGION]]</code>, <code>[[AWS_PROFILE]]</code>
 +
* [[Configure MFA on AWS]]
  
 
== See also ==
 
== See also ==
 +
* {{aws cli config}}
 +
* {{aws configure}}
 
* {{aws sts}}
 
* {{aws sts}}
* {{aws cli}}
+
 
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 08:38, 26 May 2023

Advertising: