@cdk8s/awscdk-resolver 0.0.225 → 0.0.227
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 +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +610 -478
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +81 -54
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-cloudformation/package.json +44 -44
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +57 -42
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js +8 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +15 -5
- package/node_modules/@aws-sdk/client-sso/package.json +40 -40
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +295 -92
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +1 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +58 -28
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
- 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/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -42
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +115 -104
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +16 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- 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/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/node_modules/@aws-sdk/client-sts/package.json +42 -42
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +18 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +3 -4
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +12 -17
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -16
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +11 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -5
- package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +13 -17
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
- package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/token-providers/package.json +9 -9
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -8
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +8 -12
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +3 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +4 -1
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +19 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +10 -11
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +8 -9
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/hash-node/package.json +6 -6
- package/node_modules/@smithy/invalid-dependency/package.json +5 -2
- package/node_modules/@smithy/is-array-buffer/package.json +5 -4
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -9
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +18 -17
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -2
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +4 -12
- package/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +3 -0
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +9 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +6 -0
- package/node_modules/@smithy/node-config-provider/package.json +6 -6
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +36 -36
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +16 -12
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -2
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +3 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +13 -0
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +4 -14
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +1 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +2 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +10 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +7 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +3 -0
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +6 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -4
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +9 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +13 -9
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +1 -1
- package/node_modules/@smithy/signature-v4/package.json +9 -9
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +8 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +31 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +8 -0
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/url-parser/package.json +6 -3
- package/node_modules/@smithy/util-base64/package.json +8 -7
- package/node_modules/@smithy/util-body-length-browser/package.json +7 -3
- package/node_modules/@smithy/util-body-length-node/package.json +6 -5
- package/node_modules/@smithy/util-buffer-from/package.json +7 -6
- package/node_modules/@smithy/util-config-provider/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/util-endpoints/package.json +5 -5
- package/node_modules/@smithy/util-hex-encoding/package.json +5 -4
- package/node_modules/@smithy/util-middleware/package.json +4 -4
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +27 -21
- package/node_modules/@smithy/util-retry/package.json +5 -5
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +4 -3
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +10 -10
- package/node_modules/@smithy/util-uri-escape/package.json +5 -4
- package/node_modules/@smithy/util-utf8/package.json +6 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +4 -6
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/package.json +3 -3
@@ -54,16 +54,16 @@ var resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileN
|
|
54
54
|
EcsContainer: async (options) => {
|
55
55
|
const { fromHttp } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-http")));
|
56
56
|
const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
|
57
|
-
logger
|
57
|
+
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
58
58
|
return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
59
59
|
},
|
60
60
|
Ec2InstanceMetadata: async (options) => {
|
61
|
-
logger
|
61
|
+
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
62
62
|
const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
|
63
63
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
64
64
|
},
|
65
65
|
Environment: async (options) => {
|
66
|
-
logger
|
66
|
+
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
67
67
|
const { fromEnv } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-env")));
|
68
68
|
return async () => fromEnv(options)().then(setNamedProvider);
|
69
69
|
}
|
@@ -84,24 +84,21 @@ var isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = "default", lo
|
|
84
84
|
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 }));
|
85
85
|
}, "isAssumeRoleProfile");
|
86
86
|
var isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {
|
87
|
-
var _a;
|
88
87
|
const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined";
|
89
88
|
if (withSourceProfile) {
|
90
|
-
|
89
|
+
logger?.debug?.(` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`);
|
91
90
|
}
|
92
91
|
return withSourceProfile;
|
93
92
|
}, "isAssumeRoleWithSourceProfile");
|
94
93
|
var isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => {
|
95
|
-
var _a;
|
96
94
|
const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined";
|
97
95
|
if (withProviderProfile) {
|
98
|
-
|
96
|
+
logger?.debug?.(` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`);
|
99
97
|
}
|
100
98
|
return withProviderProfile;
|
101
99
|
}, "isCredentialSourceProfile");
|
102
100
|
var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {
|
103
|
-
|
104
|
-
(_a = options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
101
|
+
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
105
102
|
const profileData = profiles[profileName];
|
106
103
|
const { source_profile, region } = profileData;
|
107
104
|
if (!options.roleAssumer) {
|
@@ -111,8 +108,8 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
|
|
111
108
|
...options.clientConfig,
|
112
109
|
credentialProviderLogger: options.logger,
|
113
110
|
parentClientConfig: {
|
114
|
-
...options
|
115
|
-
region: region ??
|
111
|
+
...options?.parentClientConfig,
|
112
|
+
region: region ?? options?.parentClientConfig?.region
|
116
113
|
}
|
117
114
|
},
|
118
115
|
options.clientPlugins
|
@@ -124,7 +121,7 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
|
|
124
121
|
{ logger: options.logger }
|
125
122
|
);
|
126
123
|
}
|
127
|
-
|
124
|
+
options.logger?.debug(
|
128
125
|
`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`
|
129
126
|
);
|
130
127
|
const sourceCredsProvider = source_profile ? resolveProfileData(
|
@@ -200,8 +197,7 @@ var isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_
|
|
200
197
|
|
201
198
|
var isStaticCredsProfile = /* @__PURE__ */ __name((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, "isStaticCredsProfile");
|
202
199
|
var resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => {
|
203
|
-
|
204
|
-
(_a = options == null ? void 0 : options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
200
|
+
options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
205
201
|
const credentials = {
|
206
202
|
accessKeyId: profile.aws_access_key_id,
|
207
203
|
secretAccessKey: profile.aws_secret_access_key,
|
@@ -255,7 +251,6 @@ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, op
|
|
255
251
|
|
256
252
|
// src/fromIni.ts
|
257
253
|
var fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig } = {}) => {
|
258
|
-
var _a;
|
259
254
|
const init = {
|
260
255
|
..._init,
|
261
256
|
parentClientConfig: {
|
@@ -263,11 +258,11 @@ var fromIni = /* @__PURE__ */ __name((_init = {}) => async ({ callerClientConfig
|
|
263
258
|
..._init.parentClientConfig
|
264
259
|
}
|
265
260
|
};
|
266
|
-
|
261
|
+
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
267
262
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
268
263
|
return resolveProfileData(
|
269
264
|
(0, import_shared_ini_file_loader.getProfileName)({
|
270
|
-
profile: _init.profile ??
|
265
|
+
profile: _init.profile ?? callerClientConfig?.profile
|
271
266
|
}),
|
272
267
|
profiles,
|
273
268
|
init
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.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",
|
@@ -27,33 +27,33 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
36
|
-
"@aws-sdk/types": "3.
|
37
|
-
"@smithy/credential-provider-imds": "^
|
38
|
-
"@smithy/property-provider": "^
|
39
|
-
"@smithy/shared-ini-file-loader": "^
|
40
|
-
"@smithy/types": "^
|
30
|
+
"@aws-sdk/core": "3.723.0",
|
31
|
+
"@aws-sdk/credential-provider-env": "3.723.0",
|
32
|
+
"@aws-sdk/credential-provider-http": "3.723.0",
|
33
|
+
"@aws-sdk/credential-provider-process": "3.723.0",
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.723.0",
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.723.0",
|
36
|
+
"@aws-sdk/types": "3.723.0",
|
37
|
+
"@smithy/credential-provider-imds": "^4.0.0",
|
38
|
+
"@smithy/property-provider": "^4.0.0",
|
39
|
+
"@smithy/shared-ini-file-loader": "^4.0.0",
|
40
|
+
"@smithy/types": "^4.0.0",
|
41
41
|
"tslib": "^2.6.2"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"@tsconfig/recommended": "1.0.1",
|
45
|
-
"@types/node": "^
|
45
|
+
"@types/node": "^18.19.69",
|
46
46
|
"concurrently": "7.0.0",
|
47
47
|
"downlevel-dts": "0.10.1",
|
48
48
|
"rimraf": "3.0.2",
|
49
|
-
"typescript": "~
|
49
|
+
"typescript": "~5.2.2"
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
52
|
-
"@aws-sdk/client-sts": "^3.
|
52
|
+
"@aws-sdk/client-sts": "^3.723.0"
|
53
53
|
},
|
54
54
|
"types": "./dist-types/index.d.ts",
|
55
55
|
"engines": {
|
56
|
-
"node": ">=
|
56
|
+
"node": ">=18.0.0"
|
57
57
|
},
|
58
58
|
"typesVersions": {
|
59
59
|
"<4.0": {
|
@@ -46,10 +46,9 @@ var import_shared_ini_file_loader = require("@smithy/shared-ini-file-loader");
|
|
46
46
|
var import_property_provider = require("@smithy/property-provider");
|
47
47
|
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
48
48
|
var remoteProvider = /* @__PURE__ */ __name(async (init) => {
|
49
|
-
var _a, _b;
|
50
49
|
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(require("@smithy/credential-provider-imds")));
|
51
50
|
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
52
|
-
|
51
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
53
52
|
const { fromHttp } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-http")));
|
54
53
|
return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init));
|
55
54
|
}
|
@@ -58,7 +57,7 @@ var remoteProvider = /* @__PURE__ */ __name(async (init) => {
|
|
58
57
|
throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger });
|
59
58
|
};
|
60
59
|
}
|
61
|
-
|
60
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
|
62
61
|
return fromInstanceMetadata(init);
|
63
62
|
}, "remoteProvider");
|
64
63
|
|
@@ -67,13 +66,12 @@ var multipleCredentialSourceWarningEmitted = false;
|
|
67
66
|
var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)(
|
68
67
|
(0, import_property_provider.chain)(
|
69
68
|
async () => {
|
70
|
-
var _a, _b, _c, _d;
|
71
69
|
const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE];
|
72
70
|
if (profile) {
|
73
71
|
const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET];
|
74
72
|
if (envStaticCredentialsAreSet) {
|
75
73
|
if (!multipleCredentialSourceWarningEmitted) {
|
76
|
-
const warnFn =
|
74
|
+
const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" ? init.logger.warn : console.warn;
|
77
75
|
warnFn(
|
78
76
|
`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
79
77
|
Multiple credential sources detected:
|
@@ -93,12 +91,11 @@ var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_
|
|
93
91
|
tryNextLink: true
|
94
92
|
});
|
95
93
|
}
|
96
|
-
|
94
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
|
97
95
|
return (0, import_credential_provider_env.fromEnv)(init)();
|
98
96
|
},
|
99
97
|
async () => {
|
100
|
-
|
101
|
-
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
98
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
102
99
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
103
100
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
104
101
|
throw new import_property_provider.CredentialsProviderError(
|
@@ -110,26 +107,22 @@ var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_
|
|
110
107
|
return fromSSO(init)();
|
111
108
|
},
|
112
109
|
async () => {
|
113
|
-
|
114
|
-
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
110
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
115
111
|
const { fromIni } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-ini")));
|
116
112
|
return fromIni(init)();
|
117
113
|
},
|
118
114
|
async () => {
|
119
|
-
|
120
|
-
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
115
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
121
116
|
const { fromProcess } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-process")));
|
122
117
|
return fromProcess(init)();
|
123
118
|
},
|
124
119
|
async () => {
|
125
|
-
|
126
|
-
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
120
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
127
121
|
const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require("@aws-sdk/credential-provider-web-identity")));
|
128
122
|
return fromTokenFile(init)();
|
129
123
|
},
|
130
124
|
async () => {
|
131
|
-
|
132
|
-
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
125
|
+
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
133
126
|
return (await remoteProvider(init))();
|
134
127
|
},
|
135
128
|
async () => {
|
@@ -142,8 +135,8 @@ var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_
|
|
142
135
|
credentialsTreatedAsExpired,
|
143
136
|
credentialsWillNeedRefresh
|
144
137
|
), "defaultProvider");
|
145
|
-
var credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) =>
|
146
|
-
var credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) =>
|
138
|
+
var credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, "credentialsWillNeedRefresh");
|
139
|
+
var credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, "credentialsTreatedAsExpired");
|
147
140
|
// Annotate the CommonJS export names for ESM import in node:
|
148
141
|
|
149
142
|
0 && (module.exports = {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
5
5
|
"engines": {
|
6
|
-
"node": ">=
|
6
|
+
"node": ">=18.0.0"
|
7
7
|
},
|
8
8
|
"main": "./dist-cjs/index.js",
|
9
9
|
"module": "./dist-es/index.js",
|
@@ -29,26 +29,26 @@
|
|
29
29
|
},
|
30
30
|
"license": "Apache-2.0",
|
31
31
|
"dependencies": {
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
38
|
-
"@aws-sdk/types": "3.
|
39
|
-
"@smithy/credential-provider-imds": "^
|
40
|
-
"@smithy/property-provider": "^
|
41
|
-
"@smithy/shared-ini-file-loader": "^
|
42
|
-
"@smithy/types": "^
|
32
|
+
"@aws-sdk/credential-provider-env": "3.723.0",
|
33
|
+
"@aws-sdk/credential-provider-http": "3.723.0",
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.723.0",
|
35
|
+
"@aws-sdk/credential-provider-process": "3.723.0",
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.723.0",
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.723.0",
|
38
|
+
"@aws-sdk/types": "3.723.0",
|
39
|
+
"@smithy/credential-provider-imds": "^4.0.0",
|
40
|
+
"@smithy/property-provider": "^4.0.0",
|
41
|
+
"@smithy/shared-ini-file-loader": "^4.0.0",
|
42
|
+
"@smithy/types": "^4.0.0",
|
43
43
|
"tslib": "^2.6.2"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@tsconfig/recommended": "1.0.1",
|
47
|
-
"@types/node": "^
|
47
|
+
"@types/node": "^18.19.69",
|
48
48
|
"concurrently": "7.0.0",
|
49
49
|
"downlevel-dts": "0.10.1",
|
50
50
|
"rimraf": "3.0.2",
|
51
|
-
"typescript": "~
|
51
|
+
"typescript": "~5.2.2"
|
52
52
|
},
|
53
53
|
"types": "./dist-types/index.d.ts",
|
54
54
|
"typesVersions": {
|
@@ -36,7 +36,6 @@ var import_util = require("util");
|
|
36
36
|
// src/getValidatedProcessCredentials.ts
|
37
37
|
var import_client = require("@aws-sdk/core/client");
|
38
38
|
var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => {
|
39
|
-
var _a;
|
40
39
|
if (data.Version !== 1) {
|
41
40
|
throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
|
42
41
|
}
|
@@ -51,7 +50,7 @@ var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data,
|
|
51
50
|
}
|
52
51
|
}
|
53
52
|
let accountId = data.AccountId;
|
54
|
-
if (!accountId &&
|
53
|
+
if (!accountId && profiles?.[profileName]?.aws_account_id) {
|
55
54
|
accountId = profiles[profileName].aws_account_id;
|
56
55
|
}
|
57
56
|
const credentials = {
|
@@ -97,12 +96,11 @@ var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profi
|
|
97
96
|
|
98
97
|
// src/fromProcess.ts
|
99
98
|
var fromProcess = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
|
100
|
-
|
101
|
-
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-process - fromProcess");
|
99
|
+
init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
|
102
100
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
103
101
|
return resolveProcessCredentials(
|
104
102
|
(0, import_shared_ini_file_loader.getProfileName)({
|
105
|
-
profile: init.profile ??
|
103
|
+
profile: init.profile ?? callerClientConfig?.profile
|
106
104
|
}),
|
107
105
|
profiles,
|
108
106
|
init.logger
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
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",
|
@@ -25,24 +25,24 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
30
|
-
"@smithy/property-provider": "^
|
31
|
-
"@smithy/shared-ini-file-loader": "^
|
32
|
-
"@smithy/types": "^
|
28
|
+
"@aws-sdk/core": "3.723.0",
|
29
|
+
"@aws-sdk/types": "3.723.0",
|
30
|
+
"@smithy/property-provider": "^4.0.0",
|
31
|
+
"@smithy/shared-ini-file-loader": "^4.0.0",
|
32
|
+
"@smithy/types": "^4.0.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
36
|
"@tsconfig/recommended": "1.0.1",
|
37
|
-
"@types/node": "^
|
37
|
+
"@types/node": "^18.19.69",
|
38
38
|
"concurrently": "7.0.0",
|
39
39
|
"downlevel-dts": "0.10.1",
|
40
40
|
"rimraf": "3.0.2",
|
41
|
-
"typescript": "~
|
41
|
+
"typescript": "~5.2.2"
|
42
42
|
},
|
43
43
|
"types": "./dist-types/index.d.ts",
|
44
44
|
"engines": {
|
45
|
-
"node": ">=
|
45
|
+
"node": ">=18.0.0"
|
46
46
|
},
|
47
47
|
"typesVersions": {
|
48
48
|
"<4.0": {
|
@@ -104,8 +104,8 @@ var resolveSSOCredentials = /* @__PURE__ */ __name(async ({
|
|
104
104
|
const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports));
|
105
105
|
const sso = ssoClient || new SSOClient2(
|
106
106
|
Object.assign({}, clientConfig ?? {}, {
|
107
|
-
logger:
|
108
|
-
region:
|
107
|
+
logger: clientConfig?.logger ?? parentClientConfig?.logger,
|
108
|
+
region: clientConfig?.region ?? ssoRegion
|
109
109
|
})
|
110
110
|
);
|
111
111
|
let ssoResp;
|
@@ -166,12 +166,11 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
166
166
|
|
167
167
|
// src/fromSSO.ts
|
168
168
|
var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig } = {}) => {
|
169
|
-
|
170
|
-
(_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
169
|
+
init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
|
171
170
|
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
172
171
|
const { ssoClient } = init;
|
173
172
|
const profileName = (0, import_shared_ini_file_loader.getProfileName)({
|
174
|
-
profile: init.profile ??
|
173
|
+
profile: init.profile ?? callerClientConfig?.profile
|
175
174
|
});
|
176
175
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
177
176
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
@@ -184,7 +183,7 @@ var fromSSO = /* @__PURE__ */ __name((init = {}) => async ({ callerClientConfig
|
|
184
183
|
logger: init.logger
|
185
184
|
});
|
186
185
|
}
|
187
|
-
if (profile
|
186
|
+
if (profile?.sso_session) {
|
188
187
|
const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init);
|
189
188
|
const session = ssoSessions[profile.sso_session];
|
190
189
|
const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.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",
|
@@ -25,26 +25,26 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/client-sso": "3.
|
29
|
-
"@aws-sdk/core": "3.
|
30
|
-
"@aws-sdk/token-providers": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
32
|
-
"@smithy/property-provider": "^
|
33
|
-
"@smithy/shared-ini-file-loader": "^
|
34
|
-
"@smithy/types": "^
|
28
|
+
"@aws-sdk/client-sso": "3.723.0",
|
29
|
+
"@aws-sdk/core": "3.723.0",
|
30
|
+
"@aws-sdk/token-providers": "3.723.0",
|
31
|
+
"@aws-sdk/types": "3.723.0",
|
32
|
+
"@smithy/property-provider": "^4.0.0",
|
33
|
+
"@smithy/shared-ini-file-loader": "^4.0.0",
|
34
|
+
"@smithy/types": "^4.0.0",
|
35
35
|
"tslib": "^2.6.2"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
38
38
|
"@tsconfig/recommended": "1.0.1",
|
39
|
-
"@types/node": "^
|
39
|
+
"@types/node": "^18.19.69",
|
40
40
|
"concurrently": "7.0.0",
|
41
41
|
"downlevel-dts": "0.10.1",
|
42
42
|
"rimraf": "3.0.2",
|
43
|
-
"typescript": "~
|
43
|
+
"typescript": "~5.2.2"
|
44
44
|
},
|
45
45
|
"types": "./dist-types/index.d.ts",
|
46
46
|
"engines": {
|
47
|
-
"node": ">=
|
47
|
+
"node": ">=18.0.0"
|
48
48
|
},
|
49
49
|
"typesVersions": {
|
50
50
|
"<4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.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",
|
@@ -33,26 +33,26 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@aws-sdk/core": "3.
|
37
|
-
"@aws-sdk/types": "3.
|
38
|
-
"@smithy/property-provider": "^
|
39
|
-
"@smithy/types": "^
|
36
|
+
"@aws-sdk/core": "3.723.0",
|
37
|
+
"@aws-sdk/types": "3.723.0",
|
38
|
+
"@smithy/property-provider": "^4.0.0",
|
39
|
+
"@smithy/types": "^4.0.0",
|
40
40
|
"tslib": "^2.6.2"
|
41
41
|
},
|
42
42
|
"devDependencies": {
|
43
43
|
"@tsconfig/recommended": "1.0.1",
|
44
|
-
"@types/node": "^
|
44
|
+
"@types/node": "^18.19.69",
|
45
45
|
"concurrently": "7.0.0",
|
46
46
|
"downlevel-dts": "0.10.1",
|
47
47
|
"rimraf": "3.0.2",
|
48
|
-
"typescript": "~
|
48
|
+
"typescript": "~5.2.2"
|
49
49
|
},
|
50
50
|
"peerDependencies": {
|
51
|
-
"@aws-sdk/client-sts": "^3.
|
51
|
+
"@aws-sdk/client-sts": "^3.723.0"
|
52
52
|
},
|
53
53
|
"types": "./dist-types/index.d.ts",
|
54
54
|
"engines": {
|
55
|
-
"node": ">=
|
55
|
+
"node": ">=18.0.0"
|
56
56
|
},
|
57
57
|
"typesVersions": {
|
58
58
|
"<4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
@@ -23,13 +23,13 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
27
|
-
"@smithy/protocol-http": "^
|
28
|
-
"@smithy/types": "^
|
26
|
+
"@aws-sdk/types": "3.723.0",
|
27
|
+
"@smithy/protocol-http": "^5.0.0",
|
28
|
+
"@smithy/types": "^4.0.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"engines": {
|
32
|
-
"node": ">=
|
32
|
+
"node": ">=18.0.0"
|
33
33
|
},
|
34
34
|
"typesVersions": {
|
35
35
|
"<4.0": {
|
@@ -52,6 +52,6 @@
|
|
52
52
|
"concurrently": "7.0.0",
|
53
53
|
"downlevel-dts": "0.10.1",
|
54
54
|
"rimraf": "3.0.2",
|
55
|
-
"typescript": "~
|
55
|
+
"typescript": "~5.2.2"
|
56
56
|
}
|
57
57
|
}
|
@@ -29,7 +29,6 @@ module.exports = __toCommonJS(src_exports);
|
|
29
29
|
|
30
30
|
// src/loggerMiddleware.ts
|
31
31
|
var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => {
|
32
|
-
var _a, _b;
|
33
32
|
try {
|
34
33
|
const response = await next(args);
|
35
34
|
const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
|
@@ -37,7 +36,7 @@ var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (ar
|
|
37
36
|
const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;
|
38
37
|
const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;
|
39
38
|
const { $metadata, ...outputWithoutMetadata } = response.output;
|
40
|
-
|
39
|
+
logger?.info?.({
|
41
40
|
clientName,
|
42
41
|
commandName,
|
43
42
|
input: inputFilterSensitiveLog(args.input),
|
@@ -49,7 +48,7 @@ var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (ar
|
|
49
48
|
const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
|
50
49
|
const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;
|
51
50
|
const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;
|
52
|
-
|
51
|
+
logger?.error?.({
|
53
52
|
clientName,
|
54
53
|
commandName,
|
55
54
|
input: inputFilterSensitiveLog(args.input),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
@@ -24,20 +24,20 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
28
|
-
"@smithy/types": "^
|
27
|
+
"@aws-sdk/types": "3.723.0",
|
28
|
+
"@smithy/types": "^4.0.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
32
|
"@tsconfig/recommended": "1.0.1",
|
33
|
-
"@types/node": "^
|
33
|
+
"@types/node": "^18.19.69",
|
34
34
|
"concurrently": "7.0.0",
|
35
35
|
"downlevel-dts": "0.10.1",
|
36
36
|
"rimraf": "3.0.2",
|
37
|
-
"typescript": "~
|
37
|
+
"typescript": "~5.2.2"
|
38
38
|
},
|
39
39
|
"engines": {
|
40
|
-
"node": ">=
|
40
|
+
"node": ">=18.0.0"
|
41
41
|
},
|
42
42
|
"typesVersions": {
|
43
43
|
"<4.0": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.723.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
@@ -23,13 +23,13 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
27
|
-
"@smithy/protocol-http": "^
|
28
|
-
"@smithy/types": "^
|
26
|
+
"@aws-sdk/types": "3.723.0",
|
27
|
+
"@smithy/protocol-http": "^5.0.0",
|
28
|
+
"@smithy/types": "^4.0.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"engines": {
|
32
|
-
"node": ">=
|
32
|
+
"node": ">=18.0.0"
|
33
33
|
},
|
34
34
|
"typesVersions": {
|
35
35
|
"<4.0": {
|
@@ -52,6 +52,6 @@
|
|
52
52
|
"concurrently": "7.0.0",
|
53
53
|
"downlevel-dts": "0.10.1",
|
54
54
|
"rimraf": "3.0.2",
|
55
|
-
"typescript": "~
|
55
|
+
"typescript": "~5.2.2"
|
56
56
|
}
|
57
57
|
}
|