@volcengine/pulumi-volcenginecc 0.0.38 → 0.0.39
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/README.md +1 -0
- package/config/vars.d.ts +5 -0
- package/config/vars.js +7 -0
- package/config/vars.js.map +1 -1
- package/iam/getRole.d.ts +10 -0
- package/iam/getRole.js.map +1 -1
- package/iam/role.d.ts +18 -34
- package/iam/role.js +3 -36
- package/iam/role.js.map +1 -1
- package/kms/getKey.d.ts +24 -0
- package/kms/getKey.js.map +1 -1
- package/kms/key.d.ts +72 -0
- package/kms/key.js +12 -0
- package/kms/key.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +10 -0
- package/provider.js +2 -1
- package/provider.js.map +1 -1
- package/rdspostgresql/getParameterTemplate.d.ts +89 -0
- package/rdspostgresql/getParameterTemplate.js +28 -0
- package/rdspostgresql/getParameterTemplate.js.map +1 -0
- package/rdspostgresql/getParameterTemplates.d.ts +22 -0
- package/rdspostgresql/getParameterTemplates.js +24 -0
- package/rdspostgresql/getParameterTemplates.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/parameterTemplate.d.ts +186 -0
- package/rdspostgresql/parameterTemplate.js +118 -0
- package/rdspostgresql/parameterTemplate.js.map +1 -0
- package/redis/getInstance.d.ts +9 -5
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +25 -13
- package/redis/instance.js +2 -0
- package/redis/instance.js.map +1 -1
- package/types/input.d.ts +111 -0
- package/types/output.d.ts +283 -0
package/README.md
CHANGED
|
@@ -47,6 +47,7 @@ provider configuration:
|
|
|
47
47
|
|
|
48
48
|
- `accessKey` (String) The Access Key for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_ACCESS_KEY` environment variable
|
|
49
49
|
- `secretKey` (String) he Secret Key for Volcengine Provider. It must be provided, but it can also be sourced from the `VOLCENGINE_SECRET_KEY` environment variable
|
|
50
|
+
- `sessionToken` (String) The Session Token for Volcengine Provider, used together with AccessKey and SecretKey when authenticating with temporary STS credentials. It can also be sourced from the `VOLCENGINE_SESSION_TOKEN` environment variable
|
|
50
51
|
- `profile` (String) The Profile for Volcengine Provider. It can be used as an alternative authentication method to AK/SK, and can also be sourced from the `VOLCENGINE_PROFILE` environment variable
|
|
51
52
|
- `file_path` (String) The File Path for Volcengine Provider. It specifies the path to the profile configuration file. If not specified, the default path `~/.volcengine` will be used, and can also be sourced from the `VOLCENGINE_FILE_PATH` environment variable
|
|
52
53
|
- `assumeRole` (Attributes) An `assume_role` block (documented below). Only one `assume_role` block may be in the configuration. (see [below for nested schema](#nestedatt--assume_role))
|
package/config/vars.d.ts
CHANGED
|
@@ -44,3 +44,8 @@ export declare const region: string | undefined;
|
|
|
44
44
|
* environment variable
|
|
45
45
|
*/
|
|
46
46
|
export declare const secretKey: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The Session Token for Volcengine Provider. It can also be sourced from the `VOLCENGINE_SESSION_TOKEN` environment
|
|
49
|
+
* variable
|
|
50
|
+
*/
|
|
51
|
+
export declare const sessionToken: string | undefined;
|
package/config/vars.js
CHANGED
|
@@ -73,4 +73,11 @@ Object.defineProperty(exports, "secretKey", {
|
|
|
73
73
|
},
|
|
74
74
|
enumerable: true,
|
|
75
75
|
});
|
|
76
|
+
Object.defineProperty(exports, "sessionToken", {
|
|
77
|
+
get() {
|
|
78
|
+
var _a;
|
|
79
|
+
return (_a = __config.get("sessionToken")) !== null && _a !== void 0 ? _a : utilities.getEnv("VOLCENGINE_SESSION_TOKEN");
|
|
80
|
+
},
|
|
81
|
+
enumerable: true,
|
|
82
|
+
});
|
|
76
83
|
//# sourceMappingURL=vars.js.map
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAA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ts
CHANGED
|
@@ -41,6 +41,9 @@ export interface GetRoleResult {
|
|
|
41
41
|
* Maximum session duration for the role. Maximum session duration for the role. Limits the maximum validity period of temporary security credentials generated by role assumption. Value range: 3600–43200, unit: seconds, default is 43200
|
|
42
42
|
*/
|
|
43
43
|
readonly maxSessionDuration: number;
|
|
44
|
+
/**
|
|
45
|
+
* Role Strategy
|
|
46
|
+
*/
|
|
44
47
|
readonly policies: outputs.iam.GetRolePolicy[];
|
|
45
48
|
/**
|
|
46
49
|
* Role ID
|
|
@@ -50,6 +53,13 @@ export interface GetRoleResult {
|
|
|
50
53
|
* Role name, length 1–64, supports English letters, numbers, and .-_ characters
|
|
51
54
|
*/
|
|
52
55
|
readonly roleName: string;
|
|
56
|
+
/**
|
|
57
|
+
* Service associated with the service-linked role to be created.
|
|
58
|
+
*/
|
|
59
|
+
readonly serviceName: string;
|
|
60
|
+
/**
|
|
61
|
+
* Tag
|
|
62
|
+
*/
|
|
53
63
|
readonly tags: outputs.iam.GetRoleTag[];
|
|
54
64
|
/**
|
|
55
65
|
* Role TRN
|
package/iam/getRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../../iam/getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;
|
|
1
|
+
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../../iam/getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0BAKC;AAyED;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC"}
|
package/iam/role.d.ts
CHANGED
|
@@ -4,38 +4,6 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* A role is a virtual identity in the IAM system that grants certain access permissions within an account to various identity entities. Trusted identity entities can assume this role to access cloud resources within the account.
|
|
6
6
|
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
-
*
|
|
13
|
-
* const roleDemo = new volcenginecc.iam.Role("RoleDemo", {
|
|
14
|
-
* roleName: "RoleDemo",
|
|
15
|
-
* description: "role attach policies",
|
|
16
|
-
* maxSessionDuration: 3600,
|
|
17
|
-
* trustPolicyDocument: `{
|
|
18
|
-
* "Statement": [
|
|
19
|
-
* {
|
|
20
|
-
* "Effect": "Allow",
|
|
21
|
-
* "Action": [
|
|
22
|
-
* "sts:AssumeRole"
|
|
23
|
-
* ],
|
|
24
|
-
* "Principal": {
|
|
25
|
-
* "IAM": [
|
|
26
|
-
* "trn:iam::20000000xx:root"
|
|
27
|
-
* ]
|
|
28
|
-
* }
|
|
29
|
-
* }
|
|
30
|
-
* ]
|
|
31
|
-
* }`,
|
|
32
|
-
* tags: [{
|
|
33
|
-
* key: "env",
|
|
34
|
-
* value: "test",
|
|
35
|
-
* }],
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
7
|
* ## Import
|
|
40
8
|
*
|
|
41
9
|
* ```sh
|
|
@@ -87,6 +55,10 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
87
55
|
* Role name, length 1–64, supports English letters, numbers, and .-_ characters
|
|
88
56
|
*/
|
|
89
57
|
readonly roleName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Service associated with the service-linked role to be created.
|
|
60
|
+
*/
|
|
61
|
+
readonly serviceName: pulumi.Output<string>;
|
|
90
62
|
readonly tags: pulumi.Output<outputs.iam.RoleTag[]>;
|
|
91
63
|
/**
|
|
92
64
|
* Role TRN
|
|
@@ -107,7 +79,7 @@ export declare class Role extends pulumi.CustomResource {
|
|
|
107
79
|
* @param args The arguments to use to populate this resource's properties.
|
|
108
80
|
* @param opts A bag of options that control this resource's behavior.
|
|
109
81
|
*/
|
|
110
|
-
constructor(name: string, args
|
|
82
|
+
constructor(name: string, args?: RoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
111
83
|
}
|
|
112
84
|
/**
|
|
113
85
|
* Input properties used for looking up and filtering Role resources.
|
|
@@ -142,6 +114,10 @@ export interface RoleState {
|
|
|
142
114
|
* Role name, length 1–64, supports English letters, numbers, and .-_ characters
|
|
143
115
|
*/
|
|
144
116
|
roleName?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Service associated with the service-linked role to be created.
|
|
119
|
+
*/
|
|
120
|
+
serviceName?: pulumi.Input<string>;
|
|
145
121
|
tags?: pulumi.Input<pulumi.Input<inputs.iam.RoleTag>[]>;
|
|
146
122
|
/**
|
|
147
123
|
* Role TRN
|
|
@@ -168,6 +144,10 @@ export interface RoleArgs {
|
|
|
168
144
|
* Role display name, maximum length 64
|
|
169
145
|
*/
|
|
170
146
|
displayName?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Service-linked role or not: 0 for No, 1 for Yes
|
|
149
|
+
*/
|
|
150
|
+
isServiceLinkedRole?: pulumi.Input<number>;
|
|
171
151
|
/**
|
|
172
152
|
* Maximum session duration for the role. Maximum session duration for the role. Limits the maximum validity period of temporary security credentials generated by role assumption. Value range: 3600–43200, unit: seconds, default is 43200
|
|
173
153
|
*/
|
|
@@ -176,7 +156,11 @@ export interface RoleArgs {
|
|
|
176
156
|
/**
|
|
177
157
|
* Role name, length 1–64, supports English letters, numbers, and .-_ characters
|
|
178
158
|
*/
|
|
179
|
-
roleName
|
|
159
|
+
roleName?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Service associated with the service-linked role to be created.
|
|
162
|
+
*/
|
|
163
|
+
serviceName?: pulumi.Input<string>;
|
|
180
164
|
tags?: pulumi.Input<pulumi.Input<inputs.iam.RoleTag>[]>;
|
|
181
165
|
/**
|
|
182
166
|
* Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax.
|
package/iam/role.js
CHANGED
|
@@ -8,38 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* A role is a virtual identity in the IAM system that grants certain access permissions within an account to various identity entities. Trusted identity entities can assume this role to access cloud resources within the account.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
-
*
|
|
17
|
-
* const roleDemo = new volcenginecc.iam.Role("RoleDemo", {
|
|
18
|
-
* roleName: "RoleDemo",
|
|
19
|
-
* description: "role attach policies",
|
|
20
|
-
* maxSessionDuration: 3600,
|
|
21
|
-
* trustPolicyDocument: `{
|
|
22
|
-
* "Statement": [
|
|
23
|
-
* {
|
|
24
|
-
* "Effect": "Allow",
|
|
25
|
-
* "Action": [
|
|
26
|
-
* "sts:AssumeRole"
|
|
27
|
-
* ],
|
|
28
|
-
* "Principal": {
|
|
29
|
-
* "IAM": [
|
|
30
|
-
* "trn:iam::20000000xx:root"
|
|
31
|
-
* ]
|
|
32
|
-
* }
|
|
33
|
-
* }
|
|
34
|
-
* ]
|
|
35
|
-
* }`,
|
|
36
|
-
* tags: [{
|
|
37
|
-
* key: "env",
|
|
38
|
-
* value: "test",
|
|
39
|
-
* }],
|
|
40
|
-
* });
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
11
|
* ## Import
|
|
44
12
|
*
|
|
45
13
|
* ```sh
|
|
@@ -82,6 +50,7 @@ class Role extends pulumi.CustomResource {
|
|
|
82
50
|
resourceInputs["policies"] = state ? state.policies : undefined;
|
|
83
51
|
resourceInputs["roleId"] = state ? state.roleId : undefined;
|
|
84
52
|
resourceInputs["roleName"] = state ? state.roleName : undefined;
|
|
53
|
+
resourceInputs["serviceName"] = state ? state.serviceName : undefined;
|
|
85
54
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
86
55
|
resourceInputs["trn"] = state ? state.trn : undefined;
|
|
87
56
|
resourceInputs["trustPolicyDocument"] = state ? state.trustPolicyDocument : undefined;
|
|
@@ -89,18 +58,16 @@ class Role extends pulumi.CustomResource {
|
|
|
89
58
|
}
|
|
90
59
|
else {
|
|
91
60
|
const args = argsOrState;
|
|
92
|
-
if ((!args || args.roleName === undefined) && !opts.urn) {
|
|
93
|
-
throw new Error("Missing required property 'roleName'");
|
|
94
|
-
}
|
|
95
61
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
96
62
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
63
|
+
resourceInputs["isServiceLinkedRole"] = args ? args.isServiceLinkedRole : undefined;
|
|
97
64
|
resourceInputs["maxSessionDuration"] = args ? args.maxSessionDuration : undefined;
|
|
98
65
|
resourceInputs["policies"] = args ? args.policies : undefined;
|
|
99
66
|
resourceInputs["roleName"] = args ? args.roleName : undefined;
|
|
67
|
+
resourceInputs["serviceName"] = args ? args.serviceName : undefined;
|
|
100
68
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
101
69
|
resourceInputs["trustPolicyDocument"] = args ? args.trustPolicyDocument : undefined;
|
|
102
70
|
resourceInputs["createDate"] = undefined /*out*/;
|
|
103
|
-
resourceInputs["isServiceLinkedRole"] = undefined /*out*/;
|
|
104
71
|
resourceInputs["roleId"] = undefined /*out*/;
|
|
105
72
|
resourceInputs["trn"] = undefined /*out*/;
|
|
106
73
|
resourceInputs["updateDate"] = undefined /*out*/;
|
package/iam/role.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../iam/role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../../iam/role.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU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CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAvHL,oBAwHC;AA1GG,gBAAgB;AACO,iBAAY,GAAG,4BAA4B,CAAC"}
|
package/kms/getKey.d.ts
CHANGED
|
@@ -17,6 +17,18 @@ export interface GetKeyArgs {
|
|
|
17
17
|
* A collection of values returned by getKey.
|
|
18
18
|
*/
|
|
19
19
|
export interface GetKeyResult {
|
|
20
|
+
/**
|
|
21
|
+
* Asymmetric encryption action parameters and results. AsymmetricEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
22
|
+
*/
|
|
23
|
+
readonly asymmetricCiphertext: outputs.kms.GetKeyAsymmetricCiphertext;
|
|
24
|
+
/**
|
|
25
|
+
* Asymmetric signature action parameters and results. AsymmetricSign can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
26
|
+
*/
|
|
27
|
+
readonly asymmetricSignature: outputs.kms.GetKeyAsymmetricSignature;
|
|
28
|
+
/**
|
|
29
|
+
* Symmetric encryption action parameters and results. Encrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
30
|
+
*/
|
|
31
|
+
readonly ciphertext: outputs.kms.GetKeyCiphertext;
|
|
20
32
|
/**
|
|
21
33
|
* Key creation time.
|
|
22
34
|
*/
|
|
@@ -49,6 +61,10 @@ export interface GetKeyResult {
|
|
|
49
61
|
* Master key name. Length 2–31 characters. Valid characters: [a-zA-Z0-9-_].
|
|
50
62
|
*/
|
|
51
63
|
readonly keyName: string;
|
|
64
|
+
/**
|
|
65
|
+
* Primary region of the multi-region key. Set the target primary region during the Create/Update phase; the current primary region is returned during the Read phase.
|
|
66
|
+
*/
|
|
67
|
+
readonly keyPrimaryRegion: string;
|
|
52
68
|
/**
|
|
53
69
|
* User master key rotation operation (enter 1 to enable, 2 to disable).
|
|
54
70
|
*/
|
|
@@ -89,6 +105,14 @@ export interface GetKeyResult {
|
|
|
89
105
|
* Key protection level. Options: SOFTWARE, HSM.
|
|
90
106
|
*/
|
|
91
107
|
readonly protectionLevel: string;
|
|
108
|
+
/**
|
|
109
|
+
* Re-encryption action parameters and results. ReEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
110
|
+
*/
|
|
111
|
+
readonly reEncrypt: outputs.kms.GetKeyReEncrypt;
|
|
112
|
+
/**
|
|
113
|
+
* Replicate key action parameters and results. ReplicateKey can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
114
|
+
*/
|
|
115
|
+
readonly replicateKey: outputs.kms.GetKeyReplicateKey;
|
|
92
116
|
/**
|
|
93
117
|
* Key rotation period (days). Range: [90, 2560].
|
|
94
118
|
*/
|
package/kms/getKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getKey.js","sourceRoot":"","sources":["../../kms/getKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;
|
|
1
|
+
{"version":3,"file":"getKey.js","sourceRoot":"","sources":["../../kms/getKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AA6ID;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
|
package/kms/key.d.ts
CHANGED
|
@@ -26,6 +26,18 @@ export declare class Key extends pulumi.CustomResource {
|
|
|
26
26
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
27
|
*/
|
|
28
28
|
static isInstance(obj: any): obj is Key;
|
|
29
|
+
/**
|
|
30
|
+
* Asymmetric encryption action parameters and results. AsymmetricEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
31
|
+
*/
|
|
32
|
+
readonly asymmetricCiphertext: pulumi.Output<outputs.kms.KeyAsymmetricCiphertext>;
|
|
33
|
+
/**
|
|
34
|
+
* Asymmetric signature action parameters and results. AsymmetricSign can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
35
|
+
*/
|
|
36
|
+
readonly asymmetricSignature: pulumi.Output<outputs.kms.KeyAsymmetricSignature>;
|
|
37
|
+
/**
|
|
38
|
+
* Symmetric encryption action parameters and results. Encrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
39
|
+
*/
|
|
40
|
+
readonly ciphertext: pulumi.Output<outputs.kms.KeyCiphertext>;
|
|
29
41
|
/**
|
|
30
42
|
* Key creation time.
|
|
31
43
|
*/
|
|
@@ -54,6 +66,10 @@ export declare class Key extends pulumi.CustomResource {
|
|
|
54
66
|
* Master key name. Length 2–31 characters. Valid characters: [a-zA-Z0-9-_].
|
|
55
67
|
*/
|
|
56
68
|
readonly keyName: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Primary region of the multi-region key. Set the target primary region during the Create/Update phase; the current primary region is returned during the Read phase.
|
|
71
|
+
*/
|
|
72
|
+
readonly keyPrimaryRegion: pulumi.Output<string>;
|
|
57
73
|
/**
|
|
58
74
|
* User master key rotation operation (enter 1 to enable, 2 to disable).
|
|
59
75
|
*/
|
|
@@ -94,6 +110,14 @@ export declare class Key extends pulumi.CustomResource {
|
|
|
94
110
|
* Key protection level. Options: SOFTWARE, HSM.
|
|
95
111
|
*/
|
|
96
112
|
readonly protectionLevel: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Re-encryption action parameters and results. ReEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
115
|
+
*/
|
|
116
|
+
readonly reEncrypt: pulumi.Output<outputs.kms.KeyReEncrypt>;
|
|
117
|
+
/**
|
|
118
|
+
* Replicate key action parameters and results. ReplicateKey can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
119
|
+
*/
|
|
120
|
+
readonly replicateKey: pulumi.Output<outputs.kms.KeyReplicateKey>;
|
|
97
121
|
/**
|
|
98
122
|
* Key rotation period (days). Range: [90, 2560].
|
|
99
123
|
*/
|
|
@@ -132,6 +156,18 @@ export declare class Key extends pulumi.CustomResource {
|
|
|
132
156
|
* Input properties used for looking up and filtering Key resources.
|
|
133
157
|
*/
|
|
134
158
|
export interface KeyState {
|
|
159
|
+
/**
|
|
160
|
+
* Asymmetric encryption action parameters and results. AsymmetricEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
161
|
+
*/
|
|
162
|
+
asymmetricCiphertext?: pulumi.Input<inputs.kms.KeyAsymmetricCiphertext>;
|
|
163
|
+
/**
|
|
164
|
+
* Asymmetric signature action parameters and results. AsymmetricSign can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
165
|
+
*/
|
|
166
|
+
asymmetricSignature?: pulumi.Input<inputs.kms.KeyAsymmetricSignature>;
|
|
167
|
+
/**
|
|
168
|
+
* Symmetric encryption action parameters and results. Encrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
169
|
+
*/
|
|
170
|
+
ciphertext?: pulumi.Input<inputs.kms.KeyCiphertext>;
|
|
135
171
|
/**
|
|
136
172
|
* Key creation time.
|
|
137
173
|
*/
|
|
@@ -160,6 +196,10 @@ export interface KeyState {
|
|
|
160
196
|
* Master key name. Length 2–31 characters. Valid characters: [a-zA-Z0-9-_].
|
|
161
197
|
*/
|
|
162
198
|
keyName?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Primary region of the multi-region key. Set the target primary region during the Create/Update phase; the current primary region is returned during the Read phase.
|
|
201
|
+
*/
|
|
202
|
+
keyPrimaryRegion?: pulumi.Input<string>;
|
|
163
203
|
/**
|
|
164
204
|
* User master key rotation operation (enter 1 to enable, 2 to disable).
|
|
165
205
|
*/
|
|
@@ -200,6 +240,14 @@ export interface KeyState {
|
|
|
200
240
|
* Key protection level. Options: SOFTWARE, HSM.
|
|
201
241
|
*/
|
|
202
242
|
protectionLevel?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Re-encryption action parameters and results. ReEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
245
|
+
*/
|
|
246
|
+
reEncrypt?: pulumi.Input<inputs.kms.KeyReEncrypt>;
|
|
247
|
+
/**
|
|
248
|
+
* Replicate key action parameters and results. ReplicateKey can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
249
|
+
*/
|
|
250
|
+
replicateKey?: pulumi.Input<inputs.kms.KeyReplicateKey>;
|
|
203
251
|
/**
|
|
204
252
|
* Key rotation period (days). Range: [90, 2560].
|
|
205
253
|
*/
|
|
@@ -230,6 +278,18 @@ export interface KeyState {
|
|
|
230
278
|
* The set of arguments for constructing a Key resource.
|
|
231
279
|
*/
|
|
232
280
|
export interface KeyArgs {
|
|
281
|
+
/**
|
|
282
|
+
* Asymmetric encryption action parameters and results. AsymmetricEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
283
|
+
*/
|
|
284
|
+
asymmetricCiphertext?: pulumi.Input<inputs.kms.KeyAsymmetricCiphertext>;
|
|
285
|
+
/**
|
|
286
|
+
* Asymmetric signature action parameters and results. AsymmetricSign can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
287
|
+
*/
|
|
288
|
+
asymmetricSignature?: pulumi.Input<inputs.kms.KeyAsymmetricSignature>;
|
|
289
|
+
/**
|
|
290
|
+
* Symmetric encryption action parameters and results. Encrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
291
|
+
*/
|
|
292
|
+
ciphertext?: pulumi.Input<inputs.kms.KeyCiphertext>;
|
|
233
293
|
/**
|
|
234
294
|
* Key description: Length 0–8192 characters.
|
|
235
295
|
*/
|
|
@@ -246,6 +306,10 @@ export interface KeyArgs {
|
|
|
246
306
|
* Master key name. Length 2–31 characters. Valid characters: [a-zA-Z0-9-_].
|
|
247
307
|
*/
|
|
248
308
|
keyName: pulumi.Input<string>;
|
|
309
|
+
/**
|
|
310
|
+
* Primary region of the multi-region key. Set the target primary region during the Create/Update phase; the current primary region is returned during the Read phase.
|
|
311
|
+
*/
|
|
312
|
+
keyPrimaryRegion?: pulumi.Input<string>;
|
|
249
313
|
/**
|
|
250
314
|
* User master key rotation operation (enter 1 to enable, 2 to disable).
|
|
251
315
|
*/
|
|
@@ -274,6 +338,14 @@ export interface KeyArgs {
|
|
|
274
338
|
* Key protection level. Options: SOFTWARE, HSM.
|
|
275
339
|
*/
|
|
276
340
|
protectionLevel?: pulumi.Input<string>;
|
|
341
|
+
/**
|
|
342
|
+
* Re-encryption action parameters and results. ReEncrypt can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
343
|
+
*/
|
|
344
|
+
reEncrypt?: pulumi.Input<inputs.kms.KeyReEncrypt>;
|
|
345
|
+
/**
|
|
346
|
+
* Replicate key action parameters and results. ReplicateKey can be triggered during the Create/Update phase; the result is only guaranteed to be returned in the current response.
|
|
347
|
+
*/
|
|
348
|
+
replicateKey?: pulumi.Input<inputs.kms.KeyReplicateKey>;
|
|
277
349
|
/**
|
|
278
350
|
* Key rotation period (days). Range: [90, 2560].
|
|
279
351
|
*/
|
package/kms/key.js
CHANGED
|
@@ -42,6 +42,9 @@ class Key extends pulumi.CustomResource {
|
|
|
42
42
|
opts = opts || {};
|
|
43
43
|
if (opts.id) {
|
|
44
44
|
const state = argsOrState;
|
|
45
|
+
resourceInputs["asymmetricCiphertext"] = state ? state.asymmetricCiphertext : undefined;
|
|
46
|
+
resourceInputs["asymmetricSignature"] = state ? state.asymmetricSignature : undefined;
|
|
47
|
+
resourceInputs["ciphertext"] = state ? state.ciphertext : undefined;
|
|
45
48
|
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
46
49
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
47
50
|
resourceInputs["keyArchiveOperation"] = state ? state.keyArchiveOperation : undefined;
|
|
@@ -49,6 +52,7 @@ class Key extends pulumi.CustomResource {
|
|
|
49
52
|
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
50
53
|
resourceInputs["keyMaterialExpireTime"] = state ? state.keyMaterialExpireTime : undefined;
|
|
51
54
|
resourceInputs["keyName"] = state ? state.keyName : undefined;
|
|
55
|
+
resourceInputs["keyPrimaryRegion"] = state ? state.keyPrimaryRegion : undefined;
|
|
52
56
|
resourceInputs["keyRotationOperation"] = state ? state.keyRotationOperation : undefined;
|
|
53
57
|
resourceInputs["keySpec"] = state ? state.keySpec : undefined;
|
|
54
58
|
resourceInputs["keyState"] = state ? state.keyState : undefined;
|
|
@@ -59,6 +63,8 @@ class Key extends pulumi.CustomResource {
|
|
|
59
63
|
resourceInputs["multiRegionConfiguration"] = state ? state.multiRegionConfiguration : undefined;
|
|
60
64
|
resourceInputs["origin"] = state ? state.origin : undefined;
|
|
61
65
|
resourceInputs["protectionLevel"] = state ? state.protectionLevel : undefined;
|
|
66
|
+
resourceInputs["reEncrypt"] = state ? state.reEncrypt : undefined;
|
|
67
|
+
resourceInputs["replicateKey"] = state ? state.replicateKey : undefined;
|
|
62
68
|
resourceInputs["rotateInterval"] = state ? state.rotateInterval : undefined;
|
|
63
69
|
resourceInputs["rotateState"] = state ? state.rotateState : undefined;
|
|
64
70
|
resourceInputs["scheduleDeleteTime"] = state ? state.scheduleDeleteTime : undefined;
|
|
@@ -75,10 +81,14 @@ class Key extends pulumi.CustomResource {
|
|
|
75
81
|
if ((!args || args.keyringName === undefined) && !opts.urn) {
|
|
76
82
|
throw new Error("Missing required property 'keyringName'");
|
|
77
83
|
}
|
|
84
|
+
resourceInputs["asymmetricCiphertext"] = args ? args.asymmetricCiphertext : undefined;
|
|
85
|
+
resourceInputs["asymmetricSignature"] = args ? args.asymmetricSignature : undefined;
|
|
86
|
+
resourceInputs["ciphertext"] = args ? args.ciphertext : undefined;
|
|
78
87
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
79
88
|
resourceInputs["keyArchiveOperation"] = args ? args.keyArchiveOperation : undefined;
|
|
80
89
|
resourceInputs["keyEnableOperation"] = args ? args.keyEnableOperation : undefined;
|
|
81
90
|
resourceInputs["keyName"] = args ? args.keyName : undefined;
|
|
91
|
+
resourceInputs["keyPrimaryRegion"] = args ? args.keyPrimaryRegion : undefined;
|
|
82
92
|
resourceInputs["keyRotationOperation"] = args ? args.keyRotationOperation : undefined;
|
|
83
93
|
resourceInputs["keySpec"] = args ? args.keySpec : undefined;
|
|
84
94
|
resourceInputs["keyUsage"] = args ? args.keyUsage : undefined;
|
|
@@ -86,6 +96,8 @@ class Key extends pulumi.CustomResource {
|
|
|
86
96
|
resourceInputs["multiRegion"] = args ? args.multiRegion : undefined;
|
|
87
97
|
resourceInputs["origin"] = args ? args.origin : undefined;
|
|
88
98
|
resourceInputs["protectionLevel"] = args ? args.protectionLevel : undefined;
|
|
99
|
+
resourceInputs["reEncrypt"] = args ? args.reEncrypt : undefined;
|
|
100
|
+
resourceInputs["replicateKey"] = args ? args.replicateKey : undefined;
|
|
89
101
|
resourceInputs["rotateInterval"] = args ? args.rotateInterval : undefined;
|
|
90
102
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
91
103
|
resourceInputs["createdTime"] = undefined /*out*/;
|
package/kms/key.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names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AAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAtOL,kBAuOC;AAzNG,gBAAgB;AACO,gBAAY,GAAG,0BAA0B,CAAC"}
|
package/package.json
CHANGED
package/provider.d.ts
CHANGED
|
@@ -45,6 +45,11 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
45
45
|
* environment variable
|
|
46
46
|
*/
|
|
47
47
|
readonly secretKey: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* The Session Token for Volcengine Provider. It can also be sourced from the `VOLCENGINE_SESSION_TOKEN` environment
|
|
50
|
+
* variable
|
|
51
|
+
*/
|
|
52
|
+
readonly sessionToken: pulumi.Output<string | undefined>;
|
|
48
53
|
/**
|
|
49
54
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
50
55
|
*
|
|
@@ -107,6 +112,11 @@ export interface ProviderArgs {
|
|
|
107
112
|
* environment variable
|
|
108
113
|
*/
|
|
109
114
|
secretKey?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The Session Token for Volcengine Provider. It can also be sourced from the `VOLCENGINE_SESSION_TOKEN` environment
|
|
117
|
+
* variable
|
|
118
|
+
*/
|
|
119
|
+
sessionToken?: pulumi.Input<string>;
|
|
110
120
|
}
|
|
111
121
|
export declare namespace Provider {
|
|
112
122
|
/**
|
package/provider.js
CHANGED
|
@@ -30,7 +30,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
30
30
|
* @param opts A bag of options that control this resource's behavior.
|
|
31
31
|
*/
|
|
32
32
|
constructor(name, args, opts) {
|
|
33
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
33
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
34
34
|
let resourceInputs = {};
|
|
35
35
|
opts = opts || {};
|
|
36
36
|
{
|
|
@@ -44,6 +44,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
44
44
|
resourceInputs["proxyUrl"] = (_f = (args ? args.proxyUrl : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("VOLCENGINE_PROXY_URL");
|
|
45
45
|
resourceInputs["region"] = (_g = (args ? args.region : undefined)) !== null && _g !== void 0 ? _g : utilities.getEnv("VOLCENGINE_REGION");
|
|
46
46
|
resourceInputs["secretKey"] = (_h = (args ? args.secretKey : undefined)) !== null && _h !== void 0 ? _h : utilities.getEnv("VOLCENGINE_SECRET_KEY");
|
|
47
|
+
resourceInputs["sessionToken"] = (_j = (args ? args.sessionToken : undefined)) !== null && _j !== void 0 ? _j : utilities.getEnv("VOLCENGINE_SESSION_TOKEN");
|
|
47
48
|
}
|
|
48
49
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
49
50
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,i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