awscdk-construct-scte-scheduler 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +4 -4
- package/lib/EventBridgeSchedule.js +1 -1
- package/lib/Lambda.js +1 -1
- package/lib/ScteScheduler.js +1 -1
- package/node_modules/@aws-sdk/client-medialive/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-medialive/dist-es/MediaLiveClient.js +12 -18
- package/node_modules/@aws-sdk/client-medialive/dist-types/MediaLiveClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-medialive/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-medialive/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-medialive/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-medialive/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/MediaLiveClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-medialive/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-medialive/package.json +12 -12
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +8 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +10 -10
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +17 -4
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/package.json +10 -10
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +43 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +14 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +25 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +16 -6
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +9 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-process/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +11 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
- package/node_modules/@smithy/smithy-client/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
- package/node_modules/fast-xml-parser/README.md +83 -51
- package/node_modules/fast-xml-parser/package.json +8 -5
- package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
- package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
- package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
- package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
- package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
- package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
- package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
- package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
- package/node_modules/fast-xml-parser/src/validator.js +2 -0
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.624.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-env": "3.620.1",
|
|
28
|
+
"@aws-sdk/credential-provider-http": "3.622.0",
|
|
29
|
+
"@aws-sdk/credential-provider-process": "3.620.1",
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.624.0",
|
|
31
|
+
"@aws-sdk/credential-provider-web-identity": "3.621.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
33
|
"@smithy/credential-provider-imds": "^3.2.0",
|
|
34
34
|
"@smithy/property-provider": "^3.1.3",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"typescript": "~4.9.5"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@aws-sdk/client-sts": "^3.
|
|
48
|
+
"@aws-sdk/client-sts": "^3.624.0"
|
|
49
49
|
},
|
|
50
50
|
"types": "./dist-types/index.d.ts",
|
|
51
51
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.624.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
31
|
+
"@aws-sdk/credential-provider-env": "3.620.1",
|
|
32
|
+
"@aws-sdk/credential-provider-http": "3.622.0",
|
|
33
|
+
"@aws-sdk/credential-provider-ini": "3.624.0",
|
|
34
|
+
"@aws-sdk/credential-provider-process": "3.620.1",
|
|
35
|
+
"@aws-sdk/credential-provider-sso": "3.624.0",
|
|
36
|
+
"@aws-sdk/credential-provider-web-identity": "3.621.0",
|
|
37
37
|
"@aws-sdk/types": "3.609.0",
|
|
38
38
|
"@smithy/credential-provider-imds": "^3.2.0",
|
|
39
39
|
"@smithy/property-provider": "^3.1.3",
|
|
@@ -34,7 +34,8 @@ var import_child_process = require("child_process");
|
|
|
34
34
|
var import_util = require("util");
|
|
35
35
|
|
|
36
36
|
// src/getValidatedProcessCredentials.ts
|
|
37
|
-
var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data) => {
|
|
37
|
+
var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {
|
|
38
|
+
var _a;
|
|
38
39
|
if (data.Version !== 1) {
|
|
39
40
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
|
40
41
|
}
|
|
@@ -48,12 +49,17 @@ var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data)
|
|
|
48
49
|
throw Error(`Profile ${profileName} credential_process returned expired credentials.`);
|
|
49
50
|
}
|
|
50
51
|
}
|
|
52
|
+
let accountId = data.AccountId;
|
|
53
|
+
if (!accountId && ((_a = profiles == null ? void 0 : profiles[profileName]) == null ? void 0 : _a.aws_account_id)) {
|
|
54
|
+
accountId = profiles[profileName].aws_account_id;
|
|
55
|
+
}
|
|
51
56
|
return {
|
|
52
57
|
accessKeyId: data.AccessKeyId,
|
|
53
58
|
secretAccessKey: data.SecretAccessKey,
|
|
54
59
|
...data.SessionToken && { sessionToken: data.SessionToken },
|
|
55
60
|
...data.Expiration && { expiration: new Date(data.Expiration) },
|
|
56
|
-
...data.CredentialScope && { credentialScope: data.CredentialScope }
|
|
61
|
+
...data.CredentialScope && { credentialScope: data.CredentialScope },
|
|
62
|
+
...accountId && { accountId }
|
|
57
63
|
};
|
|
58
64
|
}, "getValidatedProcessCredentials");
|
|
59
65
|
|
|
@@ -72,7 +78,7 @@ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profi
|
|
|
72
78
|
} catch {
|
|
73
79
|
throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);
|
|
74
80
|
}
|
|
75
|
-
return getValidatedProcessCredentials(profileName, data);
|
|
81
|
+
return getValidatedProcessCredentials(profileName, data, profiles);
|
|
76
82
|
} catch (error) {
|
|
77
83
|
throw new import_property_provider.CredentialsProviderError(error.message, { logger });
|
|
78
84
|
}
|
package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const getValidatedProcessCredentials = (profileName, data) => {
|
|
1
|
+
export const getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
2
2
|
if (data.Version !== 1) {
|
|
3
3
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
|
4
4
|
}
|
|
@@ -12,11 +12,16 @@ export const getValidatedProcessCredentials = (profileName, data) => {
|
|
|
12
12
|
throw Error(`Profile ${profileName} credential_process returned expired credentials.`);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
let accountId = data.AccountId;
|
|
16
|
+
if (!accountId && profiles?.[profileName]?.aws_account_id) {
|
|
17
|
+
accountId = profiles[profileName].aws_account_id;
|
|
18
|
+
}
|
|
15
19
|
return {
|
|
16
20
|
accessKeyId: data.AccessKeyId,
|
|
17
21
|
secretAccessKey: data.SecretAccessKey,
|
|
18
22
|
...(data.SessionToken && { sessionToken: data.SessionToken }),
|
|
19
23
|
...(data.Expiration && { expiration: new Date(data.Expiration) }),
|
|
20
24
|
...(data.CredentialScope && { credentialScope: data.CredentialScope }),
|
|
25
|
+
...(accountId && { accountId }),
|
|
21
26
|
};
|
|
22
27
|
};
|
package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
CHANGED
|
@@ -17,7 +17,7 @@ export const resolveProcessCredentials = async (profileName, profiles, logger) =
|
|
|
17
17
|
catch {
|
|
18
18
|
throw Error(`Profile ${profileName} credential_process returned invalid JSON.`);
|
|
19
19
|
}
|
|
20
|
-
return getValidatedProcessCredentials(profileName, data);
|
|
20
|
+
return getValidatedProcessCredentials(profileName, data, profiles);
|
|
21
21
|
}
|
|
22
22
|
catch (error) {
|
|
23
23
|
throw new CredentialsProviderError(error.message, { logger });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AwsCredentialIdentity } from "@smithy/types";
|
|
1
|
+
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
2
|
import { ProcessCredentials } from "./ProcessCredentials";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export declare const getValidatedProcessCredentials: (profileName: string, data: ProcessCredentials) => AwsCredentialIdentity;
|
|
6
|
+
export declare const getValidatedProcessCredentials: (profileName: string, data: ProcessCredentials, profiles: ParsedIniData) => AwsCredentialIdentity;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { AwsCredentialIdentity } from "@smithy/types";
|
|
1
|
+
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
2
|
import { ProcessCredentials } from "./ProcessCredentials";
|
|
3
3
|
export declare const getValidatedProcessCredentials: (
|
|
4
4
|
profileName: string,
|
|
5
|
-
data: ProcessCredentials
|
|
5
|
+
data: ProcessCredentials,
|
|
6
|
+
profiles: ParsedIniData
|
|
6
7
|
) => AwsCredentialIdentity;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.620.1",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -120,14 +120,23 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
|
|
|
120
120
|
logger
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
const {
|
|
123
|
+
const {
|
|
124
|
+
roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}
|
|
125
|
+
} = ssoResp;
|
|
124
126
|
if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {
|
|
125
127
|
throw new import_property_provider.CredentialsProviderError("SSO returns an invalid temporary credential.", {
|
|
126
128
|
tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,
|
|
127
129
|
logger
|
|
128
130
|
});
|
|
129
131
|
}
|
|
130
|
-
return {
|
|
132
|
+
return {
|
|
133
|
+
accessKeyId,
|
|
134
|
+
secretAccessKey,
|
|
135
|
+
sessionToken,
|
|
136
|
+
expiration: new Date(expiration),
|
|
137
|
+
...credentialScope && { credentialScope },
|
|
138
|
+
...accountId && { accountId }
|
|
139
|
+
};
|
|
131
140
|
}, "resolveSSOCredentials");
|
|
132
141
|
|
|
133
142
|
// src/validateSsoProfile.ts
|
|
@@ -57,12 +57,19 @@ export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccoun
|
|
|
57
57
|
logger,
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope } = {} } = ssoResp;
|
|
60
|
+
const { roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {}, } = ssoResp;
|
|
61
61
|
if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) {
|
|
62
62
|
throw new CredentialsProviderError("SSO returns an invalid temporary credential.", {
|
|
63
63
|
tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN,
|
|
64
64
|
logger,
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
return {
|
|
67
|
+
return {
|
|
68
|
+
accessKeyId,
|
|
69
|
+
secretAccessKey,
|
|
70
|
+
sessionToken,
|
|
71
|
+
expiration: new Date(expiration),
|
|
72
|
+
...(credentialScope && { credentialScope }),
|
|
73
|
+
...(accountId && { accountId }),
|
|
74
|
+
};
|
|
68
75
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.624.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.624.0",
|
|
28
28
|
"@aws-sdk/token-providers": "3.614.0",
|
|
29
29
|
"@aws-sdk/types": "3.609.0",
|
|
30
30
|
"@smithy/property-provider": "^3.1.3",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"files": [
|
|
55
55
|
"dist-*/**"
|
|
56
56
|
],
|
|
57
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/
|
|
57
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/credential-provider-sso",
|
|
58
58
|
"repository": {
|
|
59
59
|
"type": "git",
|
|
60
60
|
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.621.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"typescript": "~4.9.5"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@aws-sdk/client-sts": "^3.
|
|
49
|
+
"@aws-sdk/client-sts": "^3.621.0"
|
|
50
50
|
},
|
|
51
51
|
"types": "./dist-types/index.d.ts",
|
|
52
52
|
"engines": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"files": [
|
|
63
63
|
"dist-*/**"
|
|
64
64
|
],
|
|
65
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/
|
|
65
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/credential-provider-web-identity",
|
|
66
66
|
"repository": {
|
|
67
67
|
"type": "git",
|
|
68
68
|
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
42
|
-
"@smithy/middleware-retry": "^3.0.
|
|
42
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
43
43
|
"@smithy/middleware-serde": "^3.0.3",
|
|
44
44
|
"@smithy/protocol-http": "^4.1.0",
|
|
45
|
-
"@smithy/smithy-client": "^3.1.
|
|
45
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
46
46
|
"@smithy/types": "^3.3.0",
|
|
47
47
|
"@smithy/util-middleware": "^3.0.3",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
@@ -118,7 +118,8 @@ var _FetchHttpHandler = class _FetchHttpHandler {
|
|
|
118
118
|
if (keepAliveSupport.supported) {
|
|
119
119
|
requestOptions.keepalive = keepAlive;
|
|
120
120
|
}
|
|
121
|
-
let removeSignalEventListener =
|
|
121
|
+
let removeSignalEventListener = /* @__PURE__ */ __name(() => {
|
|
122
|
+
}, "removeSignalEventListener");
|
|
122
123
|
const fetchRequest = new Request(url, requestOptions);
|
|
123
124
|
const raceOfPromises = [
|
|
124
125
|
fetch(fetchRequest).then((response) => {
|
|
@@ -69,7 +69,7 @@ export class FetchHttpHandler {
|
|
|
69
69
|
if (keepAliveSupport.supported) {
|
|
70
70
|
requestOptions.keepalive = keepAlive;
|
|
71
71
|
}
|
|
72
|
-
let removeSignalEventListener =
|
|
72
|
+
let removeSignalEventListener = () => { };
|
|
73
73
|
const fetchRequest = new Request(url, requestOptions);
|
|
74
74
|
const raceOfPromises = [
|
|
75
75
|
fetch(fetchRequest).then((response) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.14",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@smithy/node-config-provider": "^3.1.4",
|
|
35
35
|
"@smithy/protocol-http": "^4.1.0",
|
|
36
36
|
"@smithy/service-error-classification": "^3.0.3",
|
|
37
|
-
"@smithy/smithy-client": "^3.1.
|
|
37
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
38
38
|
"@smithy/types": "^3.3.0",
|
|
39
39
|
"@smithy/util-middleware": "^3.0.3",
|
|
40
40
|
"@smithy/util-retry": "^3.0.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@smithy/middleware-stack": "^3.0.3",
|
|
28
28
|
"@smithy/protocol-http": "^4.1.0",
|
|
29
29
|
"@smithy/types": "^3.3.0",
|
|
30
|
-
"@smithy/util-stream": "^3.1.
|
|
30
|
+
"@smithy/util-stream": "^3.1.3",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.14",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@smithy/property-provider": "^3.1.3",
|
|
26
|
-
"@smithy/smithy-client": "^3.1.
|
|
26
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
27
27
|
"@smithy/types": "^3.3.0",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.14",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@smithy/credential-provider-imds": "^3.2.0",
|
|
27
27
|
"@smithy/node-config-provider": "^3.1.4",
|
|
28
28
|
"@smithy/property-provider": "^3.1.3",
|
|
29
|
-
"@smithy/smithy-client": "^3.1.
|
|
29
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
30
30
|
"@smithy/types": "^3.3.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-stream",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
27
|
+
"@smithy/fetch-http-handler": "^3.2.4",
|
|
28
28
|
"@smithy/node-http-handler": "^3.1.4",
|
|
29
29
|
"@smithy/types": "^3.3.0",
|
|
30
30
|
"@smithy/util-base64": "^3.0.0",
|