Skip to content

Commit 654028e

Browse files
DOCSP-28951 credential providers dependency (#637)
1 parent 4b64812 commit 654028e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

source/fundamentals/authentication/mechanisms.txt

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,20 @@ The driver checks for your credentials in the following sources in order:
208208
.. tab:: Web Identity Token File
209209
:tabid: web-identity-token-file
210210

211-
You can use the OpenID Connect (OIDC) token obtained from a web identity provider to authenticate
212-
to Amazon Elastic Kubernetes Service (EKS) or other services.
213-
To use an OIDC token, create a file that contains your token, then
211+
You can use the OpenID Connect (OIDC) token obtained from a web identity
212+
provider to authenticate to Amazon Elastic Kubernetes Service (EKS) or
213+
other services.
214+
215+
To authenticate with your OIDC token you must first install
216+
`@aws-sdk/credential-providers
217+
<https://www.npmjs.com/package/@aws-sdk/credential-providers>`__. You can
218+
install this dependency using the following ``npm`` command:
219+
220+
.. code-block:: bash
221+
222+
npm install @aws-sdk/credential-providers
223+
224+
Next, create a file that contains your OIDC token. Then
214225
set the absolute path to this file in an environment variable by using
215226
a shell as shown in the following example:
216227

0 commit comments

Comments
 (0)