It is all too easy for folks to see both a credentials and credentials.gpg file in the same directory (~/.aws/) and ASSUME they are related. This can lead to confusion and hard to debug errors.
| File |
Usage |
credentials |
needed for any AWS cli operation that does NOT use aws-assume-role do not delete |
credentials.gpg |
needed for aws-assume-role in the exact format specified |
It is all too easy for folks to see both a
credentialsandcredentials.gpgfile in the same directory (~/.aws/) and ASSUME they are related. This can lead to confusion and hard to debug errors.credentialsaws-assume-roledo not deletecredentials.gpgaws-assume-rolein the exact format specified