AWS – Set up multiple profile

Before doing the following, please create “Access Keys” for your IAM user.

# List AWS configuration data
aws configure list

# AWS configure profile
aws configure --profile personal # provide AWS access key, secret access key, default region, default output format

# set profile name before use in a terminal session (use export for linux, powershell $Env:AWS_PROFILE="profile_name")
set AWS_PROFILE=profile_name
echo %AWS_PROFILE%

aws s3 ls

AWS CLI: https://github.com/aws/aws-cli