Shared Configuration

Configuration values will be loaded automatically from the AWS shared configuration file. The shared configuration file is an INI file made up of a default section and profile sections for each configured profile. An example configuration with defaults and a configured profile:

[default] region=eu-west-2 [profile usa] region=us-east-1

NOTE: The presence of the profile keyword in the [profile usa] profile section name. This differs from the shared credentials file that expects an associated section to be named [usa].

File Location

Shared configuration files are normally located at ~/.aws/config but that can be overridden with the use of the environment variable AWS_CONFIG_FILE.

Copyright © 2019-2021 Appercept Ltd. All rights reserved.