aws set profile code example
Example 1: echo aws profile
export AWS_PROFILE=my-profile
echo $AWS_PROFILE
Example 2: aws configure profile
aws configure --profile
Example 3: aws default profile
export AWS_PROFILE=user1
export AWS_PROFILE=my-profile
echo $AWS_PROFILE
aws configure --profile
export AWS_PROFILE=user1