Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
MacHu-GWU committed Aug 5, 2021
1 parent 655daac commit a45410d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ MFA Auth Based on One of the AWS Named Profile

For security concern, **some organization requires MFA auth before using AWS API Key**. In other words, you need to run ``aws sts get-session-token --serial-number arn-of-the-mfa-device --token-code code-from-token`` commands and manually update your ``~/.aws/credentials`` file and use your new temporary named profile. (Official document can be found here https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/)

This workflow allows you to type: ``aws-mfa-auth ${your_base_named_profile} ${six_digits_mfa_token_from_your_phone}``. Then a new aws profile ``${your_base_named_profile}_mfa`` (with ``_mfa`` surfix) will be instantly ready to use.
This workflow allows you to type::

aws-mfa-auth ${your_base_named_profile} ${six_digits_mfa_token_from_your_phone}

Then a new aws profile ``${your_base_named_profile}_mfa`` (with ``_mfa`` surfix) will be instantly ready to use.


Install
Expand Down

0 comments on commit a45410d

Please sign in to comment.