To securely store and access AWS credentials in a development environment.
brew install aws-vault
- Store AWS credentials for the "test" profile
aws-vault add test
- Execute a command
aws-vault exec test -- aws s3 ls
- open a browser window and login to the AWS Console
aws-vault login test
- List credentials
aws-vault list