aws cliを利用している際に複数のAWSアカウントやアクセスキーを使っていると、どのアクセスキーを使っているのかわからなくなることがある。
そんな時にこれを打ちましょう。
bash
aws configure list --profile test
Name Value Type Location
---- ----- ---- --------
profile test manual --profile
access_key ****************xxxx shared-credentials-file
secret_key ****************xxxx shared-credentials-file
region us-east-1 config-file ~/.aws/config
幸せになれました。