@jjrawlins/cdk-diff-pr-github-action 1.5.6 → 1.5.7
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/CdkDiffIamTemplate.js +2 -2
- package/lib/CdkDiffIamTemplateStackSet.js +2 -2
- package/lib/CdkDiffStackWorkflow.js +1 -1
- package/lib/CdkDriftDetectionWorkflow.js +1 -1
- package/lib/CdkDriftIamTemplate.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
- 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/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +51 -8
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +7 -2
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPath.js +14 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +24 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPath.d.ts +9 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPath.d.ts +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -6
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.15",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "^3.973.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
33
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
34
|
-
"@smithy/node-http-handler": "^4.4.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/protocol-http": "^5.3.
|
|
37
|
-
"@smithy/smithy-client": "^4.
|
|
38
|
-
"@smithy/types": "^4.
|
|
39
|
-
"@smithy/util-stream": "^4.5.
|
|
31
|
+
"@aws-sdk/core": "^3.973.15",
|
|
32
|
+
"@aws-sdk/types": "^3.973.4",
|
|
33
|
+
"@smithy/fetch-http-handler": "^5.3.11",
|
|
34
|
+
"@smithy/node-http-handler": "^4.4.12",
|
|
35
|
+
"@smithy/property-provider": "^4.2.10",
|
|
36
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
37
|
+
"@smithy/smithy-client": "^4.12.0",
|
|
38
|
+
"@smithy/types": "^4.13.0",
|
|
39
|
+
"@smithy/util-stream": "^4.5.15",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { FromLoginCredentialsInit } from "@aws-sdk/credential-provider-login";
|
|
2
2
|
import type { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity";
|
|
3
3
|
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
4
|
-
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
4
|
+
import type { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
5
5
|
import type { AwsCredentialIdentity, Pluggable } from "@smithy/types";
|
|
6
|
-
import { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
6
|
+
import type { AssumeRoleParams } from "./resolveAssumeRoleCredentials";
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
2
|
-
import { Logger, ParsedIniData } from "@smithy/types";
|
|
3
|
-
import { FromIniInit } from "./fromIni";
|
|
2
|
+
import type { Logger, ParsedIniData } from "@smithy/types";
|
|
3
|
+
import type { FromIniInit } from "./fromIni";
|
|
4
4
|
import type { ResolveProfileData } from "./resolveProfileData";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AwsIdentityProperties } from "@aws-sdk/types";
|
|
2
|
-
import { AwsCredentialIdentity, Profile } from "@smithy/types";
|
|
3
|
-
import { FromIniInit } from "./fromIni";
|
|
2
|
+
import type { AwsCredentialIdentity, Profile } from "@smithy/types";
|
|
3
|
+
import type { FromIniInit } from "./fromIni";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.13",
|
|
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",
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "^3.973.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
34
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
39
|
-
"@aws-sdk/types": "^3.973.
|
|
40
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
41
|
-
"@smithy/property-provider": "^4.2.
|
|
42
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
43
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "^3.973.15",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "^3.972.13",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "^3.972.15",
|
|
34
|
+
"@aws-sdk/credential-provider-login": "^3.972.13",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "^3.972.13",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "^3.972.13",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.13",
|
|
38
|
+
"@aws-sdk/nested-clients": "^3.996.3",
|
|
39
|
+
"@aws-sdk/types": "^3.973.4",
|
|
40
|
+
"@smithy/credential-provider-imds": "^4.2.10",
|
|
41
|
+
"@smithy/property-provider": "^4.2.10",
|
|
42
|
+
"@smithy/shared-ini-file-loader": "^4.4.5",
|
|
43
|
+
"@smithy/types": "^4.13.0",
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-login",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.13",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from aws login cached tokens",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "^3.973.
|
|
32
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
34
|
-
"@smithy/property-provider": "^4.2.
|
|
35
|
-
"@smithy/protocol-http": "^5.3.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
37
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@aws-sdk/core": "^3.973.15",
|
|
32
|
+
"@aws-sdk/nested-clients": "^3.996.3",
|
|
33
|
+
"@aws-sdk/types": "^3.973.4",
|
|
34
|
+
"@smithy/property-provider": "^4.2.10",
|
|
35
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.4.5",
|
|
37
|
+
"@smithy/types": "^4.13.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.14",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0"
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
40
|
-
"@aws-sdk/types": "^3.973.
|
|
41
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
42
|
-
"@smithy/property-provider": "^4.2.
|
|
43
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
44
|
-
"@smithy/types": "^4.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "^3.972.13",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "^3.972.15",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "^3.972.13",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "^3.972.13",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "^3.972.13",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.13",
|
|
40
|
+
"@aws-sdk/types": "^3.973.4",
|
|
41
|
+
"@smithy/credential-provider-imds": "^4.2.10",
|
|
42
|
+
"@smithy/property-provider": "^4.2.10",
|
|
43
|
+
"@smithy/shared-ini-file-loader": "^4.4.5",
|
|
44
|
+
"@smithy/types": "^4.13.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var sharedIniFileLoader = require('@smithy/shared-ini-file-loader');
|
|
4
4
|
var propertyProvider = require('@smithy/property-provider');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var node_child_process = require('node:child_process');
|
|
6
|
+
var node_util = require('node:util');
|
|
7
7
|
var client = require('@aws-sdk/core/client');
|
|
8
8
|
|
|
9
9
|
const getValidatedProcessCredentials = (profileName, data, profiles) => {
|
|
@@ -41,7 +41,7 @@ const resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
|
41
41
|
if (profiles[profileName]) {
|
|
42
42
|
const credentialProcess = profile["credential_process"];
|
|
43
43
|
if (credentialProcess !== undefined) {
|
|
44
|
-
const execPromise =
|
|
44
|
+
const execPromise = node_util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? node_child_process.exec);
|
|
45
45
|
try {
|
|
46
46
|
const { stdout } = await execPromise(credentialProcess);
|
|
47
47
|
let data;
|
package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
2
2
|
import { externalDataInterceptor } from "@smithy/shared-ini-file-loader";
|
|
3
|
-
import { exec } from "child_process";
|
|
4
|
-
import { promisify } from "util";
|
|
3
|
+
import { exec } from "node:child_process";
|
|
4
|
+
import { promisify } from "node:util";
|
|
5
5
|
import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials";
|
|
6
6
|
export const resolveProcessCredentials = async (profileName, profiles, logger) => {
|
|
7
7
|
const profile = profiles[profileName];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
2
|
-
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
2
|
+
import type { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
|
-
import { ProcessCredentials } from "./ProcessCredentials";
|
|
1
|
+
import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
|
|
2
|
+
import type { ProcessCredentials } from "./ProcessCredentials";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.13",
|
|
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",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "^3.973.
|
|
30
|
-
"@aws-sdk/types": "^3.973.
|
|
31
|
-
"@smithy/property-provider": "^4.2.
|
|
32
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
33
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/core": "^3.973.15",
|
|
30
|
+
"@aws-sdk/types": "^3.973.4",
|
|
31
|
+
"@smithy/property-provider": "^4.2.10",
|
|
32
|
+
"@smithy/shared-ini-file-loader": "^4.4.5",
|
|
33
|
+
"@smithy/types": "^4.13.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AwsIdentityProperties, CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
|
|
2
|
-
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
2
|
+
import type { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
3
|
import type { SSOClient, SSOClientConfig } from "./loadSso";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity } from "@smithy/types";
|
|
2
|
-
import { FromSSOInit, SsoCredentialsParameters } from "./fromSSO";
|
|
1
|
+
import type { AwsCredentialIdentity } from "@smithy/types";
|
|
2
|
+
import type { FromSSOInit, SsoCredentialsParameters } from "./fromSSO";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.13",
|
|
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",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "^3.973.
|
|
30
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
33
|
-
"@smithy/property-provider": "^4.2.
|
|
34
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
35
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@aws-sdk/core": "^3.973.15",
|
|
30
|
+
"@aws-sdk/nested-clients": "^3.996.3",
|
|
31
|
+
"@aws-sdk/token-providers": "3.999.0",
|
|
32
|
+
"@aws-sdk/types": "^3.973.4",
|
|
33
|
+
"@smithy/property-provider": "^4.2.10",
|
|
34
|
+
"@smithy/shared-ini-file-loader": "^4.4.5",
|
|
35
|
+
"@smithy/types": "^4.13.0",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -4,7 +4,7 @@ exports.fromTokenFile = void 0;
|
|
|
4
4
|
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const property_provider_1 = require("@smithy/property-provider");
|
|
6
6
|
const shared_ini_file_loader_1 = require("@smithy/shared-ini-file-loader");
|
|
7
|
-
const
|
|
7
|
+
const node_fs_1 = require("node:fs");
|
|
8
8
|
const fromWebToken_1 = require("./fromWebToken");
|
|
9
9
|
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
10
10
|
const ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
|
@@ -22,7 +22,7 @@ const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
|
22
22
|
const credentials = await (0, fromWebToken_1.fromWebToken)({
|
|
23
23
|
...init,
|
|
24
24
|
webIdentityToken: shared_ini_file_loader_1.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ??
|
|
25
|
-
(0,
|
|
25
|
+
(0, node_fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }),
|
|
26
26
|
roleArn,
|
|
27
27
|
roleSessionName,
|
|
28
28
|
})(awsIdentityProperties);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
2
2
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
3
3
|
import { externalDataInterceptor } from "@smithy/shared-ini-file-loader";
|
|
4
|
-
import { readFileSync } from "fs";
|
|
4
|
+
import { readFileSync } from "node:fs";
|
|
5
5
|
import { fromWebToken } from "./fromWebToken";
|
|
6
6
|
const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
|
|
7
7
|
const ENV_ROLE_ARN = "AWS_ROLE_ARN";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.13",
|
|
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",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Apache-2.0",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aws-sdk/core": "^3.973.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
39
|
-
"@aws-sdk/types": "^3.973.
|
|
40
|
-
"@smithy/property-provider": "^4.2.
|
|
41
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
42
|
-
"@smithy/types": "^4.
|
|
37
|
+
"@aws-sdk/core": "^3.973.15",
|
|
38
|
+
"@aws-sdk/nested-clients": "^3.996.3",
|
|
39
|
+
"@aws-sdk/types": "^3.973.4",
|
|
40
|
+
"@smithy/property-provider": "^4.2.10",
|
|
41
|
+
"@smithy/shared-ini-file-loader": "^4.4.5",
|
|
42
|
+
"@smithy/types": "^4.13.0",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@aws-sdk/types": "^3.973.4",
|
|
29
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
30
|
+
"@smithy/types": "^4.13.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@aws-sdk/types": "^3.973.4",
|
|
29
|
+
"@smithy/types": "^4.13.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "^3.973.
|
|
27
|
+
"@aws-sdk/types": "^3.973.4",
|
|
28
28
|
"@aws/lambda-invoke-store": "^0.2.2",
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
30
|
+
"@smithy/types": "^4.13.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.15",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "^3.973.
|
|
29
|
-
"@aws-sdk/types": "^3.973.
|
|
30
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
31
|
-
"@smithy/core": "^3.23.
|
|
32
|
-
"@smithy/protocol-http": "^5.3.
|
|
33
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@aws-sdk/core": "^3.973.15",
|
|
29
|
+
"@aws-sdk/types": "^3.973.4",
|
|
30
|
+
"@aws-sdk/util-endpoints": "^3.996.3",
|
|
31
|
+
"@smithy/core": "^3.23.6",
|
|
32
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
33
|
+
"@smithy/types": "^4.13.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|