Closed msonnabaum closed 7 years ago
The AWS_CREDENTIAL_FILE environment variable isn't the right variable to load a custom path to a credentials file. The correct variable is AWS_SHARED_CREDENTIALS_FILE.
See the discussion here for more background: https://github.com/aws/aws-cli/issues/1037
I retained support for AWS_CREDENTIAL_FILE so that this doesn't introduce a backwards incompatible change.
Hey @msonnabaum this fix looks great! If you can sign the DCO I'll go ahead and get it merged.
Done
The AWS_CREDENTIAL_FILE environment variable isn't the right variable to load a custom path to a credentials file. The correct variable is AWS_SHARED_CREDENTIALS_FILE.
See the discussion here for more background: https://github.com/aws/aws-cli/issues/1037
I retained support for AWS_CREDENTIAL_FILE so that this doesn't introduce a backwards incompatible change.