@cdk8s/awscdk-resolver 0.0.216 → 0.0.218
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +14 -14
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +8 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/package.json +13 -13
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -8
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/fromProcess.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +4 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +4 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +10 -10
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -10
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +6 -6
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.714.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
@@ -20,17 +20,17 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
23
|
-
"@aws-sdk/core": "3.
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
30
|
-
"@aws-sdk/types": "3.
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
23
|
+
"@aws-sdk/core": "3.714.0",
|
24
|
+
"@aws-sdk/credential-provider-node": "3.714.0",
|
25
|
+
"@aws-sdk/middleware-host-header": "3.714.0",
|
26
|
+
"@aws-sdk/middleware-logger": "3.714.0",
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.714.0",
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.714.0",
|
29
|
+
"@aws-sdk/region-config-resolver": "3.714.0",
|
30
|
+
"@aws-sdk/types": "3.714.0",
|
31
|
+
"@aws-sdk/util-endpoints": "3.714.0",
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.714.0",
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.714.0",
|
34
34
|
"@smithy/config-resolver": "^3.0.13",
|
35
35
|
"@smithy/core": "^2.5.5",
|
36
36
|
"@smithy/fetch-http-handler": "^4.1.2",
|
@@ -85,7 +85,7 @@
|
|
85
85
|
},
|
86
86
|
"license": "Apache-2.0",
|
87
87
|
"peerDependencies": {
|
88
|
-
"@aws-sdk/client-sts": "^3.
|
88
|
+
"@aws-sdk/client-sts": "^3.714.0"
|
89
89
|
},
|
90
90
|
"browser": {
|
91
91
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
@@ -24,6 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
24
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
25
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
26
26
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
27
|
+
const profileConfig = { profile: config?.profile };
|
27
28
|
return {
|
28
29
|
...clientSharedValues,
|
29
30
|
...config,
|
@@ -46,19 +47,20 @@ const getRuntimeConfig = (config) => {
|
|
46
47
|
signer: new core_2.NoAuthSigner(),
|
47
48
|
},
|
48
49
|
],
|
49
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
50
|
-
region: config?.region ??
|
50
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
51
|
+
region: config?.region ??
|
52
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
51
53
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
52
54
|
retryMode: config?.retryMode ??
|
53
55
|
(0, node_config_provider_1.loadConfig)({
|
54
56
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
55
57
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
56
|
-
}),
|
58
|
+
}, config),
|
57
59
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
58
60
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
59
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
60
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
61
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
61
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
62
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
63
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
62
64
|
};
|
63
65
|
};
|
64
66
|
exports.getRuntimeConfig = getRuntimeConfig;
|
@@ -20,6 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
20
20
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
21
21
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
22
22
|
awsCheckVersion(process.version);
|
23
|
+
const profileConfig = { profile: config?.profile };
|
23
24
|
return {
|
24
25
|
...clientSharedValues,
|
25
26
|
...config,
|
@@ -42,18 +43,19 @@ export const getRuntimeConfig = (config) => {
|
|
42
43
|
signer: new NoAuthSigner(),
|
43
44
|
},
|
44
45
|
],
|
45
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
46
|
-
region: config?.region ??
|
46
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
47
|
+
region: config?.region ??
|
48
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
47
49
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
48
50
|
retryMode: config?.retryMode ??
|
49
51
|
loadNodeConfig({
|
50
52
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
51
53
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
52
|
-
}),
|
54
|
+
}, config),
|
53
55
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
54
56
|
streamCollector: config?.streamCollector ?? streamCollector,
|
55
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
56
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
57
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
57
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
58
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
59
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
58
60
|
};
|
59
61
|
};
|
@@ -103,6 +103,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
103
103
|
* The AWS region to which this client will send requests
|
104
104
|
*/
|
105
105
|
region?: string | __Provider<string>;
|
106
|
+
/**
|
107
|
+
* Setting a client profile is similar to setting a value for the
|
108
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
109
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
110
|
+
*
|
111
|
+
* When set, and only for environments where an AWS configuration
|
112
|
+
* file exists, fields configurable by this file will be retrieved
|
113
|
+
* from the specified profile within that file.
|
114
|
+
* Conflicting code configuration and environment variables will
|
115
|
+
* still have higher priority.
|
116
|
+
*
|
117
|
+
* For client credential resolution that involves checking the AWS
|
118
|
+
* configuration file, the client's profile (this value) will be
|
119
|
+
* used unless a different profile is set in the credential
|
120
|
+
* provider options.
|
121
|
+
*
|
122
|
+
*/
|
123
|
+
profile?: string;
|
106
124
|
/**
|
107
125
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
108
126
|
* @internal
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
26
26
|
utf8Encoder: (input: string | Uint8Array) => string;
|
27
27
|
disableHostPrefix: boolean;
|
28
28
|
serviceId: string;
|
29
|
+
profile?: string | undefined;
|
29
30
|
logger: import("@smithy/types").Logger;
|
30
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
@@ -34,6 +34,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
34
34
|
utf8Encoder: (input: string | Uint8Array) => string;
|
35
35
|
disableHostPrefix: boolean;
|
36
36
|
serviceId: string;
|
37
|
+
profile?: string | undefined;
|
37
38
|
logger: import("@smithy/types").Logger;
|
38
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
39
40
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
23
|
+
profile?: string | undefined;
|
23
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
24
25
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
25
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
@@ -125,6 +125,7 @@ export interface ClientDefaults
|
|
125
125
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
126
126
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
127
127
|
region?: string | __Provider<string>;
|
128
|
+
profile?: string;
|
128
129
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
129
130
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
130
131
|
maxAttempts?: number | __Provider<number>;
|
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
33
33
|
utf8Encoder: (input: string | Uint8Array) => string;
|
34
34
|
disableHostPrefix: boolean;
|
35
35
|
serviceId: string;
|
36
|
+
profile?: string | undefined;
|
36
37
|
logger: import("@smithy/types").Logger;
|
37
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
38
39
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
@@ -53,6 +53,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
53
53
|
utf8Encoder: (input: string | Uint8Array) => string;
|
54
54
|
disableHostPrefix: boolean;
|
55
55
|
serviceId: string;
|
56
|
+
profile?: string | undefined;
|
56
57
|
logger: import("@smithy/types").Logger;
|
57
58
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
58
59
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
25
|
+
profile?: string | undefined;
|
25
26
|
defaultUserAgentProvider: (
|
26
27
|
config?:
|
27
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sts",
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.714.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sts",
|
@@ -22,18 +22,18 @@
|
|
22
22
|
"dependencies": {
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
26
|
-
"@aws-sdk/core": "3.
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
33
|
-
"@aws-sdk/types": "3.
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.714.0",
|
26
|
+
"@aws-sdk/core": "3.714.0",
|
27
|
+
"@aws-sdk/credential-provider-node": "3.714.0",
|
28
|
+
"@aws-sdk/middleware-host-header": "3.714.0",
|
29
|
+
"@aws-sdk/middleware-logger": "3.714.0",
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.714.0",
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.714.0",
|
32
|
+
"@aws-sdk/region-config-resolver": "3.714.0",
|
33
|
+
"@aws-sdk/types": "3.714.0",
|
34
|
+
"@aws-sdk/util-endpoints": "3.714.0",
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.714.0",
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.714.0",
|
37
37
|
"@smithy/config-resolver": "^3.0.13",
|
38
38
|
"@smithy/core": "^2.5.5",
|
39
39
|
"@smithy/fetch-http-handler": "^4.1.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.714.0",
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
@@ -81,7 +81,7 @@
|
|
81
81
|
},
|
82
82
|
"license": "Apache-2.0",
|
83
83
|
"dependencies": {
|
84
|
-
"@aws-sdk/types": "3.
|
84
|
+
"@aws-sdk/types": "3.714.0",
|
85
85
|
"@smithy/core": "^2.5.5",
|
86
86
|
"@smithy/node-config-provider": "^3.1.12",
|
87
87
|
"@smithy/property-provider": "^3.1.11",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.714.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,8 +25,8 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
28
|
+
"@aws-sdk/core": "3.714.0",
|
29
|
+
"@aws-sdk/types": "3.714.0",
|
30
30
|
"@smithy/property-provider": "^3.1.11",
|
31
31
|
"@smithy/types": "^3.7.2",
|
32
32
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.714.0",
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
30
|
+
"@aws-sdk/core": "3.714.0",
|
31
|
+
"@aws-sdk/types": "3.714.0",
|
32
32
|
"@smithy/fetch-http-handler": "^4.1.2",
|
33
33
|
"@smithy/node-http-handler": "^3.3.2",
|
34
34
|
"@smithy/property-provider": "^3.1.11",
|
@@ -257,17 +257,21 @@ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, op
|
|
257
257
|
var fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {
|
258
258
|
var _a;
|
259
259
|
const init = {
|
260
|
-
..._init
|
261
|
-
|
262
|
-
|
263
|
-
init.parentClientConfig = {
|
264
|
-
region: callerClientConfig.region,
|
260
|
+
..._init,
|
261
|
+
parentClientConfig: {
|
262
|
+
...callerClientConfig,
|
265
263
|
..._init.parentClientConfig
|
266
|
-
}
|
267
|
-
}
|
264
|
+
}
|
265
|
+
};
|
268
266
|
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - fromIni");
|
269
267
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
270
|
-
return resolveProfileData(
|
268
|
+
return resolveProfileData(
|
269
|
+
(0, import_shared_ini_file_loader.getProfileName)({
|
270
|
+
profile: _init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
|
271
|
+
}),
|
272
|
+
profiles,
|
273
|
+
init
|
274
|
+
);
|
271
275
|
}, "fromIni");
|
272
276
|
// Annotate the CommonJS export names for ESM import in node:
|
273
277
|
|
@@ -3,14 +3,14 @@ import { resolveProfileData } from "./resolveProfileData";
|
|
3
3
|
export const fromIni = (_init = {}) => async ({ callerClientConfig } = {}) => {
|
4
4
|
const init = {
|
5
5
|
..._init,
|
6
|
-
|
7
|
-
|
8
|
-
init.parentClientConfig = {
|
9
|
-
region: callerClientConfig.region,
|
6
|
+
parentClientConfig: {
|
7
|
+
...callerClientConfig,
|
10
8
|
..._init.parentClientConfig,
|
11
|
-
}
|
12
|
-
}
|
9
|
+
},
|
10
|
+
};
|
13
11
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
14
12
|
const profiles = await parseKnownFiles(init);
|
15
|
-
return resolveProfileData(getProfileName(
|
13
|
+
return resolveProfileData(getProfileName({
|
14
|
+
profile: _init.profile ?? callerClientConfig?.profile,
|
15
|
+
}), profiles, init);
|
16
16
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.714.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,13 +27,13 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
36
|
-
"@aws-sdk/types": "3.
|
30
|
+
"@aws-sdk/core": "3.714.0",
|
31
|
+
"@aws-sdk/credential-provider-env": "3.714.0",
|
32
|
+
"@aws-sdk/credential-provider-http": "3.714.0",
|
33
|
+
"@aws-sdk/credential-provider-process": "3.714.0",
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.714.0",
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.714.0",
|
36
|
+
"@aws-sdk/types": "3.714.0",
|
37
37
|
"@smithy/credential-provider-imds": "^3.2.8",
|
38
38
|
"@smithy/property-provider": "^3.1.11",
|
39
39
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"typescript": "~4.9.5"
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
52
|
-
"@aws-sdk/client-sts": "^3.
|
52
|
+
"@aws-sdk/client-sts": "^3.714.0"
|
53
53
|
},
|
54
54
|
"types": "./dist-types/index.d.ts",
|
55
55
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.714.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
5
5
|
"engines": {
|
6
6
|
"node": ">=16.0.0"
|
@@ -29,13 +29,13 @@
|
|
29
29
|
},
|
30
30
|
"license": "Apache-2.0",
|
31
31
|
"dependencies": {
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
38
|
-
"@aws-sdk/types": "3.
|
32
|
+
"@aws-sdk/credential-provider-env": "3.714.0",
|
33
|
+
"@aws-sdk/credential-provider-http": "3.714.0",
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.714.0",
|
35
|
+
"@aws-sdk/credential-provider-process": "3.714.0",
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.714.0",
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.714.0",
|
38
|
+
"@aws-sdk/types": "3.714.0",
|
39
39
|
"@smithy/credential-provider-imds": "^3.2.8",
|
40
40
|
"@smithy/property-provider": "^3.1.11",
|
41
41
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
@@ -96,11 +96,17 @@ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profi
|
|
96
96
|
}, "resolveProcessCredentials");
|
97
97
|
|
98
98
|
// src/fromProcess.ts
|
99
|
-
var fromProcess = /* @__PURE__ */ __name((init = {}) => async () => {
|
99
|
+
var fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
|
100
100
|
var _a;
|
101
101
|
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-process - fromProcess");
|
102
102
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
103
|
-
return resolveProcessCredentials(
|
103
|
+
return resolveProcessCredentials(
|
104
|
+
(0, import_shared_ini_file_loader.getProfileName)({
|
105
|
+
profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
|
106
|
+
}),
|
107
|
+
profiles,
|
108
|
+
init.logger
|
109
|
+
);
|
104
110
|
}, "fromProcess");
|
105
111
|
// Annotate the CommonJS export names for ESM import in node:
|
106
112
|
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
|
2
2
|
import { resolveProcessCredentials } from "./resolveProcessCredentials";
|
3
|
-
export const fromProcess = (init = {}) => async () => {
|
3
|
+
export const fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
|
4
4
|
init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
|
5
5
|
const profiles = await parseKnownFiles(init);
|
6
|
-
return resolveProcessCredentials(getProfileName(
|
6
|
+
return resolveProcessCredentials(getProfileName({
|
7
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
8
|
+
}), profiles, init.logger);
|
7
9
|
};
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
1
|
+
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
4
3
|
/**
|
5
4
|
* @internal
|
6
5
|
*/
|
@@ -12,4 +11,4 @@ export interface FromProcessInit extends SourceProfileInit, CredentialProviderOp
|
|
12
11
|
* Creates a credential provider that will read from a credential_process specified
|
13
12
|
* in ini files.
|
14
13
|
*/
|
15
|
-
export declare const fromProcess: (init?: FromProcessInit) =>
|
14
|
+
export declare const fromProcess: (init?: FromProcessInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
@@ -1,9 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import {
|
2
|
+
CredentialProviderOptions,
|
3
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
4
|
+
} from "@aws-sdk/types";
|
2
5
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
4
6
|
export interface FromProcessInit
|
5
7
|
extends SourceProfileInit,
|
6
8
|
CredentialProviderOptions {}
|
7
9
|
export declare const fromProcess: (
|
8
10
|
init?: FromProcessInit
|
9
|
-
) =>
|
11
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.714.0",
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,8 +25,8 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
28
|
+
"@aws-sdk/core": "3.714.0",
|
29
|
+
"@aws-sdk/types": "3.714.0",
|
30
30
|
"@smithy/property-provider": "^3.1.11",
|
31
31
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
32
32
|
"@smithy/types": "^3.7.2",
|
@@ -165,12 +165,14 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
165
165
|
}, "validateSsoProfile");
|
166
166
|
|
167
167
|
// src/fromSSO.ts
|
168
|
-
var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => {
|
168
|
+
var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
|
169
169
|
var _a;
|
170
170
|
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
171
171
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
172
172
|
const { ssoClient } = init;
|
173
|
-
const profileName = (0, import_shared_ini_file_loader.getProfileName)(
|
173
|
+
const profileName = (0, import_shared_ini_file_loader.getProfileName)({
|
174
|
+
profile: init.profile ?? (callerClientConfig == null ? void 0 : callerClientConfig.profile)
|
175
|
+
});
|
174
176
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
175
177
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
176
178
|
const profile = profiles[profileName];
|
@@ -3,11 +3,13 @@ import { getProfileName, loadSsoSessionData, parseKnownFiles } from "@smithy/sha
|
|
3
3
|
import { isSsoProfile } from "./isSsoProfile";
|
4
4
|
import { resolveSSOCredentials } from "./resolveSSOCredentials";
|
5
5
|
import { validateSsoProfile } from "./validateSsoProfile";
|
6
|
-
export const fromSSO = (init = {}) => async () => {
|
6
|
+
export const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
7
7
|
init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
8
8
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
9
9
|
const { ssoClient } = init;
|
10
|
-
const profileName = getProfileName(
|
10
|
+
const profileName = getProfileName({
|
11
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
12
|
+
});
|
11
13
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
12
14
|
const profiles = await parseKnownFiles(init);
|
13
15
|
const profile = profiles[profileName];
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
1
|
+
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
4
3
|
import type { SSOClient, SSOClientConfig } from "./loadSso";
|
5
4
|
/**
|
6
5
|
* @internal
|
@@ -66,4 +65,4 @@ export interface FromSSOInit extends SourceProfileInit, CredentialProviderOption
|
|
66
65
|
* sso_start_url = https://www.....com/start
|
67
66
|
* ```
|
68
67
|
*/
|
69
|
-
export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) =>
|
68
|
+
export declare const fromSSO: (init?: FromSSOInit & Partial<SsoCredentialsParameters>) => RuntimeConfigAwsCredentialIdentityProvider;
|
@@ -1,6 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import {
|
2
|
+
CredentialProviderOptions,
|
3
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
4
|
+
} from "@aws-sdk/types";
|
2
5
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
3
|
-
import { AwsCredentialIdentityProvider } from "@smithy/types";
|
4
6
|
import { SSOClient, SSOClientConfig } from "./loadSso";
|
5
7
|
export interface SsoCredentialsParameters {
|
6
8
|
ssoStartUrl: string;
|
@@ -17,4 +19,4 @@ export interface FromSSOInit
|
|
17
19
|
}
|
18
20
|
export declare const fromSSO: (
|
19
21
|
init?: FromSSOInit & Partial<SsoCredentialsParameters>
|
20
|
-
) =>
|
22
|
+
) => RuntimeConfigAwsCredentialIdentityProvider;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.714.0",
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,10 +25,10 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/client-sso": "3.
|
29
|
-
"@aws-sdk/core": "3.
|
30
|
-
"@aws-sdk/token-providers": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
28
|
+
"@aws-sdk/client-sso": "3.714.0",
|
29
|
+
"@aws-sdk/core": "3.714.0",
|
30
|
+
"@aws-sdk/token-providers": "3.714.0",
|
31
|
+
"@aws-sdk/types": "3.714.0",
|
32
32
|
"@smithy/property-provider": "^3.1.11",
|
33
33
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
34
34
|
"@smithy/types": "^3.7.2",
|
@@ -33,14 +33,10 @@ const fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
33
33
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
34
34
|
...init.clientConfig,
|
35
35
|
credentialProviderLogger: init.logger,
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
...init.parentClientConfig,
|
41
|
-
},
|
42
|
-
}
|
43
|
-
: {}),
|
36
|
+
parentClientConfig: {
|
37
|
+
...awsIdentityProperties?.callerClientConfig,
|
38
|
+
...init.parentClientConfig,
|
39
|
+
},
|
44
40
|
}, init.clientPlugins);
|
45
41
|
}
|
46
42
|
return roleAssumerWithWebIdentity({
|