Configuration options
Many configuration settings can be handled outside of your code. Most configuration settings can be set as either environment
variables or in a separate shared AWS config
file. The shared config
file can maintain separate sets of settings, called profiles, to provide
different configurations for different environments or tests.
Environment variables and shared config
file settings are standardized and shared across AWS SDKs and tools to support consistent
functionality across different languages.
See the AWS SDKs and Tools Reference Guide to learn about configuring your application through these methods, plus details on each cross-sdk setting. Some pages of interest might be:
-
Shared
config
andcredentials
files - Explains profiles and the format of these configuration files. -
Location of the shared
config
andcredentials
files - Explains the default location of these files and how to change it. -
Environment variables support - Explains setting environment variables.
-
Setting reference - Reference information on all cross-SDK settings.