@aws-sdk/credential-providers 3.540.0 → 3.552.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -501,7 +501,7 @@ role_arn=arn:aws:iam::123456789012:role/example-role
|
|
|
501
501
|
|
|
502
502
|
#### profile with sso credentials
|
|
503
503
|
|
|
504
|
-
See [`fromSSO()`](#fromsso)
|
|
504
|
+
See [`fromSSO()`](#fromsso) for more information
|
|
505
505
|
|
|
506
506
|
## `fromEnv()`
|
|
507
507
|
|
|
@@ -522,7 +522,7 @@ environment variables:
|
|
|
522
522
|
- `AWS_ACCESS_KEY_ID` - The access key for your AWS account.
|
|
523
523
|
- `AWS_SECRET_ACCESS_KEY` - The secret key for your AWS account.
|
|
524
524
|
- `AWS_SESSION_TOKEN` - The session key for your AWS account. This is only needed when you are using
|
|
525
|
-
|
|
525
|
+
temporary credentials.
|
|
526
526
|
- `AWS_CREDENTIAL_EXPIRATION` - The expiration time of the credentials contained in the environment
|
|
527
527
|
variables described above. This value must be in a format compatible with the
|
|
528
528
|
[ISO-8601 standard][iso8601_standard] and is only needed when you are using temporary credentials.
|
|
@@ -704,14 +704,14 @@ CLI profile name [123456789011_ReadOnly]: my-sso-profile<ENTER>
|
|
|
704
704
|
|
|
705
705
|
```javascript
|
|
706
706
|
//...
|
|
707
|
-
const client = new FooClient({ credentials: fromSSO({ profile: "my-sso-profile" });
|
|
707
|
+
const client = new FooClient({ credentials: fromSSO({ profile: "my-sso-profile" })});
|
|
708
708
|
```
|
|
709
709
|
|
|
710
710
|
Alternatively, the SSO credential provider is supported in shared INI credentials provider
|
|
711
711
|
|
|
712
712
|
```javascript
|
|
713
713
|
//...
|
|
714
|
-
const client = new FooClient({ credentials: fromIni({ profile: "my-sso-profile" });
|
|
714
|
+
const client = new FooClient({ credentials: fromIni({ profile: "my-sso-profile" })});
|
|
715
715
|
```
|
|
716
716
|
|
|
717
717
|
3. To log out from the current SSO session, use the AWS CLI:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.552.0",
|
|
4
4
|
"description": "A collection of credential providers, without requiring service clients like STS, Cognito",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/client-cognito-identity": "3.
|
|
32
|
-
"@aws-sdk/client-sso": "3.
|
|
33
|
-
"@aws-sdk/client-sts": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-cognito-identity": "3.
|
|
31
|
+
"@aws-sdk/client-cognito-identity": "3.552.0",
|
|
32
|
+
"@aws-sdk/client-sso": "3.552.0",
|
|
33
|
+
"@aws-sdk/client-sts": "3.552.0",
|
|
34
|
+
"@aws-sdk/credential-provider-cognito-identity": "3.552.0",
|
|
35
35
|
"@aws-sdk/credential-provider-env": "3.535.0",
|
|
36
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
36
|
+
"@aws-sdk/credential-provider-http": "3.552.0",
|
|
37
|
+
"@aws-sdk/credential-provider-ini": "3.552.0",
|
|
38
|
+
"@aws-sdk/credential-provider-node": "3.552.0",
|
|
39
39
|
"@aws-sdk/credential-provider-process": "3.535.0",
|
|
40
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
41
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
40
|
+
"@aws-sdk/credential-provider-sso": "3.552.0",
|
|
41
|
+
"@aws-sdk/credential-provider-web-identity": "3.552.0",
|
|
42
42
|
"@aws-sdk/types": "3.535.0",
|
|
43
43
|
"@smithy/credential-provider-imds": "^2.3.0",
|
|
44
44
|
"@smithy/property-provider": "^2.2.0",
|