Difference between revisions of "Aws sts"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
https://docs.aws.amazon.com/cli/latest/reference/sts/
+
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/index.html
  
 +
== Commands ==
 
* <code>aws sts</code>
 
* <code>aws sts</code>
 +
* <code>[[aws sts assume-role]]</code>
 +
* <code>[[aws sts assume-role-with-saml]]</code>
 +
* <code>[[aws sts assume-role-with-web-identity]]</code>
 +
* <code>[[aws sts decode-authorization-message]]</code>
 +
* <code>[[aws sts get-access-key-info]]</code>
 +
* <code>[[aws sts get-caller-identity]]</code>
 +
* <code>[[aws sts get-federation-token]]</code>
 
* <code>[[aws sts get-session-token]]</code>
 
* <code>[[aws sts get-session-token]]</code>
* <code>[[aws sts get-caller-identity]]</code>
+
 
* <code>[[aws stas assume-role-with-saml]]</code>
+
 
 +
  # $1 = AWS_PROFILE_INIT
 +
  # $2 = AWS_PROFILE_MFA_ARN
 +
  # $3 = AWS_ROLE_ARN
 +
  # $4 = SESSION_NAME
 +
 
 +
[[aws sts get-session-token]] [[--profile]] [[your_profile]] [[--serial-number]] [[your-serial-number]] [[--token-code]] your_mfa_code
 +
[[aws sts assume-role]] [[--role-arn]] your_role [[--role-session-name]] XXXX [[--serial-number]] [[your-serial-number]] [[--token-code]]
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[.aws/credentials]]</code>
 
* <code>[[.aws/credentials]]</code>
 
* <code>[[aws iam]]</code>
 
* <code>[[aws iam]]</code>
 +
* <code>[[sts:AssumeRole]]</code>
 +
* [[AWS Security Token Service (STS)]]
 +
* <code>[[aws iam create-access-key]]</code>
 +
* [[AWS Authentication]]
  
 
== See also ==
 
== See also ==

Latest revision as of 06:14, 6 June 2024

Advertising: