@karmaniverous/get-dotenv 7.0.0 → 7.0.2
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-DeiE3wkO.mjs → AwsRestJsonProtocol-Bh3OvjNM.mjs} +158 -81
- package/dist/chunks/{createCli-B9-MIwWj.mjs → createCli-wmAcTdWR.mjs} +4 -4
- package/dist/chunks/{externalDataInterceptor-gi2RH4ez.mjs → externalDataInterceptor-BBvsYwZE.mjs} +2 -2
- package/dist/chunks/{getSSOTokenFromFile-BfAhZf_d.mjs → getSSOTokenFromFile-BSeYpbLi.mjs} +4 -4
- package/dist/chunks/{index-98yxYe1W.mjs → index-BZrYAvLs.mjs} +281 -205
- package/dist/chunks/{index-CAtxK29A.mjs → index-BhMXFr37.mjs} +12 -9
- package/dist/chunks/{index-DY7wYcXW.mjs → index-C-9h7h7x.mjs} +14 -17
- package/dist/chunks/{index-AssUn9IY.mjs → index-CGG9e0xu.mjs} +11157 -8059
- package/dist/chunks/{index-CMSCF_uw.mjs → index-CQoEnkSc.mjs} +493 -254
- package/dist/chunks/{index-xRi3oKvY.mjs → index-CnnI9zSQ.mjs} +10 -12
- package/dist/chunks/{index-D8S1lJ24.mjs → index-DLciMnJ6.mjs} +271 -181
- package/dist/chunks/{index-B6r8O7PJ.mjs → index-DmynYewb.mjs} +14 -17
- package/dist/chunks/{index-C21RHLO4.mjs → index-DyRIwYWf.mjs} +33 -18
- package/dist/chunks/{index-mPj0Vhpw.mjs → index-GcL_Hrrr.mjs} +13 -15
- package/dist/chunks/{index-DfvhftMN.mjs → index-aUz_8rS_.mjs} +29 -28
- package/dist/chunks/index-cIL2r09o.mjs +31 -0
- package/dist/chunks/{index-Ccay5Db0.mjs → index-tlD9zcww.mjs} +16 -19
- package/dist/chunks/{loadSso-C-y9gQEz.mjs → loadSso-9hx2nl0k.mjs} +242 -180
- package/dist/chunks/{package-DiDNabNr.mjs → package-DbbYaehr.mjs} +1 -1
- package/dist/chunks/{parseKnownFiles-KczcjlE0.mjs → parseKnownFiles-CewXrtbo.mjs} +1 -1
- package/dist/chunks/{readDotenvCascade-HLU7FsEQ.mjs → readDotenvCascade-Dgx4SC1p.mjs} +3 -7
- package/dist/chunks/{readMergedOptions-D6niy_Ep.mjs → readMergedOptions-atT1xkoe.mjs} +5 -3
- package/dist/chunks/{resolveCliOptions-PWF1aEM9.mjs → resolveCliOptions-BLSqCGm7.mjs} +1 -1
- package/dist/chunks/{sdk-stream-mixin-blFikF4G.mjs → sdk-stream-mixin-CMdQ7nO8.mjs} +145 -5
- package/dist/chunks/{spawnEnv-5kdIVv0x.mjs → spawnEnv-CKgnHGpr.mjs} +5 -5
- package/dist/chunks/{types-Bp3u5-IH.mjs → types-BdKCfPRW.mjs} +1 -1
- package/dist/cli.mjs +12 -14
- package/dist/cliHost.mjs +5 -5
- package/dist/env-overlay.mjs +2 -2
- package/dist/getdotenv.cli.mjs +12 -14
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +16 -18
- package/dist/plugins-aws.mjs +3 -3
- package/dist/plugins-batch.mjs +3 -3
- package/dist/plugins-cmd.mjs +5 -5
- package/dist/plugins-init.mjs +4 -4
- package/dist/plugins.mjs +11 -13
- package/package.json +1 -1
- package/dist/chunks/index-DtdHVcXz.mjs +0 -27
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './
|
|
1
|
+
import 'node:crypto';
|
|
2
|
+
import { aT as toUtf8, a8 as fromUtf8 } from './index-CGG9e0xu.mjs';
|
|
3
|
+
import './readMergedOptions-atT1xkoe.mjs';
|
|
3
4
|
import 'zod';
|
|
4
5
|
import '@commander-js/extra-typings';
|
|
5
|
-
import './readDotenvCascade-
|
|
6
|
+
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
6
7
|
import 'fs-extra';
|
|
7
8
|
import 'radash';
|
|
8
9
|
import 'node:buffer';
|
|
@@ -17,14 +18,12 @@ import './loader-CE4HSRN4.mjs';
|
|
|
17
18
|
import 'package-directory';
|
|
18
19
|
import 'yaml';
|
|
19
20
|
import 'execa';
|
|
20
|
-
import '
|
|
21
|
-
import 'os';
|
|
21
|
+
import 'node:os';
|
|
22
22
|
import 'node:fs/promises';
|
|
23
|
-
import '
|
|
24
|
-
import 'https';
|
|
25
|
-
import 'stream';
|
|
26
|
-
import 'process';
|
|
23
|
+
import 'node:stream';
|
|
27
24
|
import 'node:fs';
|
|
25
|
+
import 'node:https';
|
|
26
|
+
import 'node:process';
|
|
28
27
|
|
|
29
28
|
class EventStreamSerde {
|
|
30
29
|
marshaller;
|
|
@@ -74,9 +73,13 @@ class EventStreamSerde {
|
|
|
74
73
|
body: event.body,
|
|
75
74
|
};
|
|
76
75
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
let unionMember = "";
|
|
77
|
+
for (const key in event) {
|
|
78
|
+
if (key !== "__type") {
|
|
79
|
+
unionMember = key;
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
80
83
|
const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event);
|
|
81
84
|
const headers = {
|
|
82
85
|
":event-type": { type: "string", value: eventType },
|
|
@@ -97,9 +100,13 @@ class EventStreamSerde {
|
|
|
97
100
|
const memberSchemas = unionSchema.getMemberSchemas();
|
|
98
101
|
const initialResponseMarker = Symbol("initialResponseMarker");
|
|
99
102
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
+
let unionMember = "";
|
|
104
|
+
for (const key in event) {
|
|
105
|
+
if (key !== "__type") {
|
|
106
|
+
unionMember = key;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
103
110
|
const body = event[unionMember].body;
|
|
104
111
|
if (unionMember === "initial-response") {
|
|
105
112
|
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
@@ -150,6 +157,11 @@ class EventStreamSerde {
|
|
|
150
157
|
[unionMember]: out,
|
|
151
158
|
};
|
|
152
159
|
}
|
|
160
|
+
if (body.byteLength === 0) {
|
|
161
|
+
return {
|
|
162
|
+
[unionMember]: {},
|
|
163
|
+
};
|
|
164
|
+
}
|
|
153
165
|
}
|
|
154
166
|
return {
|
|
155
167
|
[unionMember]: await this.deserializer.read(eventStreamSchema, body),
|
|
@@ -170,8 +182,8 @@ class EventStreamSerde {
|
|
|
170
182
|
if (!responseSchema) {
|
|
171
183
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
172
184
|
}
|
|
173
|
-
for (const
|
|
174
|
-
initialResponseContainer[key] = value;
|
|
185
|
+
for (const key in firstEvent.value) {
|
|
186
|
+
initialResponseContainer[key] = firstEvent.value[key];
|
|
175
187
|
}
|
|
176
188
|
}
|
|
177
189
|
return {
|
|
@@ -255,11 +267,14 @@ class EventStreamSerde {
|
|
|
255
267
|
serializer.write(eventSchema, event[unionMember]);
|
|
256
268
|
}
|
|
257
269
|
}
|
|
270
|
+
else if (eventSchema.isUnitSchema()) {
|
|
271
|
+
serializer.write(eventSchema, {});
|
|
272
|
+
}
|
|
258
273
|
else {
|
|
259
274
|
throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");
|
|
260
275
|
}
|
|
261
276
|
}
|
|
262
|
-
const messageSerialization = serializer.flush();
|
|
277
|
+
const messageSerialization = serializer.flush() ?? new Uint8Array();
|
|
263
278
|
const body = typeof messageSerialization === "string"
|
|
264
279
|
? (this.serdeContext?.utf8Decoder ?? fromUtf8)(messageSerialization)
|
|
265
280
|
: messageSerialization;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { exec } from 'child_process';
|
|
2
|
-
import { promisify } from 'util';
|
|
3
|
-
import {
|
|
4
|
-
import { e as externalDataInterceptor } from './externalDataInterceptor-
|
|
5
|
-
import { p as parseKnownFiles } from './parseKnownFiles-
|
|
6
|
-
import './readMergedOptions-
|
|
1
|
+
import { exec } from 'node:child_process';
|
|
2
|
+
import { promisify } from 'node:util';
|
|
3
|
+
import { aO as setCredentialFeature, e as CredentialsProviderError, al as getProfileName } from './index-CGG9e0xu.mjs';
|
|
4
|
+
import { e as externalDataInterceptor } from './externalDataInterceptor-BBvsYwZE.mjs';
|
|
5
|
+
import { p as parseKnownFiles } from './parseKnownFiles-CewXrtbo.mjs';
|
|
6
|
+
import './readMergedOptions-atT1xkoe.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '@commander-js/extra-typings';
|
|
9
|
-
import './readDotenvCascade-
|
|
9
|
+
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
10
10
|
import 'fs-extra';
|
|
11
11
|
import 'radash';
|
|
12
12
|
import 'node:buffer';
|
|
@@ -21,16 +21,14 @@ import './loader-CE4HSRN4.mjs';
|
|
|
21
21
|
import 'package-directory';
|
|
22
22
|
import 'yaml';
|
|
23
23
|
import 'execa';
|
|
24
|
-
import '
|
|
25
|
-
import 'os';
|
|
24
|
+
import 'node:os';
|
|
26
25
|
import 'node:fs/promises';
|
|
27
|
-
import '
|
|
28
|
-
import '
|
|
29
|
-
import 'stream';
|
|
30
|
-
import 'process';
|
|
26
|
+
import 'node:stream';
|
|
27
|
+
import 'node:crypto';
|
|
31
28
|
import 'node:fs';
|
|
32
|
-
import '
|
|
33
|
-
import '
|
|
29
|
+
import 'node:https';
|
|
30
|
+
import 'node:process';
|
|
31
|
+
import './getSSOTokenFromFile-BSeYpbLi.mjs';
|
|
34
32
|
|
|
35
33
|
const getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
36
34
|
if (data.Version !== 1) {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { parse } from 'url';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import './readMergedOptions-D6niy_Ep.mjs';
|
|
1
|
+
import { parse } from 'node:url';
|
|
2
|
+
import { request } from 'node:http';
|
|
3
|
+
import { J as ProviderError, e as CredentialsProviderError, aA as parseUrl, ar as loadConfig } from './index-CGG9e0xu.mjs';
|
|
4
|
+
import './readMergedOptions-atT1xkoe.mjs';
|
|
6
5
|
import 'zod';
|
|
7
6
|
import '@commander-js/extra-typings';
|
|
8
|
-
import './readDotenvCascade-
|
|
7
|
+
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
9
8
|
import 'fs-extra';
|
|
10
9
|
import 'radash';
|
|
11
10
|
import 'node:buffer';
|
|
@@ -13,18 +12,38 @@ import 'node:path';
|
|
|
13
12
|
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
14
13
|
import 'crypto';
|
|
15
14
|
import 'path';
|
|
15
|
+
import 'url';
|
|
16
16
|
import 'dotenv';
|
|
17
17
|
import 'nanoid';
|
|
18
18
|
import './loader-CE4HSRN4.mjs';
|
|
19
19
|
import 'package-directory';
|
|
20
20
|
import 'yaml';
|
|
21
21
|
import 'execa';
|
|
22
|
-
import 'os';
|
|
22
|
+
import 'node:os';
|
|
23
23
|
import 'node:fs/promises';
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import 'process';
|
|
24
|
+
import 'node:stream';
|
|
25
|
+
import 'node:crypto';
|
|
27
26
|
import 'node:fs';
|
|
27
|
+
import 'node:https';
|
|
28
|
+
import 'node:process';
|
|
29
|
+
|
|
30
|
+
const isImdsCredentials = (arg) => Boolean(arg) &&
|
|
31
|
+
typeof arg === "object" &&
|
|
32
|
+
typeof arg.AccessKeyId === "string" &&
|
|
33
|
+
typeof arg.SecretAccessKey === "string" &&
|
|
34
|
+
typeof arg.Token === "string" &&
|
|
35
|
+
typeof arg.Expiration === "string";
|
|
36
|
+
const fromImdsCredentials = (creds) => ({
|
|
37
|
+
accessKeyId: creds.AccessKeyId,
|
|
38
|
+
secretAccessKey: creds.SecretAccessKey,
|
|
39
|
+
sessionToken: creds.Token,
|
|
40
|
+
expiration: new Date(creds.Expiration),
|
|
41
|
+
...(creds.AccountId && { accountId: creds.AccountId }),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
const DEFAULT_TIMEOUT = 1000;
|
|
45
|
+
const DEFAULT_MAX_RETRIES = 0;
|
|
46
|
+
const providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout });
|
|
28
47
|
|
|
29
48
|
function httpRequest(options) {
|
|
30
49
|
return new Promise((resolve, reject) => {
|
|
@@ -60,24 +79,6 @@ function httpRequest(options) {
|
|
|
60
79
|
});
|
|
61
80
|
}
|
|
62
81
|
|
|
63
|
-
const isImdsCredentials = (arg) => Boolean(arg) &&
|
|
64
|
-
typeof arg === "object" &&
|
|
65
|
-
typeof arg.AccessKeyId === "string" &&
|
|
66
|
-
typeof arg.SecretAccessKey === "string" &&
|
|
67
|
-
typeof arg.Token === "string" &&
|
|
68
|
-
typeof arg.Expiration === "string";
|
|
69
|
-
const fromImdsCredentials = (creds) => ({
|
|
70
|
-
accessKeyId: creds.AccessKeyId,
|
|
71
|
-
secretAccessKey: creds.SecretAccessKey,
|
|
72
|
-
sessionToken: creds.Token,
|
|
73
|
-
expiration: new Date(creds.Expiration),
|
|
74
|
-
...(creds.AccountId && { accountId: creds.AccountId }),
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
const DEFAULT_TIMEOUT = 1000;
|
|
78
|
-
const DEFAULT_MAX_RETRIES = 0;
|
|
79
|
-
const providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT, }) => ({ maxRetries, timeout });
|
|
80
|
-
|
|
81
82
|
const retry = (toRetry, maxRetries) => {
|
|
82
83
|
let promise = toRetry();
|
|
83
84
|
for (let i = 0; i < maxRetries; i++) {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { a7 as fromEnv } from './index-CGG9e0xu.mjs';
|
|
2
|
+
export { E as ENV_ACCOUNT_ID, g as ENV_CREDENTIAL_SCOPE, h as ENV_EXPIRATION, i as ENV_KEY, j as ENV_SECRET, k as ENV_SESSION } from './index-CGG9e0xu.mjs';
|
|
3
|
+
import './readMergedOptions-atT1xkoe.mjs';
|
|
4
|
+
import 'zod';
|
|
5
|
+
import '@commander-js/extra-typings';
|
|
6
|
+
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
7
|
+
import 'fs-extra';
|
|
8
|
+
import 'radash';
|
|
9
|
+
import 'node:buffer';
|
|
10
|
+
import 'node:path';
|
|
11
|
+
import './loadModuleDefault-Dj8B3Stt.mjs';
|
|
12
|
+
import 'crypto';
|
|
13
|
+
import 'path';
|
|
14
|
+
import 'url';
|
|
15
|
+
import 'dotenv';
|
|
16
|
+
import 'nanoid';
|
|
17
|
+
import './loader-CE4HSRN4.mjs';
|
|
18
|
+
import 'package-directory';
|
|
19
|
+
import 'yaml';
|
|
20
|
+
import 'execa';
|
|
21
|
+
import 'node:os';
|
|
22
|
+
import 'node:fs/promises';
|
|
23
|
+
import 'node:stream';
|
|
24
|
+
import 'node:crypto';
|
|
25
|
+
import 'node:fs';
|
|
26
|
+
import 'node:https';
|
|
27
|
+
import 'node:process';
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export { fromEnv };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as CredentialsProviderError, W as chain, aO as setCredentialFeature, al as getProfileName, aB as readFile, n as HttpRequest } from './index-CGG9e0xu.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-CewXrtbo.mjs';
|
|
7
|
+
import './readMergedOptions-atT1xkoe.mjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '@commander-js/extra-typings';
|
|
10
|
-
import './readDotenvCascade-
|
|
10
|
+
import './readDotenvCascade-Dgx4SC1p.mjs';
|
|
11
11
|
import 'fs-extra';
|
|
12
12
|
import 'radash';
|
|
13
13
|
import 'node:buffer';
|
|
@@ -21,30 +21,27 @@ import './loader-CE4HSRN4.mjs';
|
|
|
21
21
|
import 'package-directory';
|
|
22
22
|
import 'yaml';
|
|
23
23
|
import 'execa';
|
|
24
|
-
import 'buffer';
|
|
25
|
-
import 'os';
|
|
26
24
|
import 'node:fs/promises';
|
|
27
|
-
import '
|
|
28
|
-
import 'https';
|
|
29
|
-
import '
|
|
30
|
-
import 'process';
|
|
25
|
+
import 'node:stream';
|
|
26
|
+
import 'node:https';
|
|
27
|
+
import 'node:process';
|
|
31
28
|
|
|
32
29
|
const resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
33
30
|
const sourceProvidersMap = {
|
|
34
31
|
EcsContainer: async (options) => {
|
|
35
|
-
const { fromHttp } = await import('./index-
|
|
36
|
-
const { fromContainerMetadata } = await import('./index-
|
|
32
|
+
const { fromHttp } = await import('./index-CnnI9zSQ.mjs');
|
|
33
|
+
const { fromContainerMetadata } = await import('./index-aUz_8rS_.mjs');
|
|
37
34
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
38
35
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
39
36
|
},
|
|
40
37
|
Ec2InstanceMetadata: async (options) => {
|
|
41
38
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
42
|
-
const { fromInstanceMetadata } = await import('./index-
|
|
39
|
+
const { fromInstanceMetadata } = await import('./index-aUz_8rS_.mjs');
|
|
43
40
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
44
41
|
},
|
|
45
42
|
Environment: async (options) => {
|
|
46
43
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
47
|
-
const { fromEnv } = await import('./index-
|
|
44
|
+
const { fromEnv } = await import('./index-cIL2r09o.mjs');
|
|
48
45
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
49
46
|
},
|
|
50
47
|
};
|
|
@@ -86,7 +83,7 @@ const resolveAssumeRoleCredentials = async (profileName, profiles, options, call
|
|
|
86
83
|
const profileData = profiles[profileName];
|
|
87
84
|
const { source_profile, region } = profileData;
|
|
88
85
|
if (!options.roleAssumer) {
|
|
89
|
-
const { getDefaultRoleAssumer } = await import('./index-
|
|
86
|
+
const { getDefaultRoleAssumer } = await import('./index-CQoEnkSc.mjs');
|
|
90
87
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
91
88
|
...options.clientConfig,
|
|
92
89
|
credentialProviderLogger: options.logger,
|
|
@@ -172,7 +169,7 @@ class LoginCredentialsFetcher {
|
|
|
172
169
|
return this.profileData.login_session;
|
|
173
170
|
}
|
|
174
171
|
async refresh(token) {
|
|
175
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import('./index-
|
|
172
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import('./index-DLciMnJ6.mjs');
|
|
176
173
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
177
174
|
const isH2 = (requestHandler) => {
|
|
178
175
|
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
@@ -421,13 +418,13 @@ const resolveLoginCredentials = async (profileName, options, callerClientConfig)
|
|
|
421
418
|
};
|
|
422
419
|
|
|
423
420
|
const isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
424
|
-
const resolveProcessCredentials = async (options, profile) => import('./index-
|
|
421
|
+
const resolveProcessCredentials = async (options, profile) => import('./index-GcL_Hrrr.mjs').then(({ fromProcess }) => fromProcess({
|
|
425
422
|
...options,
|
|
426
423
|
profile,
|
|
427
424
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
428
425
|
|
|
429
426
|
const resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
430
|
-
const { fromSSO } = await import('./index-
|
|
427
|
+
const { fromSSO } = await import('./index-C-9h7h7x.mjs');
|
|
431
428
|
return fromSSO({
|
|
432
429
|
profile,
|
|
433
430
|
logger: options.logger,
|
|
@@ -474,7 +471,7 @@ const isWebIdentityProfile = (arg) => Boolean(arg) &&
|
|
|
474
471
|
typeof arg.web_identity_token_file === "string" &&
|
|
475
472
|
typeof arg.role_arn === "string" &&
|
|
476
473
|
["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
477
|
-
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('./index-
|
|
474
|
+
const resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import('./index-DmynYewb.mjs').then(({ fromTokenFile }) => fromTokenFile({
|
|
478
475
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
479
476
|
roleArn: profile.role_arn,
|
|
480
477
|
roleSessionName: profile.role_session_name,
|