Search code examples
amazon-web-servicesformatdataformataws-credentials

What format is ~/.aws/credential & config file


I was wondering if there was a name for the data format that the AWS credentials and config files are in.

A sample ~/.aws/config file like this:

[default]
region = eu-west-1

[profile1]
region = eu-central-2

Solution

  • I believe it is a take on the INI file format. However I am not sure if the SDK and eventually configparser in python supports all the conventions of a INI file like the ; based comments etc.