File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
source/fundamentals/authentication Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -208,9 +208,20 @@ The driver checks for your credentials in the following sources in order:
208
208
.. tab:: Web Identity Token File
209
209
:tabid: web-identity-token-file
210
210
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
214
225
set the absolute path to this file in an environment variable by using
215
226
a shell as shown in the following example:
216
227
You can’t perform that action at this time.
0 commit comments