Green
Green

Reputation: 30785

Where can I find a profile name in AWS for credentials file?

I want to have a credentials file. It looks like this:

[default]
aws_access_key_id = ACCESS_KEY
aws_secret_access_key = SECRET_KEY
aws_session_token = TOKEN

[Alice]
aws_access_key_id = Alice_access_key_ID
aws_secret_access_key = Alice_secret_access_key

[Bob]
aws_access_key_id = Bob_access_key_ID
aws_secret_access_key = Bob_secret_access_key

I read this article, the guy refers all these [Alice], [Bob] as profile names but doesn't say a word where to get them in AWS. In my newly created AWS account I have only this. No any profile name:

enter image description here

Where can I find those profile names? May that Account Name or Account Id on the screenshot be a profile name? or is profile name an email I stated on registration?

Upvotes: 1

Views: 2637

Answers (2)

Sergiu Poenaru
Sergiu Poenaru

Reputation: 149

They are arbitrary labels and I use them [IAM username] for ease of use.

Upvotes: 0

E.J. Brennan
E.J. Brennan

Reputation: 46841

You just make up whatever labels you want. They are only used locally by the SDK to figure out which set of credentials to read from the local credential store. AWS doesn't know anything about them.

Upvotes: 4

Related Questions