Difference between revisions of "Aws sts assume-role"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
  
* [[aws sts]] assume-role [[--role-arn]] your_role
+
* <code>[[aws sts]] assume-role [[--role-arn]] your_role</code>
* [[aws sts]] assume-role [[--role-arn]] your_role [[--role-session-name]] XXXX
+
* <code>[[aws sts]] assume-role [[--role-arn]] your_role [[--role-session-name]] XXXX</code>
* [[aws sts]] assume-role [[--role-arn]] your_role [[--role-session-name]] XXXX [[--serial-number]] yyyyy [[--token-code]] [[your-token]]
+
* <code>[[aws sts]] assume-role [[--role-arn]] your_role [[--role-session-name]] XXXX [[--serial-number]] yyyyy [[--token-code]] [[your-token]]</code>
* [[aws sts get-session-token --profile]]
+
* <code>[[aws sts get-session-token --profile]]</code>
  
 
  --role-arn <value>
 
  --role-arn <value>

Revision as of 11:22, 14 November 2023

Advertising: