Skip to content

Commit 47651cf

Browse files
committed
Update credential documentation for clients
1 parent 300bc93 commit 47651cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gems/aws-sdk-core/lib/aws-sdk-core/plugins/credentials_configuration.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ class CredentialsConfiguration < Seahorse::Client::Plugin
6464
* EC2/ECS IMDS instance profile - When used by default, the timeouts
6565
are very aggressive. Construct and pass an instance of
6666
`Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
67-
enable retries and extended timeouts.
67+
enable retries and extended timeouts. Instance profile credential
68+
fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
69+
to true.
6870
DOCS
6971
) do |config|
7072
CredentialProviderChain.new(config).resolve

0 commit comments

Comments
 (0)