@jjrawlins/cdk-iam-policy-builder-helper 0.0.59 → 0.0.61
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/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/node_modules/@aws-sdk/client-iam/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +2 -2
- package/package.json +3 -3
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-iam": "^3.
|
|
10
|
+
"@aws-sdk/client-iam": "^3.913.0",
|
|
11
11
|
"axios": "^1.8.2",
|
|
12
12
|
"jsonc-parser": "^3.3.1"
|
|
13
13
|
},
|
|
@@ -3526,6 +3526,6 @@
|
|
|
3526
3526
|
}
|
|
3527
3527
|
},
|
|
3528
3528
|
"types": {},
|
|
3529
|
-
"version": "0.0.
|
|
3530
|
-
"fingerprint": "
|
|
3529
|
+
"version": "0.0.61",
|
|
3530
|
+
"fingerprint": "l7oVYcfdVmBbFUWhPz1MDnSj9x+qDdg86sxSpyMi+Ps="
|
|
3531
3531
|
}
|
|
@@ -13,7 +13,7 @@ import (
|
|
|
13
13
|
constructs "github.com/aws/constructs-go/constructs/v10/jsii"
|
|
14
14
|
)
|
|
15
15
|
|
|
16
|
-
//go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.
|
|
16
|
+
//go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.60.tgz
|
|
17
17
|
var tarball []byte
|
|
18
18
|
|
|
19
19
|
// Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
|
|
@@ -24,5 +24,5 @@ func Initialize() {
|
|
|
24
24
|
constructs.Initialize()
|
|
25
25
|
|
|
26
26
|
// Load this library into the kernel
|
|
27
|
-
_jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.
|
|
27
|
+
_jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.60", tarball)
|
|
28
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.60
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.913.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iam",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.911.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.913.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.910.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.910.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.910.0",
|
|
@@ -56,7 +56,7 @@ const isCredentialSourceProfile = (arg, { profile, logger }) => {
|
|
|
56
56
|
}
|
|
57
57
|
return withProviderProfile;
|
|
58
58
|
};
|
|
59
|
-
const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => {
|
|
59
|
+
const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}, resolveProfileData) => {
|
|
60
60
|
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
61
61
|
const profileData = profiles[profileName];
|
|
62
62
|
const { source_profile, region } = profileData;
|
|
@@ -176,7 +176,7 @@ const resolveProfileData = async (profileName, profiles, options, visitedProfile
|
|
|
176
176
|
return resolveStaticCredentials(data, options);
|
|
177
177
|
}
|
|
178
178
|
if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
|
|
179
|
-
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
|
|
179
|
+
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles, resolveProfileData);
|
|
180
180
|
}
|
|
181
181
|
if (isStaticCredsProfile(data)) {
|
|
182
182
|
return resolveStaticCredentials(data, options);
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
CHANGED
|
@@ -2,7 +2,6 @@ import { setCredentialFeature } from "@aws-sdk/core/client";
|
|
|
2
2
|
import { CredentialsProviderError } from "@smithy/property-provider";
|
|
3
3
|
import { getProfileName } from "@smithy/shared-ini-file-loader";
|
|
4
4
|
import { resolveCredentialSource } from "./resolveCredentialSource";
|
|
5
|
-
import { resolveProfileData } from "./resolveProfileData";
|
|
6
5
|
export const isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
|
|
7
6
|
return (Boolean(arg) &&
|
|
8
7
|
typeof arg === "object" &&
|
|
@@ -26,7 +25,7 @@ const isCredentialSourceProfile = (arg, { profile, logger }) => {
|
|
|
26
25
|
}
|
|
27
26
|
return withProviderProfile;
|
|
28
27
|
};
|
|
29
|
-
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}) => {
|
|
28
|
+
export const resolveAssumeRoleCredentials = async (profileName, profiles, options, visitedProfiles = {}, resolveProfileData) => {
|
|
30
29
|
options.logger?.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)");
|
|
31
30
|
const profileData = profiles[profileName];
|
|
32
31
|
const { source_profile, region } = profileData;
|
|
@@ -10,7 +10,7 @@ export const resolveProfileData = async (profileName, profiles, options, visited
|
|
|
10
10
|
return resolveStaticCredentials(data, options);
|
|
11
11
|
}
|
|
12
12
|
if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
|
|
13
|
-
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
|
|
13
|
+
return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles, resolveProfileData);
|
|
14
14
|
}
|
|
15
15
|
if (isStaticCredsProfile(data)) {
|
|
16
16
|
return resolveStaticCredentials(data, options);
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Logger, ParsedIniData } from "@smithy/types";
|
|
2
2
|
import { FromIniInit } from "./fromIni";
|
|
3
|
+
import type { ResolveProfileData } from "./resolveProfileData";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*
|
|
@@ -44,4 +45,4 @@ export declare const isAssumeRoleProfile: (arg: any, { profile, logger }?: {
|
|
|
44
45
|
/**
|
|
45
46
|
* @internal
|
|
46
47
|
*/
|
|
47
|
-
export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles
|
|
48
|
+
export declare const resolveAssumeRoleCredentials: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles: Record<string, true> | undefined, resolveProfileData: ResolveProfileData) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Logger, ParsedIniData } from "@smithy/types";
|
|
2
2
|
import { FromIniInit } from "./fromIni";
|
|
3
|
+
import { ResolveProfileData } from "./resolveProfileData";
|
|
3
4
|
export interface AssumeRoleParams {
|
|
4
5
|
RoleArn: string;
|
|
5
6
|
RoleSessionName: string;
|
|
@@ -22,5 +23,6 @@ export declare const resolveAssumeRoleCredentials: (
|
|
|
22
23
|
profileName: string,
|
|
23
24
|
profiles: ParsedIniData,
|
|
24
25
|
options: FromIniInit,
|
|
25
|
-
visitedProfiles
|
|
26
|
+
visitedProfiles: Record<string, true> | undefined,
|
|
27
|
+
resolveProfileData: ResolveProfileData
|
|
26
28
|
) => Promise<import("@aws-sdk/types").AttributedAwsCredentialIdentity>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.913.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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.913.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@aws-sdk/credential-provider-env": "3.911.0",
|
|
35
35
|
"@aws-sdk/credential-provider-http": "3.911.0",
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.913.0",
|
|
37
37
|
"@aws-sdk/credential-provider-process": "3.911.0",
|
|
38
38
|
"@aws-sdk/credential-provider-sso": "3.911.0",
|
|
39
39
|
"@aws-sdk/credential-provider-web-identity": "3.911.0",
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"jsii-docgen": "^10.5.0",
|
|
60
60
|
"jsii-pacmak": "^1.116.0",
|
|
61
61
|
"jsii-rosetta": "~5.8.0",
|
|
62
|
-
"projen": "^0.98.
|
|
62
|
+
"projen": "^0.98.2",
|
|
63
63
|
"ts-jest": "^29.4.5",
|
|
64
64
|
"ts-node": "^10.9.2",
|
|
65
65
|
"typescript": "^5.9.3"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"constructs": "^10.0.5"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@aws-sdk/client-iam": "^3.
|
|
72
|
+
"@aws-sdk/client-iam": "^3.913.0",
|
|
73
73
|
"axios": "^1.8.2",
|
|
74
74
|
"constructs": "^10.4.2",
|
|
75
75
|
"jsonc-parser": "^3.3.1"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"publishConfig": {
|
|
102
102
|
"access": "public"
|
|
103
103
|
},
|
|
104
|
-
"version": "0.0.
|
|
104
|
+
"version": "0.0.61",
|
|
105
105
|
"jest": {
|
|
106
106
|
"coverageProvider": "v8",
|
|
107
107
|
"testMatch": [
|