set access key aws cli code example Example: echo aws profile export AWS_PROFILE=my-profile echo $AWS_PROFILE