Home > Software engineering >  What format is ~/.aws/credential & config file
What format is ~/.aws/credential & config file

Time:04-13

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

CodePudding user response:

AWS CLI is written in Python, and the format is standard python format supported by its configparser. Not sure if there is any offical name for it, except that it is similar to "Microsoft Windows INI files".

CodePudding user response:

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.

  • Related