aws configure --profile profile-a
aws configure --profile profile-b
aws configure --profile profile-c
aws configure --profile profile-d
alias awsa="export AWS_DEFAULT_PROFILE=profile-a"
alias awsb="export AWS_DEFAULT_PROFILE=profile-b"
alias awsc="export AWS_DEFAULT_PROFILE=profile-c"
alias awsd="export AWS_DEFAULT_PROFILE=profile-d"
...
alias currentaws="echo $AWS_DEFAULT_PROFILE"
source ~/.zshrc
orsource ~/.bashrc
$ awsc
$ currentaws
profile-c
TIP: Chose profile names and aliases that make sense for you.
Examples:
$ awsdev
$ currentaws
awsdev
$ awsqa
$ currentaws
awsqa