@cdk8s/awscdk-resolver 0.0.429 → 0.0.430
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/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +22 -24
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +3 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-login/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -13
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/package.json +10 -8
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +11 -3
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +10 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-es/client.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +3 -3
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://aws.amazon.com"
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
10
|
+
"@aws-sdk/client-cloudformation": "^3.952.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"aws-cdk-lib": "^2.195.0",
|
|
@@ -4082,6 +4082,6 @@
|
|
|
4082
4082
|
"symbolId": "src/resolve:AwsCdkResolver"
|
|
4083
4083
|
}
|
|
4084
4084
|
},
|
|
4085
|
-
"version": "0.0.
|
|
4086
|
-
"fingerprint": "
|
|
4085
|
+
"version": "0.0.430",
|
|
4086
|
+
"fingerprint": "+HTpieIslbY/+kY8IgSqBvMKF+uXuzcgcnQC07ITJqI="
|
|
4087
4087
|
}
|
package/lib/resolve.js
CHANGED
|
@@ -61,5 +61,5 @@ class AwsCdkResolver {
|
|
|
61
61
|
}
|
|
62
62
|
exports.AwsCdkResolver = AwsCdkResolver;
|
|
63
63
|
_a = JSII_RTTI_SYMBOL_1;
|
|
64
|
-
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
|
64
|
+
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.430" };
|
|
65
65
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQUM7UUFFRCxJQUFJLE9BQU8sT0FBTyxDQUFDLEtBQUssS0FBSyxRQUFRLEVBQUUsQ0FBQztZQUN0QywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSUFBSSxLQUFLLENBQUMsdUJBQXVCLE9BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLHNCQUFzQixDQUFDLENBQUM7UUFDdEYsQ0FBQztRQUVELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzlDLElBQ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MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.952.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-cloudformation",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.947.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.952.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.948.0",
|
|
@@ -57,7 +57,7 @@ const isCredentialSourceProfile = (arg, { profile, logger }) => {
|
|
|
57
57
|
}
|
|
58
58
|
return withProviderProfile;
|
|
59
59
|
};
|
|
60
|
-
const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}, resolveProfileData) => {
|
|
60
|
+
const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => {
|
|
61
61
|
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
62
62
|
const profileData = profiles[profileName];
|
|
63
63
|
const { source_profile, region } = profileData;
|
|
@@ -67,8 +67,9 @@ const resolveAssumeRoleCredentials = async (profileName, profiles, options, visi
|
|
|
67
67
|
...options.clientConfig,
|
|
68
68
|
credentialProviderLogger: options.logger,
|
|
69
69
|
parentClientConfig: {
|
|
70
|
+
...callerClientConfig,
|
|
70
71
|
...options?.parentClientConfig,
|
|
71
|
-
region: region ?? options?.parentClientConfig?.region,
|
|
72
|
+
region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region,
|
|
72
73
|
},
|
|
73
74
|
}, options.clientPlugins);
|
|
74
75
|
}
|
|
@@ -79,7 +80,7 @@ const resolveAssumeRoleCredentials = async (profileName, profiles, options, visi
|
|
|
79
80
|
}
|
|
80
81
|
options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
|
|
81
82
|
const sourceCredsProvider = source_profile
|
|
82
|
-
? resolveProfileData(source_profile, profiles, options, {
|
|
83
|
+
? resolveProfileData(source_profile, profiles, options, callerClientConfig, {
|
|
83
84
|
...visitedProfiles,
|
|
84
85
|
[source_profile]: true,
|
|
85
86
|
}, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
|
|
@@ -113,11 +114,11 @@ const isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
113
114
|
const isLoginProfile = (data) => {
|
|
114
115
|
return Boolean(data && data.login_session);
|
|
115
116
|
};
|
|
116
|
-
const resolveLoginCredentials = async (profileName, options) => {
|
|
117
|
+
const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
117
118
|
const credentials = await credentialProviderLogin.fromLoginCredentials({
|
|
118
119
|
...options,
|
|
119
120
|
profile: profileName,
|
|
120
|
-
})();
|
|
121
|
+
})({ callerClientConfig });
|
|
121
122
|
return client.setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
122
123
|
};
|
|
123
124
|
|
|
@@ -127,14 +128,16 @@ const resolveProcessCredentials = async (options, profile) => import('@aws-sdk/c
|
|
|
127
128
|
profile,
|
|
128
129
|
})().then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
129
130
|
|
|
130
|
-
const resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
131
|
+
const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
131
132
|
const { fromSSO } = await import('@aws-sdk/credential-provider-sso');
|
|
132
133
|
return fromSSO({
|
|
133
134
|
profile,
|
|
134
135
|
logger: options.logger,
|
|
135
136
|
parentClientConfig: options.parentClientConfig,
|
|
136
137
|
clientConfig: options.clientConfig,
|
|
137
|
-
})(
|
|
138
|
+
})({
|
|
139
|
+
callerClientConfig,
|
|
140
|
+
}).then((creds) => {
|
|
138
141
|
if (profileData.sso_session) {
|
|
139
142
|
return client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r");
|
|
140
143
|
}
|
|
@@ -173,54 +176,49 @@ const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
173
176
|
typeof arg.web_identity_token_file === "string" &&
|
|
174
177
|
typeof arg.role_arn === "string" &&
|
|
175
178
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
176
|
-
const resolveWebIdentityCredentials = async (profile, options) => import('@aws-sdk/credential-provider-web-identity').then(({ fromTokenFile }) => fromTokenFile({
|
|
179
|
+
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('@aws-sdk/credential-provider-web-identity').then(({ fromTokenFile }) => fromTokenFile({
|
|
177
180
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
178
181
|
roleArn: profile.role_arn,
|
|
179
182
|
roleSessionName: profile.role_session_name,
|
|
180
183
|
roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,
|
|
181
184
|
logger: options.logger,
|
|
182
185
|
parentClientConfig: options.parentClientConfig,
|
|
183
|
-
})(
|
|
186
|
+
})({
|
|
187
|
+
callerClientConfig,
|
|
188
|
+
}).then((creds) => client.setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")));
|
|
184
189
|
|
|
185
|
-
const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
190
|
+
const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
186
191
|
const data = profiles[profileName];
|
|
187
192
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
188
193
|
return resolveStaticCredentials(data, options);
|
|
189
194
|
}
|
|
190
195
|
if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
|
|
191
|
-
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles, resolveProfileData);
|
|
196
|
+
return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData);
|
|
192
197
|
}
|
|
193
198
|
if (isStaticCredsProfile(data)) {
|
|
194
199
|
return resolveStaticCredentials(data, options);
|
|
195
200
|
}
|
|
196
201
|
if (isWebIdentityProfile(data)) {
|
|
197
|
-
return resolveWebIdentityCredentials(data, options);
|
|
202
|
+
return resolveWebIdentityCredentials(data, options, callerClientConfig);
|
|
198
203
|
}
|
|
199
204
|
if (isProcessProfile(data)) {
|
|
200
205
|
return resolveProcessCredentials(options, profileName);
|
|
201
206
|
}
|
|
202
207
|
if (isSsoProfile(data)) {
|
|
203
|
-
return await resolveSsoCredentials(profileName, data, options);
|
|
208
|
+
return await resolveSsoCredentials(profileName, data, options, callerClientConfig);
|
|
204
209
|
}
|
|
205
210
|
if (isLoginProfile(data)) {
|
|
206
|
-
return resolveLoginCredentials(profileName, options);
|
|
211
|
+
return resolveLoginCredentials(profileName, options, callerClientConfig);
|
|
207
212
|
}
|
|
208
213
|
throw new propertyProvider.CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
209
214
|
};
|
|
210
215
|
|
|
211
|
-
const fromIni = (
|
|
212
|
-
const init = {
|
|
213
|
-
..._init,
|
|
214
|
-
parentClientConfig: {
|
|
215
|
-
...callerClientConfig,
|
|
216
|
-
..._init.parentClientConfig,
|
|
217
|
-
},
|
|
218
|
-
};
|
|
216
|
+
const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
219
217
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
220
218
|
const profiles = await sharedIniFileLoader.parseKnownFiles(init);
|
|
221
219
|
return resolveProfileData(sharedIniFileLoader.getProfileName({
|
|
222
|
-
profile:
|
|
223
|
-
}), profiles, init);
|
|
220
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
|
221
|
+
}), profiles, init, callerClientConfig);
|
|
224
222
|
};
|
|
225
223
|
|
|
226
224
|
exports.fromIni = fromIni;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import { getProfileName, parseKnownFiles } from "@smithy/shared-ini-file-loader";
|
|
2
2
|
import { resolveProfileData } from "./resolveProfileData";
|
|
3
|
-
export const fromIni = (
|
|
4
|
-
const init = {
|
|
5
|
-
..._init,
|
|
6
|
-
parentClientConfig: {
|
|
7
|
-
...callerClientConfig,
|
|
8
|
-
..._init.parentClientConfig,
|
|
9
|
-
},
|
|
10
|
-
};
|
|
3
|
+
export const fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
11
4
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
12
5
|
const profiles = await parseKnownFiles(init);
|
|
13
6
|
return resolveProfileData(getProfileName({
|
|
14
|
-
profile:
|
|
15
|
-
}), profiles, init);
|
|
7
|
+
profile: init.profile ?? callerClientConfig?.profile,
|
|
8
|
+
}), profiles, init, callerClientConfig);
|
|
16
9
|
};
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
CHANGED
|
@@ -25,7 +25,7 @@ const isCredentialSourceProfile = (arg, { profile, logger }) => {
|
|
|
25
25
|
}
|
|
26
26
|
return withProviderProfile;
|
|
27
27
|
};
|
|
28
|
-
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}, resolveProfileData) => {
|
|
28
|
+
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, resolveProfileData) => {
|
|
29
29
|
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
30
30
|
const profileData = profiles[profileName];
|
|
31
31
|
const { source_profile, region } = profileData;
|
|
@@ -35,8 +35,9 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
|
|
|
35
35
|
...options.clientConfig,
|
|
36
36
|
credentialProviderLogger: options.logger,
|
|
37
37
|
parentClientConfig: {
|
|
38
|
+
...callerClientConfig,
|
|
38
39
|
...options?.parentClientConfig,
|
|
39
|
-
region: region ?? options?.parentClientConfig?.region,
|
|
40
|
+
region: region ?? options?.parentClientConfig?.region ?? callerClientConfig?.region,
|
|
40
41
|
},
|
|
41
42
|
}, options.clientPlugins);
|
|
42
43
|
}
|
|
@@ -47,7 +48,7 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
|
|
|
47
48
|
}
|
|
48
49
|
options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
|
|
49
50
|
const sourceCredsProvider = source_profile
|
|
50
|
-
? resolveProfileData(source_profile, profiles, options, {
|
|
51
|
+
? resolveProfileData(source_profile, profiles, options, callerClientConfig, {
|
|
51
52
|
...visitedProfiles,
|
|
52
53
|
[source_profile]: true,
|
|
53
54
|
}, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
|
|
@@ -3,10 +3,10 @@ import { fromLoginCredentials } from "@aws-sdk/credential-provider-login";
|
|
|
3
3
|
export const isLoginProfile = (data) => {
|
|
4
4
|
return Boolean(data && data.login_session);
|
|
5
5
|
};
|
|
6
|
-
export const resolveLoginCredentials = async (profileName, options) => {
|
|
6
|
+
export const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
7
7
|
const credentials = await fromLoginCredentials({
|
|
8
8
|
...options,
|
|
9
9
|
profile: profileName,
|
|
10
|
-
})();
|
|
10
|
+
})({ callerClientConfig });
|
|
11
11
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
12
12
|
};
|
|
@@ -5,28 +5,28 @@ import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCre
|
|
|
5
5
|
import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials";
|
|
6
6
|
import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials";
|
|
7
7
|
import { isWebIdentityProfile, resolveWebIdentityCredentials } from "./resolveWebIdentityCredentials";
|
|
8
|
-
export const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
8
|
+
export const resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
9
9
|
const data = profiles[profileName];
|
|
10
10
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
11
11
|
return resolveStaticCredentials(data, options);
|
|
12
12
|
}
|
|
13
13
|
if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
|
|
14
|
-
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles, resolveProfileData);
|
|
14
|
+
return resolveAssumeRoleCredentials(profileName, profiles, options, callerClientConfig, visitedProfiles, resolveProfileData);
|
|
15
15
|
}
|
|
16
16
|
if (isStaticCredsProfile(data)) {
|
|
17
17
|
return resolveStaticCredentials(data, options);
|
|
18
18
|
}
|
|
19
19
|
if (isWebIdentityProfile(data)) {
|
|
20
|
-
return resolveWebIdentityCredentials(data, options);
|
|
20
|
+
return resolveWebIdentityCredentials(data, options, callerClientConfig);
|
|
21
21
|
}
|
|
22
22
|
if (isProcessProfile(data)) {
|
|
23
23
|
return resolveProcessCredentials(options, profileName);
|
|
24
24
|
}
|
|
25
25
|
if (isSsoProfile(data)) {
|
|
26
|
-
return await resolveSsoCredentials(profileName, data, options);
|
|
26
|
+
return await resolveSsoCredentials(profileName, data, options, callerClientConfig);
|
|
27
27
|
}
|
|
28
28
|
if (isLoginProfile(data)) {
|
|
29
|
-
return resolveLoginCredentials(profileName, options);
|
|
29
|
+
return resolveLoginCredentials(profileName, options, callerClientConfig);
|
|
30
30
|
}
|
|
31
31
|
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
32
32
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
|
-
export const resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
2
|
+
export const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
3
3
|
const { fromSSO } = await import("@aws-sdk/credential-provider-sso");
|
|
4
4
|
return fromSSO({
|
|
5
5
|
profile,
|
|
6
6
|
logger: options.logger,
|
|
7
7
|
parentClientConfig: options.parentClientConfig,
|
|
8
8
|
clientConfig: options.clientConfig,
|
|
9
|
-
})(
|
|
9
|
+
})({
|
|
10
|
+
callerClientConfig,
|
|
11
|
+
}).then((creds) => {
|
|
10
12
|
if (profileData.sso_session) {
|
|
11
13
|
return setCredentialFeature(creds, "CREDENTIALS_PROFILE_SSO", "r");
|
|
12
14
|
}
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
CHANGED
|
@@ -4,11 +4,13 @@ export const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
4
4
|
typeof arg.web_identity_token_file === "string" &&
|
|
5
5
|
typeof arg.role_arn === "string" &&
|
|
6
6
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
7
|
-
export const resolveWebIdentityCredentials = async (profile, options) => import("@aws-sdk/credential-provider-web-identity").then(({ fromTokenFile }) => fromTokenFile({
|
|
7
|
+
export const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("@aws-sdk/credential-provider-web-identity").then(({ fromTokenFile }) => fromTokenFile({
|
|
8
8
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
9
9
|
roleArn: profile.role_arn,
|
|
10
10
|
roleSessionName: profile.role_session_name,
|
|
11
11
|
roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity,
|
|
12
12
|
logger: options.logger,
|
|
13
13
|
parentClientConfig: options.parentClientConfig,
|
|
14
|
-
})(
|
|
14
|
+
})({
|
|
15
|
+
callerClientConfig,
|
|
16
|
+
}).then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
|
|
2
2
|
import type { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
3
|
-
import type { CredentialProviderOptions } from "@aws-sdk/types";
|
|
4
|
-
import type { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
3
|
+
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
5
4
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
6
5
|
import type { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
7
6
|
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
@@ -53,4 +52,4 @@ export interface FromIniInit extends SourceProfileInit, CredentialProviderOption
|
|
|
53
52
|
* Creates a credential provider that will read from ini files and supports
|
|
54
53
|
* role assumption and multi-factor authentication.
|
|
55
54
|
*/
|
|
56
|
-
export declare const fromIni: (
|
|
55
|
+
export declare const fromIni: (init?: FromIniInit) => RuntimeConfigAwsCredentialIdentityProvider;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { Logger, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
import type { ResolveProfileData } from "./resolveProfileData";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*
|
|
7
|
-
* @see
|
|
8
|
-
* TODO update the above to link to V3 docs
|
|
8
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/AssumeRoleCommand/
|
|
9
9
|
*/
|
|
10
10
|
export interface AssumeRoleParams {
|
|
11
11
|
/**
|
|
@@ -45,4 +45,4 @@ export declare const isAssumeRoleProfile: (arg: any, { profile, logger }?: {
|
|
|
45
45
|
/**
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
|
-
export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles: Record<string, true> | undefined, resolveProfileData: ResolveProfileData) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
48
|
+
export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, callerClientConfig: AwsIdentityProperties["callerClientConfig"] | undefined, visitedProfiles: Record<string, true> | undefined, resolveProfileData: ResolveProfileData) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import type { FromIniInit } from "./fromIni";
|
|
3
4
|
/**
|
|
@@ -7,4 +8,4 @@ export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
|
|
|
7
8
|
/**
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
|
-
export declare const resolveLoginCredentials: (profileName: string, options: FromIniInit) => Promise<AwsCredentialIdentity>;
|
|
11
|
+
export declare const resolveLoginCredentials: (profileName: string, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
/**
|
|
@@ -7,7 +8,7 @@ export type ResolveProfileData = typeof resolveProfileData;
|
|
|
7
8
|
/**
|
|
8
9
|
* @internal
|
|
9
10
|
*/
|
|
10
|
-
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>,
|
|
11
|
+
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"], visitedProfiles?: Record<string, true>,
|
|
11
12
|
/**
|
|
12
13
|
* This override comes from recursive calls only.
|
|
13
14
|
* It is used to flag a recursive profile section
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
|
2
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
2
3
|
import type { IniSection, Profile } from "@smithy/types";
|
|
3
4
|
import type { FromIniInit } from "./fromIni";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export declare const resolveSsoCredentials: (profile: string, profileData: IniSection, options?: FromIniInit) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
8
|
+
export declare const resolveSsoCredentials: (profile: string, profileData: IniSection, options?: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
8
9
|
/**
|
|
9
10
|
* @internal
|
|
10
11
|
* duplicated from \@aws-sdk/credential-provider-sso to defer import.
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
/**
|
|
@@ -15,4 +16,4 @@ export declare const isWebIdentityProfile: (arg: any) => arg is WebIdentityProfi
|
|
|
15
16
|
/**
|
|
16
17
|
* @internal
|
|
17
18
|
*/
|
|
18
|
-
export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit) => Promise<AwsCredentialIdentity>;
|
|
19
|
+
export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
|
|
2
2
|
import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
CredentialProviderOptions,
|
|
5
|
+
RuntimeConfigAwsCredentialIdentityProvider,
|
|
6
|
+
} from "@aws-sdk/types";
|
|
5
7
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
6
8
|
import { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
7
9
|
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
@@ -22,5 +24,5 @@ export interface FromIniInit
|
|
|
22
24
|
ignoreCache?: boolean;
|
|
23
25
|
}
|
|
24
26
|
export declare const fromIni: (
|
|
25
|
-
|
|
27
|
+
init?: FromIniInit
|
|
26
28
|
) => RuntimeConfigAwsCredentialIdentityProvider;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { Logger, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
import { ResolveProfileData } from "./resolveProfileData";
|
|
@@ -23,6 +24,7 @@ export declare const resolveAssumeRoleCredentials: (
|
|
|
23
24
|
profileName: string,
|
|
24
25
|
profiles: ParsedIniData,
|
|
25
26
|
options: FromIniInit,
|
|
27
|
+
callerClientConfig: AwsIdentityProperties["callerClientConfig"] | undefined,
|
|
26
28
|
visitedProfiles: Record<string, true> | undefined,
|
|
27
29
|
resolveProfileData: ResolveProfileData
|
|
28
30
|
) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
export declare const isLoginProfile: (data: ParsedIniData[string]) => boolean;
|
|
4
5
|
export declare const resolveLoginCredentials: (
|
|
5
6
|
profileName: string,
|
|
6
|
-
options: FromIniInit
|
|
7
|
+
options: FromIniInit,
|
|
8
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
|
|
7
9
|
) => Promise<AwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
export type ResolveProfileData = typeof resolveProfileData;
|
|
@@ -5,6 +6,7 @@ export declare const resolveProfileData: (
|
|
|
5
6
|
profileName: string,
|
|
6
7
|
profiles: ParsedIniData,
|
|
7
8
|
options: FromIniInit,
|
|
9
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"],
|
|
8
10
|
visitedProfiles?: Record<string, true>,
|
|
9
11
|
isAssumeRoleRecursiveCall?: boolean
|
|
10
12
|
) => Promise<AwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { SsoProfile } from "@aws-sdk/credential-provider-sso";
|
|
2
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
2
3
|
import { IniSection, Profile } from "@smithy/types";
|
|
3
4
|
import { FromIniInit } from "./fromIni";
|
|
4
5
|
export declare const resolveSsoCredentials: (
|
|
5
6
|
profile: string,
|
|
6
7
|
profileData: IniSection,
|
|
7
|
-
options?: FromIniInit
|
|
8
|
+
options?: FromIniInit,
|
|
9
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
|
|
8
10
|
) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
9
11
|
export declare const isSsoProfile: (arg: Profile) => arg is Partial<SsoProfile>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsIdentityProperties } from "@aws-sdk/types";
|
|
1
2
|
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
|
2
3
|
import { FromIniInit } from "./fromIni";
|
|
3
4
|
export interface WebIdentityProfile extends Profile {
|
|
@@ -10,5 +11,6 @@ export declare const isWebIdentityProfile: (
|
|
|
10
11
|
) => arg is WebIdentityProfile;
|
|
11
12
|
export declare const resolveWebIdentityCredentials: (
|
|
12
13
|
profile: WebIdentityProfile,
|
|
13
|
-
options: FromIniInit
|
|
14
|
+
options: FromIniInit,
|
|
15
|
+
callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
|
|
14
16
|
) => Promise<AwsCredentialIdentity>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.952.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",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@aws-sdk/core": "3.947.0",
|
|
32
32
|
"@aws-sdk/credential-provider-env": "3.947.0",
|
|
33
33
|
"@aws-sdk/credential-provider-http": "3.947.0",
|
|
34
|
-
"@aws-sdk/credential-provider-login": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-login": "3.952.0",
|
|
35
35
|
"@aws-sdk/credential-provider-process": "3.947.0",
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
38
|
-
"@aws-sdk/nested-clients": "3.
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.952.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.952.0",
|
|
38
|
+
"@aws-sdk/nested-clients": "3.952.0",
|
|
39
39
|
"@aws-sdk/types": "3.936.0",
|
|
40
40
|
"@smithy/credential-provider-imds": "^4.2.5",
|
|
41
41
|
"@smithy/property-provider": "^4.2.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.952.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@aws-sdk/core": "3.947.0",
|
|
32
|
-
"@aws-sdk/nested-clients": "3.
|
|
32
|
+
"@aws-sdk/nested-clients": "3.952.0",
|
|
33
33
|
"@aws-sdk/types": "3.936.0",
|
|
34
34
|
"@smithy/property-provider": "^4.2.5",
|
|
35
35
|
"@smithy/protocol-http": "^5.3.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.952.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@aws-sdk/credential-provider-env": "3.947.0",
|
|
35
35
|
"@aws-sdk/credential-provider-http": "3.947.0",
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.952.0",
|
|
37
37
|
"@aws-sdk/credential-provider-process": "3.947.0",
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.952.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.952.0",
|
|
40
40
|
"@aws-sdk/types": "3.936.0",
|
|
41
41
|
"@smithy/credential-provider-imds": "^4.2.5",
|
|
42
42
|
"@smithy/property-provider": "^4.2.5",
|
|
@@ -13,7 +13,7 @@ const isSsoProfile = (arg) => arg &&
|
|
|
13
13
|
typeof arg.sso_role_name === "string");
|
|
14
14
|
|
|
15
15
|
const SHOULD_FAIL_CREDENTIAL_CHAIN = false;
|
|
16
|
-
const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => {
|
|
16
|
+
const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger, }) => {
|
|
17
17
|
let token;
|
|
18
18
|
const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
|
|
19
19
|
if (ssoSession) {
|
|
@@ -57,9 +57,9 @@ const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ss
|
|
|
57
57
|
const { SSOClient, GetRoleCredentialsCommand } = await Promise.resolve().then(function () { return require('./loadSso-CVy8iqsZ.js'); });
|
|
58
58
|
const sso = ssoClient ||
|
|
59
59
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
60
|
-
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
60
|
+
logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
|
|
61
61
|
region: clientConfig?.region ?? ssoRegion,
|
|
62
|
-
userAgentAppId: clientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId,
|
|
62
|
+
userAgentAppId: clientConfig?.userAgentAppId ?? callerClientConfig?.userAgentAppId ?? parentClientConfig?.userAgentAppId,
|
|
63
63
|
}));
|
|
64
64
|
let ssoResp;
|
|
65
65
|
try {
|
|
@@ -155,6 +155,7 @@ const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
155
155
|
ssoClient: ssoClient,
|
|
156
156
|
clientConfig: init.clientConfig,
|
|
157
157
|
parentClientConfig: init.parentClientConfig,
|
|
158
|
+
callerClientConfig: init.callerClientConfig,
|
|
158
159
|
profile: profileName,
|
|
159
160
|
filepath: init.filepath,
|
|
160
161
|
configFilepath: init.configFilepath,
|
|
@@ -176,6 +177,7 @@ const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
176
177
|
ssoClient,
|
|
177
178
|
clientConfig: init.clientConfig,
|
|
178
179
|
parentClientConfig: init.parentClientConfig,
|
|
180
|
+
callerClientConfig: init.callerClientConfig,
|
|
179
181
|
profile: profileName,
|
|
180
182
|
filepath: init.filepath,
|
|
181
183
|
configFilepath: init.configFilepath,
|
|
@@ -50,6 +50,7 @@ export const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
50
50
|
ssoClient: ssoClient,
|
|
51
51
|
clientConfig: init.clientConfig,
|
|
52
52
|
parentClientConfig: init.parentClientConfig,
|
|
53
|
+
callerClientConfig: init.callerClientConfig,
|
|
53
54
|
profile: profileName,
|
|
54
55
|
filepath: init.filepath,
|
|
55
56
|
configFilepath: init.configFilepath,
|
|
@@ -71,6 +72,7 @@ export const fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
71
72
|
ssoClient,
|
|
72
73
|
clientConfig: init.clientConfig,
|
|
73
74
|
parentClientConfig: init.parentClientConfig,
|
|
75
|
+
callerClientConfig: init.callerClientConfig,
|
|
74
76
|
profile: profileName,
|
|
75
77
|
filepath: init.filepath,
|
|
76
78
|
configFilepath: init.configFilepath,
|