config aws profile code example Example 1: aws configure profile aws configure --profile Example 2: aws default profile export AWS_PROFILE=user1