Quick Notes: AWS CLI
Creating Access Keys
- Login to the AWS Console
- Create an IAM User and specify Programatic Access
- Attach PowerUserAccess policy
- Save the credentials
.csv
Adding a new profile
aws configure --profile NEW_PROFILE_NAME
Switching profiles
The only way I could find to switch profiles is to set the environment variable.
export AWS_PROFILE=PROFILE_NAME
...or in fish:
set -x AWS_PROFILE PROFILE_NAME