aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
72 stars 14 forks source link

Support for case insensitive properties in the aws credentials file #574

Open debora-ito opened 1 year ago

debora-ito commented 1 year ago

Originally reported in https://github.com/aws/aws-sdk-java-v2/pull/4164.

Some SDKs (like Java, .NET, Javascript, Ruby) only support lowercase attributes in the aws credentials file, like:

[default]
aws_access_key_id=
aws_secret_access_key=
aws_session_token=

Uppercase properties like AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are ignored by most SDKs - although it works fine in AWS CLI.

This is a feature request for support of case insensitive credentials file properties , in a consistent manner across all the SDKs.

Community note: please add a 👍 if you are interested in this.

trevorstr commented 9 months ago

I opened a bug for this today, for the Rust SDK. I wasted hours trying to figure out why the AWS CLI was working perfectly fine, but the Rust SDK wasn't.

https://github.com/awslabs/aws-sdk-rust/issues/1020