replicas-cli 0.2.236 → 0.2.238
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/bowser-LNTEZM7F.mjs +2822 -0
- package/dist/chunk-GFYYBNVD.mjs +1058 -0
- package/dist/chunk-JD4YWBM3.mjs +581 -0
- package/dist/chunk-MNYGWPEL.mjs +2883 -0
- package/dist/chunk-NSGUCXRX.mjs +2101 -0
- package/dist/chunk-Q4H42355.mjs +439 -0
- package/dist/chunk-YXYUVLIU.mjs +1498 -0
- package/dist/{dist-es-FTV27CJE.mjs → dist-es-5WXCQCPW.mjs} +4 -3
- package/dist/{dist-es-76ZS5ZGX.mjs → dist-es-JEMIHEYU.mjs} +47 -51
- package/dist/{dist-es-MVWFIO2N.mjs → dist-es-KEPB4XGD.mjs} +9 -10
- package/dist/{dist-es-DRC4RUDF.mjs → dist-es-Q57UUSDX.mjs} +22 -34
- package/dist/{dist-es-TKQAVPOM.mjs → dist-es-RN7CGM2B.mjs} +25 -23
- package/dist/{dist-es-PGBT2GSM.mjs → dist-es-SCGGKOX2.mjs} +27 -32
- package/dist/{dist-es-X7XEFTLU.mjs → dist-es-ZDCSDOKR.mjs} +10 -11
- package/dist/event-streams-UPDOZQOC.mjs +1274 -0
- package/dist/index.mjs +190 -171
- package/dist/{loadSso-PADWQIUG.mjs → loadSso-ABHII4GO.mjs} +84 -61
- package/dist/{signin-4DZRTUJH.mjs → signin-PHZQKMQ4.mjs} +94 -82
- package/dist/{sso-oidc-VICR4TNH.mjs → sso-oidc-YWYT5VLS.mjs} +102 -63
- package/dist/{sts-WJPOT3CH.mjs → sts-LQIL7WOF.mjs} +4964 -5055
- package/package.json +1 -1
- package/dist/chunk-4KZFIKR3.mjs +0 -5730
- package/dist/chunk-6E4PAXC5.mjs +0 -65
- package/dist/chunk-75QHZ6FC.mjs +0 -52
- package/dist/chunk-AEKGTTWT.mjs +0 -42
- package/dist/chunk-CEE3Y7RM.mjs +0 -14
- package/dist/chunk-H57WOA7R.mjs +0 -883
- package/dist/chunk-HMKFI7SL.mjs +0 -242
- package/dist/chunk-K7B6G3FP.mjs +0 -175
- package/dist/chunk-KHHYAMUK.mjs +0 -164
- package/dist/chunk-S6VA5TIO.mjs +0 -44
- package/dist/chunk-W27BU2E4.mjs +0 -1038
- package/dist/chunk-YZ62XZX5.mjs +0 -29
- package/dist/event-streams-S7HDVT33.mjs +0 -255
|
@@ -1,42 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
HttpRequest
|
|
7
|
-
} from "./chunk-6E4PAXC5.mjs";
|
|
3
|
+
setCredentialFeature
|
|
4
|
+
} from "./chunk-MNYGWPEL.mjs";
|
|
8
5
|
import {
|
|
6
|
+
CredentialsProviderError,
|
|
7
|
+
HttpRequest,
|
|
8
|
+
chain,
|
|
9
9
|
getProfileName,
|
|
10
10
|
parseKnownFiles,
|
|
11
11
|
readFile
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import
|
|
14
|
-
setCredentialFeature
|
|
15
|
-
} from "./chunk-CEE3Y7RM.mjs";
|
|
16
|
-
import {
|
|
17
|
-
CredentialsProviderError
|
|
18
|
-
} from "./chunk-AEKGTTWT.mjs";
|
|
12
|
+
} from "./chunk-NSGUCXRX.mjs";
|
|
13
|
+
import "./chunk-GFYYBNVD.mjs";
|
|
19
14
|
import {
|
|
20
15
|
__publicField
|
|
21
16
|
} from "./chunk-FFDYI4OH.mjs";
|
|
22
17
|
|
|
23
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
18
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
24
19
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
25
20
|
const sourceProvidersMap = {
|
|
26
21
|
EcsContainer: async (options) => {
|
|
27
|
-
const { fromHttp } = await import("./dist-es-
|
|
28
|
-
const { fromContainerMetadata } = await import("./dist-es-
|
|
22
|
+
const { fromHttp } = await import("./dist-es-RN7CGM2B.mjs");
|
|
23
|
+
const { fromContainerMetadata } = await import("./dist-es-JEMIHEYU.mjs");
|
|
29
24
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
30
25
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
31
26
|
},
|
|
32
27
|
Ec2InstanceMetadata: async (options) => {
|
|
33
28
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
34
|
-
const { fromInstanceMetadata } = await import("./dist-es-
|
|
29
|
+
const { fromInstanceMetadata } = await import("./dist-es-JEMIHEYU.mjs");
|
|
35
30
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
36
31
|
},
|
|
37
32
|
Environment: async (options) => {
|
|
38
33
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
39
|
-
const { fromEnv } = await import("./dist-es-
|
|
34
|
+
const { fromEnv } = await import("./dist-es-5WXCQCPW.mjs");
|
|
40
35
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
41
36
|
}
|
|
42
37
|
};
|
|
@@ -48,7 +43,7 @@ var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
|
48
43
|
};
|
|
49
44
|
var setNamedProvider = (creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
|
|
50
45
|
|
|
51
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
46
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
52
47
|
var isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
|
|
53
48
|
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 }));
|
|
54
49
|
};
|
|
@@ -71,7 +66,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
|
|
|
71
66
|
const profileData = profiles[profileName];
|
|
72
67
|
const { source_profile, region } = profileData;
|
|
73
68
|
if (!options.roleAssumer) {
|
|
74
|
-
const { getDefaultRoleAssumer } = await import("./sts-
|
|
69
|
+
const { getDefaultRoleAssumer } = await import("./sts-LQIL7WOF.mjs");
|
|
75
70
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
76
71
|
...options.clientConfig,
|
|
77
72
|
credentialProviderLogger: options.logger,
|
|
@@ -115,7 +110,7 @@ var isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
115
110
|
return !section.role_arn && !!section.credential_source;
|
|
116
111
|
};
|
|
117
112
|
|
|
118
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.
|
|
113
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.49/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
|
|
119
114
|
import { createHash, createPrivateKey, createPublicKey, sign } from "crypto";
|
|
120
115
|
import { promises as fs } from "fs";
|
|
121
116
|
import { homedir } from "os";
|
|
@@ -156,7 +151,7 @@ var _LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
156
151
|
return this.profileData.login_session;
|
|
157
152
|
}
|
|
158
153
|
async refresh(token) {
|
|
159
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-
|
|
154
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-PHZQKMQ4.mjs");
|
|
160
155
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
161
156
|
const isH2 = (requestHandler2) => {
|
|
162
157
|
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
@@ -368,7 +363,7 @@ var _LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
368
363
|
__publicField(_LoginCredentialsFetcher, "REFRESH_THRESHOLD", 5 * 60 * 1e3);
|
|
369
364
|
var LoginCredentialsFetcher = _LoginCredentialsFetcher;
|
|
370
365
|
|
|
371
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.
|
|
366
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.49/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
|
|
372
367
|
var fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
373
368
|
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
374
369
|
const profiles = await parseKnownFiles(init || {});
|
|
@@ -387,7 +382,7 @@ var fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
|
387
382
|
return setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD");
|
|
388
383
|
};
|
|
389
384
|
|
|
390
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
385
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
|
|
391
386
|
var isLoginProfile = (data) => {
|
|
392
387
|
return Boolean(data && data.login_session);
|
|
393
388
|
};
|
|
@@ -399,16 +394,16 @@ var resolveLoginCredentials = async (profileName, options, callerClientConfig) =
|
|
|
399
394
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
400
395
|
};
|
|
401
396
|
|
|
402
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
397
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
403
398
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
404
|
-
var resolveProcessCredentials = async (options, profile) => import("./dist-es-
|
|
399
|
+
var resolveProcessCredentials = async (options, profile) => import("./dist-es-ZDCSDOKR.mjs").then(({ fromProcess }) => fromProcess({
|
|
405
400
|
...options,
|
|
406
401
|
profile
|
|
407
402
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
408
403
|
|
|
409
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
404
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
410
405
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
411
|
-
const { fromSSO } = await import("./dist-es-
|
|
406
|
+
const { fromSSO } = await import("./dist-es-Q57UUSDX.mjs");
|
|
412
407
|
return fromSSO({
|
|
413
408
|
profile,
|
|
414
409
|
logger: options.logger,
|
|
@@ -426,7 +421,7 @@ var resolveSsoCredentials = async (profile, profileData, options = {}, callerCli
|
|
|
426
421
|
};
|
|
427
422
|
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");
|
|
428
423
|
|
|
429
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
424
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
|
|
430
425
|
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;
|
|
431
426
|
var resolveStaticCredentials = async (profile, options) => {
|
|
432
427
|
options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
|
@@ -440,9 +435,9 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
440
435
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n");
|
|
441
436
|
};
|
|
442
437
|
|
|
443
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
438
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
444
439
|
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;
|
|
445
|
-
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-
|
|
440
|
+
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-KEPB4XGD.mjs").then(({ fromTokenFile }) => fromTokenFile({
|
|
446
441
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
447
442
|
roleArn: profile.role_arn,
|
|
448
443
|
roleSessionName: profile.role_session_name,
|
|
@@ -453,7 +448,7 @@ var resolveWebIdentityCredentials = async (profile, options, callerClientConfig)
|
|
|
453
448
|
callerClientConfig
|
|
454
449
|
}).then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")));
|
|
455
450
|
|
|
456
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
451
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
457
452
|
var resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
458
453
|
const data = profiles[profileName];
|
|
459
454
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
@@ -480,7 +475,7 @@ var resolveProfileData = async (profileName, profiles, options, callerClientConf
|
|
|
480
475
|
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
481
476
|
};
|
|
482
477
|
|
|
483
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
478
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|
|
484
479
|
var fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
485
480
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
486
481
|
const profiles = await parseKnownFiles(init);
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
|
+
setCredentialFeature
|
|
4
|
+
} from "./chunk-MNYGWPEL.mjs";
|
|
5
|
+
import {
|
|
6
|
+
CredentialsProviderError,
|
|
3
7
|
externalDataInterceptor,
|
|
4
8
|
getProfileName,
|
|
5
9
|
parseKnownFiles
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
8
|
-
setCredentialFeature
|
|
9
|
-
} from "./chunk-CEE3Y7RM.mjs";
|
|
10
|
-
import {
|
|
11
|
-
CredentialsProviderError
|
|
12
|
-
} from "./chunk-AEKGTTWT.mjs";
|
|
10
|
+
} from "./chunk-NSGUCXRX.mjs";
|
|
11
|
+
import "./chunk-GFYYBNVD.mjs";
|
|
13
12
|
import "./chunk-FFDYI4OH.mjs";
|
|
14
13
|
|
|
15
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
14
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.44/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
16
15
|
import { exec } from "child_process";
|
|
17
16
|
import { promisify } from "util";
|
|
18
17
|
|
|
19
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
18
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.44/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
|
|
20
19
|
var getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
21
20
|
if (data.Version !== 1) {
|
|
22
21
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
|
@@ -47,7 +46,7 @@ var getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
|
47
46
|
return credentials;
|
|
48
47
|
};
|
|
49
48
|
|
|
50
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
49
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.44/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
51
50
|
var resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
52
51
|
const profile = profiles[profileName];
|
|
53
52
|
if (profiles[profileName]) {
|
|
@@ -76,7 +75,7 @@ var resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
|
76
75
|
}
|
|
77
76
|
};
|
|
78
77
|
|
|
79
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.
|
|
78
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.44/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
|
|
80
79
|
var fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
81
80
|
init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
|
|
82
81
|
const profiles = await parseKnownFiles(init);
|