@aws-sdk/credential-provider-node 3.972.68 → 3.972.69
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.
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { FromHttpOptions } from "@aws-sdk/credential-provider-http";
|
|
2
2
|
import { FromIniInit } from "@aws-sdk/credential-provider-ini";
|
|
3
3
|
import { FromProcessInit } from "@aws-sdk/credential-provider-process";
|
|
4
|
-
import {
|
|
5
|
-
FromSSOInit,
|
|
6
|
-
SsoCredentialsParameters,
|
|
7
|
-
} from "@aws-sdk/credential-provider-sso";
|
|
4
|
+
import { FromSSOInit, SsoCredentialsParameters } from "@aws-sdk/credential-provider-sso";
|
|
8
5
|
import { FromTokenFileInit } from "@aws-sdk/credential-provider-web-identity";
|
|
9
6
|
import { RemoteProviderInit } from "@smithy/credential-provider-imds";
|
|
10
7
|
import { AwsCredentialIdentity } from "@smithy/types";
|
|
@@ -16,11 +13,7 @@ export type DefaultProviderInit = FromIniInit &
|
|
|
16
13
|
(FromSSOInit & Partial<SsoCredentialsParameters>) &
|
|
17
14
|
FromTokenFileInit;
|
|
18
15
|
export declare const defaultProvider: (
|
|
19
|
-
init?: DefaultProviderInit
|
|
16
|
+
init?: DefaultProviderInit,
|
|
20
17
|
) => MemoizedRuntimeConfigAwsCredentialIdentityProvider;
|
|
21
|
-
export declare const credentialsWillNeedRefresh: (
|
|
22
|
-
|
|
23
|
-
) => boolean;
|
|
24
|
-
export declare const credentialsTreatedAsExpired: (
|
|
25
|
-
credentials: AwsCredentialIdentity
|
|
26
|
-
) => boolean;
|
|
18
|
+
export declare const credentialsWillNeedRefresh: (credentials: AwsCredentialIdentity) => boolean;
|
|
19
|
+
export declare const credentialsTreatedAsExpired: (credentials: AwsCredentialIdentity) => boolean;
|
|
@@ -3,5 +3,5 @@ import { RemoteProviderInit } from "@smithy/credential-provider-imds";
|
|
|
3
3
|
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
|
4
4
|
export declare const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
5
5
|
export declare const remoteProvider: (
|
|
6
|
-
init: RemoteProviderInit | FromHttpOptions
|
|
6
|
+
init: RemoteProviderInit | FromHttpOptions,
|
|
7
7
|
) => Promise<AwsCredentialIdentityProvider>;
|
|
@@ -7,13 +7,13 @@ export interface MemoizedRuntimeConfigAwsCredentialIdentityProvider {
|
|
|
7
7
|
(
|
|
8
8
|
options?: AwsIdentityProperties & {
|
|
9
9
|
forceRefresh?: boolean;
|
|
10
|
-
}
|
|
10
|
+
},
|
|
11
11
|
): Promise<AwsCredentialIdentity>;
|
|
12
12
|
}
|
|
13
13
|
export declare function memoizeChain(
|
|
14
14
|
providers: RuntimeConfigAwsCredentialIdentityProvider[],
|
|
15
|
-
treatAsExpired: (resolved: AwsCredentialIdentity) => boolean
|
|
15
|
+
treatAsExpired: (resolved: AwsCredentialIdentity) => boolean,
|
|
16
16
|
): MemoizedRuntimeConfigAwsCredentialIdentityProvider;
|
|
17
17
|
export declare const internalCreateChain: (
|
|
18
|
-
providers: RuntimeConfigAwsCredentialIdentityProvider[]
|
|
18
|
+
providers: RuntimeConfigAwsCredentialIdentityProvider[],
|
|
19
19
|
) => RuntimeConfigAwsCredentialIdentityProvider;
|
package/package.json
CHANGED
|
@@ -1,12 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.69",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"aws",
|
|
7
|
+
"credentials"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-node",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"author": {
|
|
12
|
+
"name": "AWS SDK for JavaScript Team",
|
|
13
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
18
|
+
"directory": "packages-internal/credential-provider-node"
|
|
7
19
|
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist-*/**"
|
|
22
|
+
],
|
|
23
|
+
"sideEffects": false,
|
|
8
24
|
"main": "./dist-cjs/index.js",
|
|
9
25
|
"module": "./dist-es/index.js",
|
|
26
|
+
"types": "./dist-types/index.d.ts",
|
|
27
|
+
"typesVersions": {
|
|
28
|
+
"<4.5": {
|
|
29
|
+
"dist-types/*": [
|
|
30
|
+
"dist-types/ts3.4/*"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
10
34
|
"scripts": {
|
|
11
35
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
12
36
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -20,26 +44,16 @@
|
|
|
20
44
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
21
45
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
22
46
|
},
|
|
23
|
-
"keywords": [
|
|
24
|
-
"aws",
|
|
25
|
-
"credentials"
|
|
26
|
-
],
|
|
27
|
-
"sideEffects": false,
|
|
28
|
-
"author": {
|
|
29
|
-
"name": "AWS SDK for JavaScript Team",
|
|
30
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
31
|
-
},
|
|
32
|
-
"license": "Apache-2.0",
|
|
33
47
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "^3.973.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "^3.973.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
40
|
-
"@aws-sdk/types": "^3.974.
|
|
41
|
-
"@smithy/core": "^3.29.
|
|
42
|
-
"@smithy/credential-provider-imds": "^4.4.
|
|
48
|
+
"@aws-sdk/credential-provider-env": "^3.972.59",
|
|
49
|
+
"@aws-sdk/credential-provider-http": "^3.972.61",
|
|
50
|
+
"@aws-sdk/credential-provider-ini": "^3.973.3",
|
|
51
|
+
"@aws-sdk/credential-provider-process": "^3.972.59",
|
|
52
|
+
"@aws-sdk/credential-provider-sso": "^3.973.3",
|
|
53
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.65",
|
|
54
|
+
"@aws-sdk/types": "^3.974.2",
|
|
55
|
+
"@smithy/core": "^3.29.4",
|
|
56
|
+
"@smithy/credential-provider-imds": "^4.4.9",
|
|
43
57
|
"@smithy/types": "^4.16.1",
|
|
44
58
|
"tslib": "^2.6.2"
|
|
45
59
|
},
|
|
@@ -51,21 +65,7 @@
|
|
|
51
65
|
"premove": "4.0.0",
|
|
52
66
|
"typescript": "~5.8.3"
|
|
53
67
|
},
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
"<4.5": {
|
|
57
|
-
"dist-types/*": [
|
|
58
|
-
"dist-types/ts3.4/*"
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"files": [
|
|
63
|
-
"dist-*/**"
|
|
64
|
-
],
|
|
65
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-node",
|
|
66
|
-
"repository": {
|
|
67
|
-
"type": "git",
|
|
68
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
69
|
-
"directory": "packages-internal/credential-provider-node"
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=20.0.0"
|
|
70
70
|
}
|
|
71
71
|
}
|