Environment Variables

The following table lists the supported core configuration environment variables.

Environment variable
Description
AWS_ACCESS_KEY_ID
Specifies the AccessKeyId to use as a part of the credentials.
AWS_CONFIG_FILE
Specifies the path to the shared config file. Defaults to ~/.aws/config.
AWS_DEFAULT_REGION
Specifies the default region.
AWS_MAX_ATTEMPTS
Specifies the maximum number of attempts for each retry. See Automatic Retries for more information.
AWS_PROFILE
Specifies the default profile. Defaults to default.
AWS_RETRY_MODE
Specifies the retry mode. See Automatic Retries for more information.
AWS_SECRET_ACCESS_KEY
Specifies the SecretAccessToken to use as a part of the credentials.
AWS_SESSION_TOKEN
Specifies the SessionToken to use as a part of the credentials.
AWS_SHARED_CREDENTIALS_FILE
Specifies the path to the shared credentials file. Defaults to ~/.aws/credentials.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.