This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - install the Yubico authenticator app | |
# - install ykman | |
# - setup your yubikey as a virtual MFA device in AWS, and | |
# - install and setup AWS vault | |
# - place the following in your ~/.bash_profile (or whatever the appropriate profile file is) | |
# - run source ~/.bash_profile or open a new shell | |
# load temp AWS credentials in your current shell: `aws_auth <profile>` | |
# login to AWS console with temp credentials: `aws_login <profile` | |
# I also like to add the vault name to my shell prompt: \033[0;31m[\$AWS_VAULT]\033[0m |