File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/security/authentication Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ The driver checks for your credentials in the following sources in order:
153153 .. literalinclude:: /code-snippets/authentication/aws-env-variable.js
154154 :language: javascript
155155
156- Retrieving AWS Credentials
156+ Specifying AWS Credentials
157157--------------------------
158158
159159When you install the optional ``aws-sdk/credential-providers`` dependency, the driver
@@ -169,7 +169,7 @@ from the AWS SDK to the AWS authentication mechanism:
169169 :start-after: // start-custom-credentials
170170 :end-before: // end-custom-credentials
171171
172- TO use a custom provider, you can pass any async function that returns your credentials
172+ To use a custom provider, you can pass any asynchronous function that returns your credentials
173173to the ``AWS_CREDENTIAL_PROVIDER`` property. The following example shows how to pass
174174a custom provider function that fetches credentials from environment variables to the
175175AWS authentication mechanism:
You can’t perform that action at this time.
0 commit comments