Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

The options for "Factor" are "push", "sms", "phone".

Advanced Use

 

Code Block
$ aws --profile foo login configure
ECP Endpoint URL [None]: https://shibidp-test.cit.cornell.edu/idp/profile/SAML2/SOAP/ECP
Username [None]: pea1
Enable Keyring [False]: True
Duo Factor [None]: auto
Role ARN [None]: arn:aws:sts::777788889999:assumed-role/shib-admin/pea1@cornell.edu

$ aws --profile bar login configure
ECP Endpoint URL [None]: https://shibidp-test.cit.cornell.edu/idp/profile/SAML2/SOAP/ECP
Username [None]: pea1
Enable Keyring [False]: True
Duo Factor [None]: auto
Role ARN [None]: arn:aws:sts::000011112222:assumed-role/shib-cs/pea1@cornell.edu
 
$ aws --profile foo login
 
$ aws --profile bar login
 
$ aws --profile foo sts get-caller-identity
 
$ aws --profile bar sts get-caller-identity