aws cli use other credentials code example
Example 1: echo aws profile
export AWS_PROFILE=my-profile
echo $AWS_PROFILE
Example 2: aws cli config profile
aws configure --profile
export AWS_PROFILE=my-profile
echo $AWS_PROFILE
aws configure --profile