File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -393,11 +393,11 @@ for more information.
393
393
Retrieves credentials using OIDC token from a file on disk. It's commonly used in EKS.
394
394
395
395
- ** v2** : [ ` TokenFileWebIdentityCredentials ` ] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/TokenFileWebIdentityCredentials.html ) .
396
- - ** v3** : [ ` fromTokenFile ` ] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/modules/_aws_sdk_credential_provider_web_identity.html #fromtokenfile-1 )
396
+ - ** v3** : [ ` fromTokenFile ` ] ( https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-credential-providers/ #fromtokenfile )
397
397
398
398
``` javascript
399
399
import { fromTokenFile } from " @aws-sdk/credential-providers" ; // ES6 import
400
- // const { fromIni } from("@aws-sdk/credential-providers"); // CommonJS import
400
+ // const { fromTokenFile } from("@aws-sdk/credential-providers"); // CommonJS import
401
401
402
402
const client = new FooClient ({
403
403
credentials: fromTokenFile ({
You can’t perform that action at this time.
0 commit comments