Skip to content

Commit 8f3e3e1

Browse files
authored
Update README.md
1 parent b731a60 commit 8f3e3e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,7 @@ You can use the AWSCredentialProvider interface to provide login credentials to
455455
The default credential provider chain does the following:
456456
* Checks your environment variables for AWS Credentials
457457
* Checks your $HOME/.aws/credentials file for a profile and credentials
458-
* Contacts the ECSCredentialsProvider service to request credentials
459-
* If ECSCredentialsProvider is not available then contacts the EC2MetadataInstanceProfile service to request credentials
458+
* Contacts the ECS TaskRoleCredentialsProvider service to request credentials if Environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI has been set. Otherwise contacts the EC2MetadataInstanceProfileCredentialsProvider service to request credentials
460459

461460
The simplest way to communicate with AWS is to ensure we can find your credentials in one of these locations.
462461

0 commit comments

Comments
 (0)