aws / aws-sdk-go-v2

AWS SDK for the Go programming language.
https://aws.github.io/aws-sdk-go-v2/docs/
Apache License 2.0
2.61k stars 627 forks source link

Docs: non-default profiles must start with `profile` #2787

Closed skyzyx closed 1 week ago

skyzyx commented 2 weeks ago

AWS config profiles must start with the word profile in the INI file.

AlbertVilaCalvo commented 1 week ago

I believe having "profile" is only needed for the config file, not in the credentials file, but you are adding it at the credentials file.

lucix-aws commented 1 week ago

☝️

skyzyx commented 1 week ago

I didn't realize they were different. I've not used the ~/.aws/credentials file in several years. I use ~/.aws/config exclusively.