Difference between revisions of "Aws sts"

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
   # $4 = SESSION_NAME
 
   # $4 = SESSION_NAME
  
  [[aws sts get-session-token]] [[--profile]] [[your_profile]] [[--serial-number]] [[your-serial-number]] --token-code your_mfa_code
+
  [[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]]
 
  [[aws sts assume-role]] [[--role-arn]] your_role [[--role-session-name]] XXXX [[--serial-number]] [[your-serial-number]] [[--token-code]]
  

Revision as of 09:58, 26 May 2023

Advertising: