Skip to content

Commit

Permalink
Add documentation for the AWS_EC2_METADATA_DISABLED environment varia…
Browse files Browse the repository at this point in the history
…ble.

Fixes aws/aws-cli#5623.
  • Loading branch information
kdaily committed Nov 24, 2020
1 parent 61fb13c commit 877a64f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc_source/cli-configure-envvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ If defined, this environment variable overrides the value for the profile settin
Specifies the AWS Region to send the request to\.
If defined, this environment variable overrides the value for the profile setting `region`\. You can override this environment variable by using the `--region` command line parameter\.

[`AWS_EC2_METADATA_DISABLED`](cli-configure-metadata.md)
Disables the use of the AWS EC2 instance metadata service (IMDS)\.
If set to false, user credentials or configuration (like the region) are not requested from IMDS\.

[`AWS_MAX_ATTEMPTS`](cli-configure-files.md#cli-config-max_attempts)
Specifies a value of maximum retry attempts the AWS CLI retry handler uses, where the initial call counts toward the value that you provide\. For more information on retries, see [AWS CLI retries](cli-configure-retries.md)\.
If defined, this environment variable overrides the value for the profiles setting `max_attempts`\.
Expand Down

0 comments on commit 877a64f

Please sign in to comment.