Skip to content

Commit 295211b

Browse files
committed
Durran feedback
1 parent a9413ad commit 295211b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/security/authentication/aws-iam.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ Specifying AWS Credentials
157157
--------------------------
158158

159159
When you install the optional ``aws-sdk/credential-providers`` dependency, the driver
160-
uses the AWS SDK to retrieve credentials from the environment. If you have a shared AWS
160+
retrieves credentials in a priority order defined by the AWS SDK. If you have a shared AWS
161161
credentials file or config file, the driver uses those credentials by default.
162162

163163
To manually specify the AWS credentials to retrieve, you can set the ``AWS_CREDENTIAL_PROVIDER``
164-
property to the credential provider. The following example passes a provider chain
164+
property to a defined credential provider from the AWS SDK. The following example passes a provider chain
165165
from the AWS SDK to the AWS authentication mechanism:
166166

167167
.. literalinclude:: /code-snippets/authentication/aws-custom-credentials.js
@@ -171,7 +171,7 @@ from the AWS SDK to the AWS authentication mechanism:
171171
:dedent:
172172

173173
To use a custom provider, you can pass any asynchronous function that returns your credentials
174-
to the ``AWS_CREDENTIAL_PROVIDER`` property. The following example shows how to pass
174+
to the ``AWS_CREDENTIAL_PROVIDER`` authentication mechanism property. The following example shows how to pass
175175
a custom provider function that fetches credentials from environment variables to the
176176
AWS authentication mechanism:
177177

@@ -181,6 +181,9 @@ AWS authentication mechanism:
181181
:end-before: // end-custom-credentials-function
182182
:dedent:
183183

184+
To learn more about how the ``aws-sdk/credential-providers`` dependency retrieves
185+
credentials, see the `AWS SDK documentation <https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-credential-providers/#fromnodeproviderchain>`__.
186+
184187
API Documentation
185188
-----------------
186189

0 commit comments

Comments
 (0)