blog.tnez.dev

Quick Notes: AWS CLI

Creating Access Keys

  1. Login to the AWS Console
  2. Create an IAM User and specify Programatic Access
  3. Attach PowerUserAccess policy
  4. 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
← Back to Home