@larkup/cli 0.3.20 → 0.3.22
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/dist/{analytics-store-4EI56OLE.js → analytics-store-6SZQ7JBE.js} +1 -1
- package/dist/bowser-KBMRPWZW.js +2100 -0
- package/dist/{chunk-CUA3FHFQ.js → chunk-3HURSQNH.js} +39 -26
- package/dist/{chunk-AKBEY3S4.js → chunk-4Y7OLVDR.js} +4 -4
- package/dist/{chunk-YOPP3ETL.js → chunk-5LXQQ3B5.js} +111 -80
- package/dist/{chunk-2QWAEE6L.js → chunk-5UNSW2YQ.js} +2 -2
- package/dist/{chunk-HYYSI5FE.js → chunk-5YXDD2GC.js} +183 -174
- package/dist/{chunk-ZH2A3TFQ.js → chunk-CQRTVM3R.js} +99 -1154
- package/dist/{chunk-54YIZOXQ.js → chunk-G4JLV4D2.js} +58 -26
- package/dist/chunk-G542PEOG.js +215 -0
- package/dist/chunk-JKTTCUZ3.js +653 -0
- package/dist/chunk-M4T7TRRC.js +2461 -0
- package/dist/chunk-MEKWGOS5.js +76 -0
- package/dist/{chunk-6VBJAFWY.js → chunk-MTXSOKLF.js} +97 -77
- package/dist/chunk-NMIRIGDS.js +1445 -0
- package/dist/chunk-SUBMQE2G.js +1280 -0
- package/dist/{chunk-SMQUSHD4.js → chunk-TBMEIDA5.js} +39 -2
- package/dist/{chunk-FMBWCTFV.js → chunk-TEVXZRMI.js} +1222 -87
- package/dist/{chunk-VZAREDRR.js → chunk-TX2W2TDD.js} +3 -3
- package/dist/{chunk-6HRBZ7QP.js → chunk-VMIDDBSU.js} +3 -3
- package/dist/{chunk-DTRGAEFR.js → chunk-YL567TPU.js} +4 -4
- package/dist/{dist-es-CM7567P2.js → dist-es-64SQQSB2.js} +8 -8
- package/dist/{dist-es-DC3KLBPR.js → dist-es-EYJKNFZZ.js} +9 -9
- package/dist/{dist-es-PY4YS7TC.js → dist-es-GCJ2YN2W.js} +12 -9
- package/dist/{dist-es-KY7QTIEX.js → dist-es-HOKTEA4H.js} +22 -22
- package/dist/{dist-es-ZDCXFYRX.js → dist-es-I5PEXU6M.js} +5 -5
- package/dist/{dist-es-IS5PH45I.js → dist-es-IBDQOMV4.js} +67 -43
- package/dist/{dist-es-M6OXVHSI.js → dist-es-KLJ57YTV.js} +2 -2
- package/dist/{dist-es-3SVFRI6P.js → dist-es-RSHHKZQR.js} +251 -237
- package/dist/{dist-es-OB4H2RSG.js → dist-es-SM3XZOJI.js} +10 -10
- package/dist/{dist-es-FEVR73CQ.js → dist-es-WKOKSFRW.js} +8 -8
- package/dist/{chunk-PFTSXAZG.js → event-streams-DE7Y6VJA.js} +59 -40
- package/dist/{event-streams-KOWL2S4G.js → event-streams-DO25HTN4.js} +2 -3
- package/dist/index.js +22 -27
- package/dist/{loadSso-OLMNBQ4H.js → loadSso-RBMT5EPI.js} +68 -62
- package/dist/{signin-NBTUJ5KD.js → signin-S7FYOH5Y.js} +79 -66
- package/dist/{sso-oidc-WNK6HQX7.js → sso-oidc-YVLODDDB.js} +71 -65
- package/dist/{sts-TGY2Y4DZ.js → sts-R6CUYWGQ.js} +77 -71
- package/dist/{tool-loader-GFMXFTMW.js → tool-loader-ZRVSMB4T.js} +2 -2
- package/dist/{tool-registry-K74GICK5.js → tool-registry-FLO7V4FK.js} +1 -1
- package/package.json +13 -13
- package/dist/bowser-GZLEN3PD.js +0 -2821
- package/dist/chunk-GYXT77I3.js +0 -515
- package/dist/chunk-TFGGCUFR.js +0 -126
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setCredentialFeature
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MTXSOKLF.js";
|
|
4
4
|
import {
|
|
5
5
|
CredentialsProviderError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TEVXZRMI.js";
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.
|
|
8
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.82/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
|
|
9
9
|
var ENV_KEY = "AWS_ACCESS_KEY_ID";
|
|
10
10
|
var ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
|
|
11
11
|
var ENV_SESSION = "AWS_SESSION_TOKEN";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildQueryString
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TEVXZRMI.js";
|
|
4
4
|
|
|
5
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
5
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/util/util-format-url/format-url.js
|
|
6
6
|
function formatUrl(request) {
|
|
7
7
|
const { port, query } = request;
|
|
8
8
|
let { protocol, path, hostname } = request;
|
|
@@ -32,7 +32,7 @@ function formatUrl(request) {
|
|
|
32
32
|
return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
// ../../node_modules/.pnpm/@aws-sdk+core@3.
|
|
35
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.980.1/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js
|
|
36
36
|
var validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6;
|
|
37
37
|
|
|
38
38
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SignatureV4,
|
|
3
3
|
signatureV4aContainer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3HURSQNH.js";
|
|
5
5
|
|
|
6
|
-
// ../../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.
|
|
6
|
+
// ../../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.51/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js
|
|
7
7
|
var signatureV4CrtContainer = {
|
|
8
8
|
CrtSignerV4: null
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
// ../../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.
|
|
11
|
+
// ../../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.51/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js
|
|
12
12
|
var SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token";
|
|
13
13
|
var SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase();
|
|
14
14
|
var SignatureV4SignWithCredentials = class extends SignatureV4 {
|
|
@@ -45,7 +45,7 @@ function setSingleOverride(privateAccess, credentialsWithoutSessionToken) {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
// ../../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.
|
|
48
|
+
// ../../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.51/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js
|
|
49
49
|
var SignatureV4MultiRegion = class {
|
|
50
50
|
sigv4aSigner;
|
|
51
51
|
sigv4Signer;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setCredentialFeature
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-MTXSOKLF.js";
|
|
4
|
+
import "./chunk-5LXQQ3B5.js";
|
|
5
5
|
import {
|
|
6
6
|
CredentialsProviderError,
|
|
7
7
|
externalDataInterceptor,
|
|
8
8
|
getProfileName,
|
|
9
9
|
parseKnownFiles
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-TEVXZRMI.js";
|
|
11
|
+
import "./chunk-5YXDD2GC.js";
|
|
12
12
|
import "./chunk-QGM4M3NI.js";
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.
|
|
14
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.82/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
15
15
|
import { exec } from "child_process";
|
|
16
16
|
import { promisify } from "util";
|
|
17
17
|
|
|
18
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.
|
|
18
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.82/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
|
|
19
19
|
var getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
20
20
|
if (data.Version !== 1) {
|
|
21
21
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
|
@@ -46,7 +46,7 @@ var getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
|
46
46
|
return credentials;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.
|
|
49
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.82/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
50
50
|
var resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
51
51
|
const profile = profiles[profileName];
|
|
52
52
|
if (profiles[profileName]) {
|
|
@@ -75,7 +75,7 @@ var resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.
|
|
78
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.82/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
|
|
79
79
|
var fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
80
80
|
init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
|
|
81
81
|
const profiles = await parseKnownFiles(init);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatUrl
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VMIDDBSU.js";
|
|
4
4
|
import {
|
|
5
5
|
SignatureV4MultiRegion
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-YL567TPU.js";
|
|
7
|
+
import "./chunk-3HURSQNH.js";
|
|
8
8
|
import {
|
|
9
9
|
getEndpointFromInstructions
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-5LXQQ3B5.js";
|
|
11
|
+
import "./chunk-TEVXZRMI.js";
|
|
12
12
|
import {
|
|
13
13
|
HttpRequest
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5YXDD2GC.js";
|
|
15
15
|
import "./chunk-QGM4M3NI.js";
|
|
16
16
|
|
|
17
|
-
// ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.
|
|
17
|
+
// ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1164.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js
|
|
18
18
|
var UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD";
|
|
19
19
|
var SHA256_HEADER = "X-Amz-Content-Sha256";
|
|
20
20
|
|
|
21
|
-
// ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.
|
|
21
|
+
// ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1164.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js
|
|
22
22
|
var S3RequestPresigner = class {
|
|
23
23
|
signer;
|
|
24
24
|
constructor(options) {
|
|
@@ -73,7 +73,7 @@ var S3RequestPresigner = class {
|
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
// ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.
|
|
76
|
+
// ../../node_modules/.pnpm/@aws-sdk+s3-request-presigner@3.1164.0/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js
|
|
77
77
|
var getSignedUrl = async (client, command, options = {}) => {
|
|
78
78
|
let s3Presigner;
|
|
79
79
|
let region;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
setCredentialFeature
|
|
3
|
-
} from "./chunk-6VBJAFWY.js";
|
|
4
|
-
import "./chunk-YOPP3ETL.js";
|
|
1
|
+
import "./chunk-MEKWGOS5.js";
|
|
5
2
|
import {
|
|
6
3
|
CredentialsProviderError,
|
|
7
4
|
getProfileName,
|
|
8
5
|
parseKnownFiles
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JKTTCUZ3.js";
|
|
7
|
+
import {
|
|
8
|
+
setCredentialFeature
|
|
9
|
+
} from "./chunk-MTXSOKLF.js";
|
|
10
|
+
import "./chunk-5LXQQ3B5.js";
|
|
11
|
+
import "./chunk-TEVXZRMI.js";
|
|
12
|
+
import "./chunk-5YXDD2GC.js";
|
|
10
13
|
import {
|
|
11
14
|
HttpRequest
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G542PEOG.js";
|
|
13
16
|
import "./chunk-QGM4M3NI.js";
|
|
14
17
|
|
|
15
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.
|
|
18
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.89/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
|
|
16
19
|
import { createHash, createPrivateKey, createPublicKey, sign } from "crypto";
|
|
17
20
|
import { promises as fs } from "fs";
|
|
18
21
|
import { homedir } from "os";
|
|
@@ -66,7 +69,7 @@ var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
66
69
|
if (freshExpiry - Date.now() > _LoginCredentialsFetcher.REFRESH_THRESHOLD) {
|
|
67
70
|
return this.toCredentials(freshToken.accessToken);
|
|
68
71
|
}
|
|
69
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-
|
|
72
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-S7FYOH5Y.js");
|
|
70
73
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
71
74
|
const isH2 = (requestHandler2) => {
|
|
72
75
|
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
@@ -272,7 +275,7 @@ var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
272
275
|
}
|
|
273
276
|
};
|
|
274
277
|
|
|
275
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.
|
|
278
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.89/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
|
|
276
279
|
var fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
277
280
|
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
278
281
|
const profiles = await parseKnownFiles(init || {});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setCredentialFeature
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-MTXSOKLF.js";
|
|
4
|
+
import "./chunk-5LXQQ3B5.js";
|
|
5
5
|
import {
|
|
6
6
|
CredentialsProviderError,
|
|
7
7
|
chain,
|
|
8
8
|
getProfileName,
|
|
9
9
|
parseKnownFiles
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-TEVXZRMI.js";
|
|
11
|
+
import "./chunk-5YXDD2GC.js";
|
|
12
12
|
import "./chunk-QGM4M3NI.js";
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
14
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
15
15
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
16
16
|
const sourceProvidersMap = {
|
|
17
17
|
EcsContainer: async (options) => {
|
|
18
|
-
const { fromHttp } = await import("./dist-es-
|
|
19
|
-
const { fromContainerMetadata } = await import("./dist-es-
|
|
18
|
+
const { fromHttp } = await import("./dist-es-SM3XZOJI.js");
|
|
19
|
+
const { fromContainerMetadata } = await import("./dist-es-KLJ57YTV.js");
|
|
20
20
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
21
21
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
22
22
|
},
|
|
23
23
|
Ec2InstanceMetadata: async (options) => {
|
|
24
24
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
25
|
-
const { fromInstanceMetadata } = await import("./dist-es-
|
|
25
|
+
const { fromInstanceMetadata } = await import("./dist-es-KLJ57YTV.js");
|
|
26
26
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
27
27
|
},
|
|
28
28
|
Environment: async (options) => {
|
|
29
29
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
30
|
-
const { fromEnv } = await import("./dist-es-
|
|
30
|
+
const { fromEnv } = await import("./dist-es-I5PEXU6M.js");
|
|
31
31
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
@@ -39,7 +39,7 @@ var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
|
39
39
|
};
|
|
40
40
|
var setNamedProvider = (creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
|
|
41
41
|
|
|
42
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
42
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
43
43
|
var isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
|
|
44
44
|
return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
|
|
45
45
|
};
|
|
@@ -62,7 +62,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
|
|
|
62
62
|
const profileData = profiles[profileName];
|
|
63
63
|
const { source_profile, region } = profileData;
|
|
64
64
|
if (!options.roleAssumer) {
|
|
65
|
-
const { getDefaultRoleAssumer } = await import("./sts-
|
|
65
|
+
const { getDefaultRoleAssumer } = await import("./sts-R6CUYWGQ.js");
|
|
66
66
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
67
67
|
...options.clientConfig,
|
|
68
68
|
credentialProviderLogger: options.logger,
|
|
@@ -106,12 +106,12 @@ var isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
106
106
|
return !section.role_arn && !!section.credential_source;
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
109
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
|
|
110
110
|
var isLoginProfile = (data) => {
|
|
111
111
|
return Boolean(data && data.login_session);
|
|
112
112
|
};
|
|
113
113
|
var resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
114
|
-
const { fromLoginCredentials } = await import("./dist-es-
|
|
114
|
+
const { fromLoginCredentials } = await import("./dist-es-GCJ2YN2W.js");
|
|
115
115
|
const credentials = await fromLoginCredentials({
|
|
116
116
|
...options,
|
|
117
117
|
profile: profileName
|
|
@@ -119,10 +119,10 @@ var resolveLoginCredentials = async (profileName, options, callerClientConfig) =
|
|
|
119
119
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
120
120
|
};
|
|
121
121
|
|
|
122
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
122
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
123
123
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
124
124
|
var resolveProcessCredentials = async (options, profile) => {
|
|
125
|
-
const { fromProcess } = await import("./dist-es-
|
|
125
|
+
const { fromProcess } = await import("./dist-es-64SQQSB2.js");
|
|
126
126
|
const credentials = await fromProcess({
|
|
127
127
|
...options,
|
|
128
128
|
profile
|
|
@@ -130,9 +130,9 @@ var resolveProcessCredentials = async (options, profile) => {
|
|
|
130
130
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_PROCESS", "v");
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
133
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
134
134
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
135
|
-
const { fromSSO } = await import("./dist-es-
|
|
135
|
+
const { fromSSO } = await import("./dist-es-IBDQOMV4.js");
|
|
136
136
|
return fromSSO({
|
|
137
137
|
profile,
|
|
138
138
|
logger: options.logger,
|
|
@@ -150,7 +150,7 @@ var resolveSsoCredentials = async (profile, profileData, options = {}, callerCli
|
|
|
150
150
|
};
|
|
151
151
|
var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
|
|
152
152
|
|
|
153
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
153
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
|
|
154
154
|
var isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1;
|
|
155
155
|
var resolveStaticCredentials = async (profile, options) => {
|
|
156
156
|
options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
|
@@ -164,10 +164,10 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
164
164
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n");
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
167
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
168
168
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
169
169
|
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
|
|
170
|
-
const { fromTokenFile } = await import("./dist-es-
|
|
170
|
+
const { fromTokenFile } = await import("./dist-es-WKOKSFRW.js");
|
|
171
171
|
const credentials = await fromTokenFile({
|
|
172
172
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
173
173
|
roleArn: profile.role_arn,
|
|
@@ -181,7 +181,7 @@ var resolveWebIdentityCredentials = async (profile, options, callerClientConfig)
|
|
|
181
181
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q");
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
184
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
185
185
|
var resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
186
186
|
const data = profiles[profileName];
|
|
187
187
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
@@ -208,7 +208,7 @@ var resolveProfileData = async (profileName, profiles, options, callerClientConf
|
|
|
208
208
|
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.
|
|
211
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.27/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|
|
212
212
|
var fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
213
213
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
214
214
|
const profiles = await parseKnownFiles(init);
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
ENV_SECRET,
|
|
7
7
|
ENV_SESSION,
|
|
8
8
|
fromEnv
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-TX2W2TDD.js";
|
|
10
|
+
import "./chunk-MTXSOKLF.js";
|
|
11
|
+
import "./chunk-5LXQQ3B5.js";
|
|
12
|
+
import "./chunk-TEVXZRMI.js";
|
|
13
|
+
import "./chunk-5YXDD2GC.js";
|
|
14
14
|
import "./chunk-QGM4M3NI.js";
|
|
15
15
|
export {
|
|
16
16
|
ENV_ACCOUNT_ID,
|
|
@@ -1,29 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TokenProviderError,
|
|
3
|
+
getProfileName as getProfileName2,
|
|
4
|
+
getSSOTokenFilepath,
|
|
5
|
+
getSSOTokenFromFile as getSSOTokenFromFile2,
|
|
6
|
+
loadSsoSessionData as loadSsoSessionData2,
|
|
7
|
+
parseKnownFiles as parseKnownFiles2
|
|
8
|
+
} from "./chunk-JKTTCUZ3.js";
|
|
1
9
|
import {
|
|
2
10
|
setCredentialFeature
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-MTXSOKLF.js";
|
|
12
|
+
import "./chunk-5LXQQ3B5.js";
|
|
5
13
|
import {
|
|
6
14
|
CredentialsProviderError,
|
|
7
|
-
TokenProviderError,
|
|
8
15
|
getProfileName,
|
|
9
|
-
getSSOTokenFilepath,
|
|
10
16
|
getSSOTokenFromFile,
|
|
11
17
|
loadSsoSessionData,
|
|
12
18
|
parseKnownFiles
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-TEVXZRMI.js";
|
|
20
|
+
import "./chunk-5YXDD2GC.js";
|
|
21
|
+
import "./chunk-G542PEOG.js";
|
|
15
22
|
import "./chunk-QGM4M3NI.js";
|
|
16
23
|
|
|
17
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.
|
|
24
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
|
|
18
25
|
var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
|
|
19
26
|
|
|
20
|
-
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
27
|
+
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
|
|
21
28
|
var EXPIRE_WINDOW_MS = 5 * 60 * 1e3;
|
|
22
29
|
var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
23
30
|
|
|
24
|
-
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
31
|
+
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
25
32
|
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
26
|
-
const { SSOOIDCClient } = await import("./sso-oidc-
|
|
33
|
+
const { SSOOIDCClient } = await import("./sso-oidc-YVLODDDB.js");
|
|
27
34
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
28
35
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
29
36
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
@@ -33,9 +40,9 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
|
33
40
|
return ssoOidcClient;
|
|
34
41
|
};
|
|
35
42
|
|
|
36
|
-
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
43
|
+
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
37
44
|
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
38
|
-
const { CreateTokenCommand } = await import("./sso-oidc-
|
|
45
|
+
const { CreateTokenCommand } = await import("./sso-oidc-YVLODDDB.js");
|
|
39
46
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
40
47
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
41
48
|
clientId: ssoToken.clientId,
|
|
@@ -45,21 +52,21 @@ var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConf
|
|
|
45
52
|
}));
|
|
46
53
|
};
|
|
47
54
|
|
|
48
|
-
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
55
|
+
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
|
|
49
56
|
var validateTokenExpiry = (token) => {
|
|
50
57
|
if (token.expiration && token.expiration.getTime() < Date.now()) {
|
|
51
58
|
throw new TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
|
|
52
59
|
}
|
|
53
60
|
};
|
|
54
61
|
|
|
55
|
-
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
62
|
+
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
|
|
56
63
|
var validateTokenKey = (key, value, forRefresh = false) => {
|
|
57
64
|
if (typeof value === "undefined") {
|
|
58
65
|
throw new TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
|
|
59
66
|
}
|
|
60
67
|
};
|
|
61
68
|
|
|
62
|
-
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
69
|
+
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
|
|
63
70
|
import { promises as fsPromises } from "fs";
|
|
64
71
|
var { writeFile } = fsPromises;
|
|
65
72
|
var writeSSOTokenToFile = (id, ssoToken) => {
|
|
@@ -68,12 +75,13 @@ var writeSSOTokenToFile = (id, ssoToken) => {
|
|
|
68
75
|
return writeFile(tokenFilepath, tokenString);
|
|
69
76
|
};
|
|
70
77
|
|
|
71
|
-
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.
|
|
78
|
+
// ../../node_modules/.pnpm/@aws-sdk+token-providers@3.1164.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
|
|
72
79
|
var lastRefreshAttemptTimes = /* @__PURE__ */ new Map();
|
|
80
|
+
var inFlightRefreshes = /* @__PURE__ */ new Map();
|
|
73
81
|
var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
74
82
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
75
|
-
const profiles = await
|
|
76
|
-
const profileName =
|
|
83
|
+
const profiles = await parseKnownFiles2(init);
|
|
84
|
+
const profileName = getProfileName2({
|
|
77
85
|
profile: init.profile ?? callerClientConfig?.profile
|
|
78
86
|
});
|
|
79
87
|
const profile = profiles[profileName];
|
|
@@ -83,7 +91,11 @@ var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
83
91
|
throw new TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);
|
|
84
92
|
}
|
|
85
93
|
const ssoSessionName = profile["sso_session"];
|
|
86
|
-
const
|
|
94
|
+
const inFlightRefresh = inFlightRefreshes.get(ssoSessionName);
|
|
95
|
+
if (inFlightRefresh) {
|
|
96
|
+
return await inFlightRefresh;
|
|
97
|
+
}
|
|
98
|
+
const ssoSessions = await loadSsoSessionData2(init);
|
|
87
99
|
const ssoSession = ssoSessions[ssoSessionName];
|
|
88
100
|
if (!ssoSession) {
|
|
89
101
|
throw new TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false);
|
|
@@ -97,7 +109,7 @@ var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
97
109
|
const ssoRegion = ssoSession["sso_region"];
|
|
98
110
|
let ssoToken;
|
|
99
111
|
try {
|
|
100
|
-
ssoToken = await
|
|
112
|
+
ssoToken = await getSSOTokenFromFile2(ssoSessionName);
|
|
101
113
|
} catch (e) {
|
|
102
114
|
throw new TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false);
|
|
103
115
|
}
|
|
@@ -111,6 +123,10 @@ var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
111
123
|
if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
|
|
112
124
|
return existingToken;
|
|
113
125
|
}
|
|
126
|
+
const inFlightRefreshAfterReadingToken = inFlightRefreshes.get(ssoSessionName);
|
|
127
|
+
if (inFlightRefreshAfterReadingToken) {
|
|
128
|
+
return await inFlightRefreshAfterReadingToken;
|
|
129
|
+
}
|
|
114
130
|
const lastRefreshAttemptTime = lastRefreshAttemptTimes.get(ssoSessionName) ?? 0;
|
|
115
131
|
if (Date.now() - lastRefreshAttemptTime < 30 * 1e3) {
|
|
116
132
|
validateTokenExpiry(existingToken);
|
|
@@ -119,32 +135,40 @@ var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
119
135
|
validateTokenKey("clientId", ssoToken.clientId, true);
|
|
120
136
|
validateTokenKey("clientSecret", ssoToken.clientSecret, true);
|
|
121
137
|
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
|
122
|
-
|
|
123
|
-
lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
|
|
124
|
-
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
|
125
|
-
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
126
|
-
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
127
|
-
const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);
|
|
138
|
+
const refresh = (async () => {
|
|
128
139
|
try {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
140
|
+
lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
|
|
141
|
+
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
|
142
|
+
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
143
|
+
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
144
|
+
const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);
|
|
145
|
+
try {
|
|
146
|
+
await writeSSOTokenToFile(ssoSessionName, {
|
|
147
|
+
...ssoToken,
|
|
148
|
+
accessToken: newSsoOidcToken.accessToken,
|
|
149
|
+
expiresAt: newTokenExpiration.toISOString(),
|
|
150
|
+
refreshToken: newSsoOidcToken.refreshToken
|
|
151
|
+
});
|
|
152
|
+
} catch (error) {
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
token: newSsoOidcToken.accessToken,
|
|
156
|
+
expiration: newTokenExpiration
|
|
157
|
+
};
|
|
135
158
|
} catch (error) {
|
|
159
|
+
validateTokenExpiry(existingToken);
|
|
160
|
+
return existingToken;
|
|
136
161
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
return existingToken;
|
|
162
|
+
})();
|
|
163
|
+
inFlightRefreshes.set(ssoSessionName, refresh);
|
|
164
|
+
try {
|
|
165
|
+
return await refresh;
|
|
166
|
+
} finally {
|
|
167
|
+
inFlightRefreshes.delete(ssoSessionName);
|
|
144
168
|
}
|
|
145
169
|
};
|
|
146
170
|
|
|
147
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.
|
|
171
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
|
|
148
172
|
var SHOULD_FAIL_CREDENTIAL_CHAIN = false;
|
|
149
173
|
var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger }) => {
|
|
150
174
|
let token;
|
|
@@ -187,7 +211,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
|
|
|
187
211
|
});
|
|
188
212
|
}
|
|
189
213
|
const { accessToken } = token;
|
|
190
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-
|
|
214
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-RBMT5EPI.js");
|
|
191
215
|
const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
192
216
|
logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
|
|
193
217
|
region: clientConfig?.region ?? ssoRegion,
|
|
@@ -229,7 +253,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
|
|
|
229
253
|
return credentials;
|
|
230
254
|
};
|
|
231
255
|
|
|
232
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.
|
|
256
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
|
|
233
257
|
var validateSsoProfile = (profile, logger) => {
|
|
234
258
|
const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
|
|
235
259
|
if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
|
|
@@ -239,7 +263,7 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
|
239
263
|
return profile;
|
|
240
264
|
};
|
|
241
265
|
|
|
242
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.
|
|
266
|
+
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.26/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
|
|
243
267
|
var fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
244
268
|
init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
|
245
269
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
CredentialsProviderError,
|
|
3
3
|
ProviderError,
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TEVXZRMI.js";
|
|
6
6
|
import {
|
|
7
7
|
parseUrl
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5YXDD2GC.js";
|
|
9
9
|
import "./chunk-QGM4M3NI.js";
|
|
10
10
|
|
|
11
11
|
// ../../node_modules/.pnpm/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
|