@karmaniverous/get-dotenv 6.3.0 → 6.4.0
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/chunks/{AwsRestJsonProtocol-Dv5q8CFK.mjs → AwsRestJsonProtocol-fYZqn-kW.mjs} +2 -2
- package/dist/chunks/{createCli-BSn6Be40.mjs → createCli-BnRdfRRL.mjs} +5 -5
- package/dist/chunks/{externalDataInterceptor-pqHO-Qmn.mjs → externalDataInterceptor-CILOLqbB.mjs} +2 -2
- package/dist/chunks/{getSSOTokenFromFile-otmZHSRV.mjs → getSSOTokenFromFile-BwMkZ_yT.mjs} +1 -1
- package/dist/chunks/{index-CGg5wWCm.mjs → index-0-nP97ri.mjs} +5 -5
- package/dist/chunks/{index-BNcKuiBy.mjs → index-70Dm0f1N.mjs} +9 -9
- package/dist/chunks/{index-DLQEHTw4.mjs → index-BhVOypA1.mjs} +7 -7
- package/dist/chunks/{index-C6uLiKpC.mjs → index-CcwT4HJK.mjs} +4 -4
- package/dist/chunks/{index-B18W-ELX.mjs → index-D8UL3w94.mjs} +4 -4
- package/dist/chunks/{index-CYoFYXZv.mjs → index-DLNhHC15.mjs} +7 -7
- package/dist/chunks/{index-C4Ac6feq.mjs → index-DWqbxY8Y.mjs} +9 -9
- package/dist/chunks/{index-CXpZ0pei.mjs → index-Du51s-Z0.mjs} +6 -6
- package/dist/chunks/{index-DFNcs3pR.mjs → index-DuSz0ul6.mjs} +6 -6
- package/dist/chunks/{index-DtRaL61T.mjs → index-OeNCYa8T.mjs} +4 -4
- package/dist/chunks/{index-Bi0RIILn.mjs → index-_FP0whjC.mjs} +4 -4
- package/dist/chunks/{index-eZMlmESW.mjs → index-o5zJ9PWL.mjs} +14 -14
- package/dist/chunks/{index-BqZ3PB6c.mjs → index-r0Me7-sT.mjs} +109 -4
- package/dist/chunks/{loadSso-CJ_XUhEj.mjs → loadSso-CLR1fKci.mjs} +6 -6
- package/dist/chunks/{parseKnownFiles-B6x1cUmR.mjs → parseKnownFiles-BQvmJ0HK.mjs} +1 -1
- package/dist/chunks/readDotenvCascade-DfFkWMjs.mjs +546 -0
- package/dist/chunks/{readMergedOptions-DLBDzpXX.mjs → readMergedOptions-B7VdLROn.mjs} +60 -271
- package/dist/chunks/{resolveCliOptions-_qtsVxda.mjs → resolveCliOptions-pgUXHJtj.mjs} +1 -1
- package/dist/chunks/{sdk-stream-mixin-DCdC70Up.mjs → sdk-stream-mixin-ecbbBR0l.mjs} +1 -1
- package/dist/chunks/{types-DdqcXCV1.mjs → types-CVDR-Sjk.mjs} +1 -1
- package/dist/cli.d.ts +218 -84
- package/dist/cli.mjs +7 -7
- package/dist/cliHost.d.ts +218 -84
- package/dist/cliHost.mjs +5 -5
- package/dist/env-overlay.d.ts +304 -2
- package/dist/env-overlay.mjs +37 -1
- package/dist/getdotenv.cli.mjs +7 -7
- package/dist/index.d.ts +218 -84
- package/dist/index.mjs +199 -42
- package/dist/plugins-aws.d.ts +153 -19
- package/dist/plugins-aws.mjs +2 -2
- package/dist/plugins-batch.d.ts +153 -19
- package/dist/plugins-batch.mjs +2 -2
- package/dist/plugins-cmd.d.ts +153 -19
- package/dist/plugins-cmd.mjs +4 -4
- package/dist/plugins-init.d.ts +153 -19
- package/dist/plugins-init.mjs +2 -2
- package/dist/plugins.d.ts +153 -19
- package/dist/plugins.mjs +6 -6
- package/package.json +1 -1
- package/dist/chunks/overlayEnv-Bqh_kPGA.mjs +0 -235
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { av as HttpProtocol, aw as NormalizedSchema, H as HttpRequest, ax as translateTraits, ay as extendedEncodeURIComponent, az as collectBody, aA as splitHeader, aB as SerdeContext, aC as FromStringShapeDeserializer, t as toUtf8, i as fromUtf8, aD as v4, aE as LazyJsonString, n as toBase64, aF as determineTimestampFormat, aG as dateToUtcString, aH as NumericValue, aI as SerdeContextConfig, aJ as deserializingStructIterator, m as fromBase64, aK as parseEpochTimestamp, aL as parseRfc7231DateTime, aM as parseRfc3339DateTimeWithOffset, aN as serializingStructIterator, aO as ProtocolLib, an as TypeRegistry } from './index-
|
|
2
|
-
import { s as sdkStreamMixin } from './sdk-stream-mixin-
|
|
1
|
+
import { av as HttpProtocol, aw as NormalizedSchema, H as HttpRequest, ax as translateTraits, ay as extendedEncodeURIComponent, az as collectBody, aA as splitHeader, aB as SerdeContext, aC as FromStringShapeDeserializer, t as toUtf8, i as fromUtf8, aD as v4, aE as LazyJsonString, n as toBase64, aF as determineTimestampFormat, aG as dateToUtcString, aH as NumericValue, aI as SerdeContextConfig, aJ as deserializingStructIterator, m as fromBase64, aK as parseEpochTimestamp, aL as parseRfc7231DateTime, aM as parseRfc3339DateTimeWithOffset, aN as serializingStructIterator, aO as ProtocolLib, an as TypeRegistry } from './index-70Dm0f1N.mjs';
|
|
2
|
+
import { s as sdkStreamMixin } from './sdk-stream-mixin-ecbbBR0l.mjs';
|
|
3
3
|
|
|
4
4
|
function quoteHeader(part) {
|
|
5
5
|
if (part.includes(",") || part.includes('"')) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import 'zod';
|
|
2
2
|
import 'path';
|
|
3
3
|
import { r as resolveGetDotenvConfigSources } from './loader-CePOf74i.mjs';
|
|
4
|
+
import 'nanoid';
|
|
4
5
|
import 'fs-extra';
|
|
5
|
-
import { a as defaultsDeep, g as getDotenvCliOptions2Options, b as baseRootOptionDefaults, G as GetDotenvCli, c as attachRootOptions } from './readMergedOptions-DLBDzpXX.mjs';
|
|
6
6
|
import 'node:path';
|
|
7
|
+
import { a as defaultsDeep, g as getDotenvCliOptions2Options, b as baseRootOptionDefaults, G as GetDotenvCli, c as attachRootOptions } from './readMergedOptions-B7VdLROn.mjs';
|
|
7
8
|
import 'crypto';
|
|
8
9
|
import 'url';
|
|
9
|
-
import 'nanoid';
|
|
10
10
|
import 'dotenv';
|
|
11
11
|
import 'execa';
|
|
12
12
|
import { t as toHelpConfig } from './helpConfig-CGejgwWW.mjs';
|
|
13
|
-
import { r as resolveCliOptions } from './resolveCliOptions-
|
|
13
|
+
import { r as resolveCliOptions } from './resolveCliOptions-pgUXHJtj.mjs';
|
|
14
14
|
import { v as validateEnvAgainstSources } from './validate-CDl0rE6k.mjs';
|
|
15
15
|
import { awsPlugin } from '../plugins-aws.mjs';
|
|
16
|
-
import { a as awsWhoamiPlugin } from './index-
|
|
16
|
+
import { a as awsWhoamiPlugin } from './index-70Dm0f1N.mjs';
|
|
17
17
|
import { batchPlugin } from '../plugins-batch.mjs';
|
|
18
|
-
import { c as cmdPlugin } from './index-
|
|
18
|
+
import { c as cmdPlugin } from './index-r0Me7-sT.mjs';
|
|
19
19
|
import { initPlugin } from '../plugins-init.mjs';
|
|
20
20
|
|
|
21
21
|
const dbg = (...args) => {
|
package/dist/chunks/{externalDataInterceptor-pqHO-Qmn.mjs → externalDataInterceptor-CILOLqbB.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as tokenIntercept } from './getSSOTokenFromFile-
|
|
2
|
-
import { h as fileIntercept } from './index-
|
|
1
|
+
import { t as tokenIntercept } from './getSSOTokenFromFile-BwMkZ_yT.mjs';
|
|
2
|
+
import { h as fileIntercept } from './index-70Dm0f1N.mjs';
|
|
3
3
|
|
|
4
4
|
const externalDataInterceptor = {
|
|
5
5
|
getFileRecord() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFile } from 'fs/promises';
|
|
2
2
|
import { createHash } from 'crypto';
|
|
3
3
|
import { join } from 'path';
|
|
4
|
-
import { j as getHomeDir } from './index-
|
|
4
|
+
import { j as getHomeDir } from './index-70Dm0f1N.mjs';
|
|
5
5
|
|
|
6
6
|
const getSSOTokenFilepath = (id) => {
|
|
7
7
|
const hasher = createHash("sha1");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import fs from 'fs/promises';
|
|
2
|
-
import { C as CredentialsProviderError, H as HttpRequest, p as parseRfc3339DateTime, N as NodeHttpHandler, s as setCredentialFeature } from './index-
|
|
3
|
-
import { s as sdkStreamMixin } from './sdk-stream-mixin-
|
|
4
|
-
import './readMergedOptions-
|
|
2
|
+
import { C as CredentialsProviderError, H as HttpRequest, p as parseRfc3339DateTime, N as NodeHttpHandler, s as setCredentialFeature } from './index-70Dm0f1N.mjs';
|
|
3
|
+
import { s as sdkStreamMixin } from './sdk-stream-mixin-ecbbBR0l.mjs';
|
|
4
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@commander-js/extra-typings';
|
|
7
|
-
import './
|
|
7
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
8
8
|
import 'fs-extra';
|
|
9
9
|
import 'node:path';
|
|
10
10
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
11
11
|
import 'crypto';
|
|
12
12
|
import 'path';
|
|
13
13
|
import 'url';
|
|
14
|
-
import 'nanoid';
|
|
15
14
|
import 'dotenv';
|
|
15
|
+
import 'nanoid';
|
|
16
16
|
import './loader-CePOf74i.mjs';
|
|
17
17
|
import 'package-directory';
|
|
18
18
|
import 'yaml';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as definePlugin } from './readMergedOptions-
|
|
1
|
+
import { d as definePlugin } from './readMergedOptions-B7VdLROn.mjs';
|
|
2
2
|
import 'execa';
|
|
3
3
|
import 'fs-extra';
|
|
4
4
|
import 'node:path';
|
|
@@ -2182,7 +2182,7 @@ class HttpProtocol extends SerdeContext {
|
|
|
2182
2182
|
});
|
|
2183
2183
|
}
|
|
2184
2184
|
async loadEventStreamCapability() {
|
|
2185
|
-
const { EventStreamSerde } = await import('./index-
|
|
2185
|
+
const { EventStreamSerde } = await import('./index-D8UL3w94.mjs');
|
|
2186
2186
|
return new EventStreamSerde({
|
|
2187
2187
|
marshaller: this.getEventStreamMarshaller(),
|
|
2188
2188
|
serializer: this.serializer,
|
|
@@ -8483,10 +8483,10 @@ const fromEnv = (init) => async () => {
|
|
|
8483
8483
|
|
|
8484
8484
|
const ENV_IMDS_DISABLED$1 = "AWS_EC2_METADATA_DISABLED";
|
|
8485
8485
|
const remoteProvider = async (init) => {
|
|
8486
|
-
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import('./index-
|
|
8486
|
+
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import('./index-OeNCYa8T.mjs');
|
|
8487
8487
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
8488
8488
|
init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
8489
|
-
const { fromHttp } = await import('./index-
|
|
8489
|
+
const { fromHttp } = await import('./index-0-nP97ri.mjs');
|
|
8490
8490
|
return chain(fromHttp(init), fromContainerMetadata(init));
|
|
8491
8491
|
}
|
|
8492
8492
|
if (process.env[ENV_IMDS_DISABLED$1] && process.env[ENV_IMDS_DISABLED$1] !== "false") {
|
|
@@ -8590,22 +8590,22 @@ const defaultProvider = (init = {}) => memoizeChain([
|
|
|
8590
8590
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
8591
8591
|
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
8592
8592
|
}
|
|
8593
|
-
const { fromSSO } = await import('./index-
|
|
8593
|
+
const { fromSSO } = await import('./index-DWqbxY8Y.mjs');
|
|
8594
8594
|
return fromSSO(init)(awsIdentityProperties);
|
|
8595
8595
|
},
|
|
8596
8596
|
async (awsIdentityProperties) => {
|
|
8597
8597
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
8598
|
-
const { fromIni } = await import('./index-
|
|
8598
|
+
const { fromIni } = await import('./index-o5zJ9PWL.mjs');
|
|
8599
8599
|
return fromIni(init)(awsIdentityProperties);
|
|
8600
8600
|
},
|
|
8601
8601
|
async (awsIdentityProperties) => {
|
|
8602
8602
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
8603
|
-
const { fromProcess } = await import('./index-
|
|
8603
|
+
const { fromProcess } = await import('./index-DLNhHC15.mjs');
|
|
8604
8604
|
return fromProcess(init)(awsIdentityProperties);
|
|
8605
8605
|
},
|
|
8606
8606
|
async (awsIdentityProperties) => {
|
|
8607
8607
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
8608
|
-
const { fromTokenFile } = await import('./index-
|
|
8608
|
+
const { fromTokenFile } = await import('./index-BhVOypA1.mjs');
|
|
8609
8609
|
return fromTokenFile(init)(awsIdentityProperties);
|
|
8610
8610
|
},
|
|
8611
8611
|
async () => {
|
|
@@ -8778,7 +8778,7 @@ const inferPhysicalRegion = async () => {
|
|
|
8778
8778
|
}
|
|
8779
8779
|
if (!process.env[ENV_IMDS_DISABLED]) {
|
|
8780
8780
|
try {
|
|
8781
|
-
const { getInstanceMetadataEndpoint, httpRequest } = await import('./index-
|
|
8781
|
+
const { getInstanceMetadataEndpoint, httpRequest } = await import('./index-OeNCYa8T.mjs');
|
|
8782
8782
|
const endpoint = await getInstanceMetadataEndpoint();
|
|
8783
8783
|
return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString();
|
|
8784
8784
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { readFileSync } from 'fs';
|
|
2
|
-
import { e as externalDataInterceptor } from './externalDataInterceptor-
|
|
3
|
-
import { C as CredentialsProviderError, s as setCredentialFeature } from './index-
|
|
4
|
-
import './getSSOTokenFromFile-
|
|
2
|
+
import { e as externalDataInterceptor } from './externalDataInterceptor-CILOLqbB.mjs';
|
|
3
|
+
import { C as CredentialsProviderError, s as setCredentialFeature } from './index-70Dm0f1N.mjs';
|
|
4
|
+
import './getSSOTokenFromFile-BwMkZ_yT.mjs';
|
|
5
5
|
import 'fs/promises';
|
|
6
6
|
import 'crypto';
|
|
7
7
|
import 'path';
|
|
8
|
-
import './readMergedOptions-
|
|
8
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
import '@commander-js/extra-typings';
|
|
11
|
-
import './
|
|
11
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
12
12
|
import 'fs-extra';
|
|
13
13
|
import 'node:path';
|
|
14
14
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
15
15
|
import 'url';
|
|
16
|
-
import 'nanoid';
|
|
17
16
|
import 'dotenv';
|
|
17
|
+
import 'nanoid';
|
|
18
18
|
import './loader-CePOf74i.mjs';
|
|
19
19
|
import 'package-directory';
|
|
20
20
|
import 'yaml';
|
|
@@ -33,7 +33,7 @@ const fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
|
33
33
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
34
34
|
let { roleAssumerWithWebIdentity } = init;
|
|
35
35
|
if (!roleAssumerWithWebIdentity) {
|
|
36
|
-
const { getDefaultRoleAssumerWithWebIdentity } = await import('./index-
|
|
36
|
+
const { getDefaultRoleAssumerWithWebIdentity } = await import('./index-CcwT4HJK.mjs');
|
|
37
37
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
38
38
|
...init.clientConfig,
|
|
39
39
|
credentialProviderLogger: init.logger,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { O as loadConfig, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, aP as AwsQueryProtocol, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin, s as setCredentialFeature } from './index-
|
|
1
|
+
import { O as loadConfig, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, aP as AwsQueryProtocol, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin, s as setCredentialFeature } from './index-70Dm0f1N.mjs';
|
|
2
2
|
import { p as packageInfo } from './package-boo9EyYs.mjs';
|
|
3
|
-
import './readMergedOptions-
|
|
3
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@commander-js/extra-typings';
|
|
6
|
-
import './
|
|
6
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
7
7
|
import 'fs-extra';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
10
10
|
import 'crypto';
|
|
11
11
|
import 'path';
|
|
12
12
|
import 'url';
|
|
13
|
-
import 'nanoid';
|
|
14
13
|
import 'dotenv';
|
|
14
|
+
import 'nanoid';
|
|
15
15
|
import './loader-CePOf74i.mjs';
|
|
16
16
|
import 'package-directory';
|
|
17
17
|
import 'yaml';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as toUtf8, i as fromUtf8 } from './index-
|
|
2
|
-
import './readMergedOptions-
|
|
1
|
+
import { t as toUtf8, i as fromUtf8 } from './index-70Dm0f1N.mjs';
|
|
2
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@commander-js/extra-typings';
|
|
5
|
-
import './
|
|
5
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
6
6
|
import 'fs-extra';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
9
9
|
import 'crypto';
|
|
10
10
|
import 'path';
|
|
11
11
|
import 'url';
|
|
12
|
-
import 'nanoid';
|
|
13
12
|
import 'dotenv';
|
|
13
|
+
import 'nanoid';
|
|
14
14
|
import './loader-CePOf74i.mjs';
|
|
15
15
|
import 'package-directory';
|
|
16
16
|
import 'yaml';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { exec } from 'child_process';
|
|
2
2
|
import { promisify } from 'util';
|
|
3
|
-
import { s as setCredentialFeature, C as CredentialsProviderError, k as getProfileName } from './index-
|
|
4
|
-
import { e as externalDataInterceptor } from './externalDataInterceptor-
|
|
5
|
-
import { p as parseKnownFiles } from './parseKnownFiles-
|
|
6
|
-
import './readMergedOptions-
|
|
3
|
+
import { s as setCredentialFeature, C as CredentialsProviderError, k as getProfileName } from './index-70Dm0f1N.mjs';
|
|
4
|
+
import { e as externalDataInterceptor } from './externalDataInterceptor-CILOLqbB.mjs';
|
|
5
|
+
import { p as parseKnownFiles } from './parseKnownFiles-BQvmJ0HK.mjs';
|
|
6
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '@commander-js/extra-typings';
|
|
9
|
-
import './
|
|
9
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
10
10
|
import 'fs-extra';
|
|
11
11
|
import 'node:path';
|
|
12
12
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
13
13
|
import 'crypto';
|
|
14
14
|
import 'path';
|
|
15
15
|
import 'url';
|
|
16
|
-
import 'nanoid';
|
|
17
16
|
import 'dotenv';
|
|
17
|
+
import 'nanoid';
|
|
18
18
|
import './loader-CePOf74i.mjs';
|
|
19
19
|
import 'package-directory';
|
|
20
20
|
import 'yaml';
|
|
@@ -27,7 +27,7 @@ import 'https';
|
|
|
27
27
|
import 'stream';
|
|
28
28
|
import 'process';
|
|
29
29
|
import 'node:fs';
|
|
30
|
-
import './getSSOTokenFromFile-
|
|
30
|
+
import './getSSOTokenFromFile-BwMkZ_yT.mjs';
|
|
31
31
|
import 'fs/promises';
|
|
32
32
|
|
|
33
33
|
const getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { aq as ProviderError, ar as IniSectionType, as as CONFIG_PREFIX_SEPARATOR, v as readFile, at as getConfigFilepath, au as parseIni, k as getProfileName, C as CredentialsProviderError, s as setCredentialFeature } from './index-
|
|
1
|
+
import { aq as ProviderError, ar as IniSectionType, as as CONFIG_PREFIX_SEPARATOR, v as readFile, at as getConfigFilepath, au as parseIni, k as getProfileName, C as CredentialsProviderError, s as setCredentialFeature } from './index-70Dm0f1N.mjs';
|
|
2
2
|
import { promises } from 'fs';
|
|
3
|
-
import { g as getSSOTokenFilepath, a as getSSOTokenFromFile } from './getSSOTokenFromFile-
|
|
4
|
-
import { p as parseKnownFiles } from './parseKnownFiles-
|
|
5
|
-
import './readMergedOptions-
|
|
3
|
+
import { g as getSSOTokenFilepath, a as getSSOTokenFromFile } from './getSSOTokenFromFile-BwMkZ_yT.mjs';
|
|
4
|
+
import { p as parseKnownFiles } from './parseKnownFiles-BQvmJ0HK.mjs';
|
|
5
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@commander-js/extra-typings';
|
|
8
|
-
import './
|
|
8
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
9
9
|
import 'fs-extra';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
12
12
|
import 'crypto';
|
|
13
13
|
import 'path';
|
|
14
14
|
import 'url';
|
|
15
|
-
import 'nanoid';
|
|
16
15
|
import 'dotenv';
|
|
16
|
+
import 'nanoid';
|
|
17
17
|
import './loader-CePOf74i.mjs';
|
|
18
18
|
import 'package-directory';
|
|
19
19
|
import 'yaml';
|
|
@@ -57,7 +57,7 @@ const EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
|
|
57
57
|
const REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
58
58
|
|
|
59
59
|
const getSsoOidcClient = async (ssoRegion, init = {}) => {
|
|
60
|
-
const { SSOOIDCClient } = await import('./index-
|
|
60
|
+
const { SSOOIDCClient } = await import('./index-Du51s-Z0.mjs');
|
|
61
61
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop];
|
|
62
62
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
63
63
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
@@ -68,7 +68,7 @@ const getSsoOidcClient = async (ssoRegion, init = {}) => {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
const getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}) => {
|
|
71
|
-
const { CreateTokenCommand } = await import('./index-
|
|
71
|
+
const { CreateTokenCommand } = await import('./index-Du51s-Z0.mjs');
|
|
72
72
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init);
|
|
73
73
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
74
74
|
clientId: ssoToken.clientId,
|
|
@@ -221,7 +221,7 @@ const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ss
|
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
const { accessToken } = token;
|
|
224
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import('./loadSso-
|
|
224
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import('./loadSso-CLR1fKci.mjs');
|
|
225
225
|
const sso = ssoClient ||
|
|
226
226
|
new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
227
227
|
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, O as loadConfig, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin } from './index-
|
|
1
|
+
import { w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, O as loadConfig, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin } from './index-70Dm0f1N.mjs';
|
|
2
2
|
import { p as packageInfo } from './package-boo9EyYs.mjs';
|
|
3
|
-
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-
|
|
4
|
-
import './readMergedOptions-
|
|
3
|
+
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-fYZqn-kW.mjs';
|
|
4
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@commander-js/extra-typings';
|
|
7
|
-
import './
|
|
7
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
8
8
|
import 'fs-extra';
|
|
9
9
|
import 'node:path';
|
|
10
10
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
11
11
|
import 'crypto';
|
|
12
12
|
import 'path';
|
|
13
13
|
import 'url';
|
|
14
|
-
import 'nanoid';
|
|
15
14
|
import 'dotenv';
|
|
15
|
+
import 'nanoid';
|
|
16
16
|
import './loader-CePOf74i.mjs';
|
|
17
17
|
import 'package-directory';
|
|
18
18
|
import 'yaml';
|
|
@@ -25,7 +25,7 @@ import 'https';
|
|
|
25
25
|
import 'stream';
|
|
26
26
|
import 'process';
|
|
27
27
|
import 'node:fs';
|
|
28
|
-
import './sdk-stream-mixin-
|
|
28
|
+
import './sdk-stream-mixin-ecbbBR0l.mjs';
|
|
29
29
|
|
|
30
30
|
const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
31
31
|
return {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, O as loadConfig, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin } from './index-
|
|
1
|
+
import { w as resolveAwsSdkSigV4Config, x as normalizeProvider, y as getSmithyContext, z as EndpointCache, A as resolveEndpoint, B as awsEndpointFunctions, D as customEndpointFunctions, t as toUtf8, i as fromUtf8, F as parseUrl, G as NoOpLogger, I as AwsSdkSigV4Signer, J as NoAuthSigner, n as toBase64, m as fromBase64, K as emitWarningIfUnsupportedVersion, L as resolveDefaultsModeConfig, M as emitWarningIfUnsupportedVersion$1, O as loadConfig, r as streamCollector, P as Hash, N as NodeHttpHandler, Q as createDefaultUserAgentProvider, R as calculateBodyLength, S as NODE_APP_ID_CONFIG_OPTIONS, T as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, U as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as DEFAULT_RETRY_MODE, X as NODE_REGION_CONFIG_FILE_OPTIONS, Y as NODE_REGION_CONFIG_OPTIONS, Z as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, _ as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, $ as loadConfigsForDefaultMode, a0 as getAwsRegionExtensionConfiguration, a1 as getDefaultExtensionConfiguration, a2 as getHttpHandlerExtensionConfiguration, a3 as resolveAwsRegionExtensionConfiguration, a4 as resolveDefaultRuntimeConfig, a5 as resolveHttpHandlerRuntimeConfig, a6 as Client, a7 as resolveUserAgentConfig, a8 as resolveRetryConfig, a9 as resolveRegionConfig, aa as resolveEndpointConfig, ab as resolveHostHeaderConfig, ac as getSchemaSerdePlugin, ad as getUserAgentPlugin, ae as getRetryPlugin, af as getContentLengthPlugin, ag as getHostHeaderPlugin, ah as getLoggerPlugin, ai as getRecursionDetectionPlugin, aj as getHttpAuthSchemeEndpointRuleSetPlugin, ak as DefaultIdentityProviderConfig, al as getHttpSigningPlugin, am as ServiceException, an as TypeRegistry, ao as Command, ap as getEndpointPlugin } from './index-70Dm0f1N.mjs';
|
|
2
2
|
import { p as packageInfo } from './package-boo9EyYs.mjs';
|
|
3
|
-
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-
|
|
4
|
-
import './readMergedOptions-
|
|
3
|
+
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol-fYZqn-kW.mjs';
|
|
4
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@commander-js/extra-typings';
|
|
7
|
-
import './
|
|
7
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
8
8
|
import 'fs-extra';
|
|
9
9
|
import 'node:path';
|
|
10
10
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
11
11
|
import 'crypto';
|
|
12
12
|
import 'path';
|
|
13
13
|
import 'url';
|
|
14
|
-
import 'nanoid';
|
|
15
14
|
import 'dotenv';
|
|
15
|
+
import 'nanoid';
|
|
16
16
|
import './loader-CePOf74i.mjs';
|
|
17
17
|
import 'package-directory';
|
|
18
18
|
import 'yaml';
|
|
@@ -25,7 +25,7 @@ import 'https';
|
|
|
25
25
|
import 'stream';
|
|
26
26
|
import 'process';
|
|
27
27
|
import 'node:fs';
|
|
28
|
-
import './sdk-stream-mixin-
|
|
28
|
+
import './sdk-stream-mixin-ecbbBR0l.mjs';
|
|
29
29
|
|
|
30
30
|
const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
31
31
|
return {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { parse } from 'url';
|
|
2
2
|
import { Buffer } from 'buffer';
|
|
3
3
|
import { request } from 'http';
|
|
4
|
-
import { aq as ProviderError, C as CredentialsProviderError, F as parseUrl, O as loadConfig } from './index-
|
|
5
|
-
import './readMergedOptions-
|
|
4
|
+
import { aq as ProviderError, C as CredentialsProviderError, F as parseUrl, O as loadConfig } from './index-70Dm0f1N.mjs';
|
|
5
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@commander-js/extra-typings';
|
|
8
|
-
import './
|
|
8
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
9
9
|
import 'fs-extra';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
12
12
|
import 'crypto';
|
|
13
13
|
import 'path';
|
|
14
|
-
import 'nanoid';
|
|
15
14
|
import 'dotenv';
|
|
15
|
+
import 'nanoid';
|
|
16
16
|
import './loader-CePOf74i.mjs';
|
|
17
17
|
import 'package-directory';
|
|
18
18
|
import 'yaml';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { f as ENV_ACCOUNT_ID, e as ENV_CREDENTIAL_SCOPE, d as ENV_EXPIRATION, E as ENV_KEY, b as ENV_SECRET, c as ENV_SESSION, g as fromEnv } from './index-
|
|
2
|
-
import './readMergedOptions-
|
|
1
|
+
export { f as ENV_ACCOUNT_ID, e as ENV_CREDENTIAL_SCOPE, d as ENV_EXPIRATION, E as ENV_KEY, b as ENV_SECRET, c as ENV_SESSION, g as fromEnv } from './index-70Dm0f1N.mjs';
|
|
2
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@commander-js/extra-typings';
|
|
5
|
-
import './
|
|
5
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
6
6
|
import 'fs-extra';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
9
9
|
import 'crypto';
|
|
10
10
|
import 'path';
|
|
11
11
|
import 'url';
|
|
12
|
-
import 'nanoid';
|
|
13
12
|
import 'dotenv';
|
|
13
|
+
import 'nanoid';
|
|
14
14
|
import './loader-CePOf74i.mjs';
|
|
15
15
|
import 'package-directory';
|
|
16
16
|
import 'yaml';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { C as CredentialsProviderError, s as setCredentialFeature, u as chain, k as getProfileName, v as readFile, H as HttpRequest } from './index-
|
|
1
|
+
import { C as CredentialsProviderError, s as setCredentialFeature, u as chain, k as getProfileName, v as readFile, H as HttpRequest } from './index-70Dm0f1N.mjs';
|
|
2
2
|
import { createHash, createPrivateKey, createPublicKey, sign } from 'node:crypto';
|
|
3
3
|
import { promises } from 'node:fs';
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import { dirname, join } from 'node:path';
|
|
6
|
-
import { p as parseKnownFiles } from './parseKnownFiles-
|
|
7
|
-
import './readMergedOptions-
|
|
6
|
+
import { p as parseKnownFiles } from './parseKnownFiles-BQvmJ0HK.mjs';
|
|
7
|
+
import './readMergedOptions-B7VdLROn.mjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '@commander-js/extra-typings';
|
|
10
|
-
import './
|
|
10
|
+
import './readDotenvCascade-DfFkWMjs.mjs';
|
|
11
11
|
import 'fs-extra';
|
|
12
12
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
13
13
|
import 'crypto';
|
|
14
14
|
import 'path';
|
|
15
15
|
import 'url';
|
|
16
|
-
import 'nanoid';
|
|
17
16
|
import 'dotenv';
|
|
17
|
+
import 'nanoid';
|
|
18
18
|
import './loader-CePOf74i.mjs';
|
|
19
19
|
import 'package-directory';
|
|
20
20
|
import 'yaml';
|
|
@@ -30,19 +30,19 @@ import 'process';
|
|
|
30
30
|
const resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
31
31
|
const sourceProvidersMap = {
|
|
32
32
|
EcsContainer: async (options) => {
|
|
33
|
-
const { fromHttp } = await import('./index-
|
|
34
|
-
const { fromContainerMetadata } = await import('./index-
|
|
33
|
+
const { fromHttp } = await import('./index-0-nP97ri.mjs');
|
|
34
|
+
const { fromContainerMetadata } = await import('./index-OeNCYa8T.mjs');
|
|
35
35
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
36
36
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
37
37
|
},
|
|
38
38
|
Ec2InstanceMetadata: async (options) => {
|
|
39
39
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
40
|
-
const { fromInstanceMetadata } = await import('./index-
|
|
40
|
+
const { fromInstanceMetadata } = await import('./index-OeNCYa8T.mjs');
|
|
41
41
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
42
42
|
},
|
|
43
43
|
Environment: async (options) => {
|
|
44
44
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
45
|
-
const { fromEnv } = await import('./index-
|
|
45
|
+
const { fromEnv } = await import('./index-_FP0whjC.mjs');
|
|
46
46
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
@@ -84,7 +84,7 @@ const resolveAssumeRoleCredentials = async (profileName, profiles, options, visi
|
|
|
84
84
|
const profileData = profiles[profileName];
|
|
85
85
|
const { source_profile, region } = profileData;
|
|
86
86
|
if (!options.roleAssumer) {
|
|
87
|
-
const { getDefaultRoleAssumer } = await import('./index-
|
|
87
|
+
const { getDefaultRoleAssumer } = await import('./index-CcwT4HJK.mjs');
|
|
88
88
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
89
89
|
...options.clientConfig,
|
|
90
90
|
credentialProviderLogger: options.logger,
|
|
@@ -169,7 +169,7 @@ class LoginCredentialsFetcher {
|
|
|
169
169
|
return this.profileData.login_session;
|
|
170
170
|
}
|
|
171
171
|
async refresh(token) {
|
|
172
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import('./index-
|
|
172
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import('./index-DuSz0ul6.mjs');
|
|
173
173
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
174
174
|
const isH2 = (requestHandler) => {
|
|
175
175
|
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
@@ -418,13 +418,13 @@ const resolveLoginCredentials = async (profileName, options) => {
|
|
|
418
418
|
};
|
|
419
419
|
|
|
420
420
|
const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
421
|
-
const resolveProcessCredentials = async (options, profile) => import('./index-
|
|
421
|
+
const resolveProcessCredentials = async (options, profile) => import('./index-DLNhHC15.mjs').then(({ fromProcess }) => fromProcess({
|
|
422
422
|
...options,
|
|
423
423
|
profile,
|
|
424
424
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
425
425
|
|
|
426
426
|
const resolveSsoCredentials = async (profile, profileData, options = {}) => {
|
|
427
|
-
const { fromSSO } = await import('./index-
|
|
427
|
+
const { fromSSO } = await import('./index-DWqbxY8Y.mjs');
|
|
428
428
|
return fromSSO({
|
|
429
429
|
profile,
|
|
430
430
|
logger: options.logger,
|
|
@@ -469,7 +469,7 @@ const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
469
469
|
typeof arg.web_identity_token_file === "string" &&
|
|
470
470
|
typeof arg.role_arn === "string" &&
|
|
471
471
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
472
|
-
const resolveWebIdentityCredentials = async (profile, options) => import('./index-
|
|
472
|
+
const resolveWebIdentityCredentials = async (profile, options) => import('./index-BhVOypA1.mjs').then(({ fromTokenFile }) => fromTokenFile({
|
|
473
473
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
474
474
|
roleArn: profile.role_arn,
|
|
475
475
|
roleSessionName: profile.role_session_name,
|