@volcengine/pulumi-volcenginecc 0.0.47 → 0.0.49
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/apig/upstream.d.ts +12 -0
- package/apig/upstream.d.ts.map +1 -1
- package/apig/upstream.js +8 -1
- package/apig/upstream.js.map +1 -1
- package/ecs/getKeypair.d.ts +4 -0
- package/ecs/getKeypair.d.ts.map +1 -1
- package/ecs/getKeypair.js.map +1 -1
- package/ecs/keypair.d.ts +8 -0
- package/ecs/keypair.d.ts.map +1 -1
- package/ecs/keypair.js +2 -0
- package/ecs/keypair.js.map +1 -1
- package/escloud/getIpAllowList.d.ts +33 -0
- package/escloud/getIpAllowList.d.ts.map +1 -0
- package/escloud/getIpAllowList.js +51 -0
- package/escloud/getIpAllowList.js.map +1 -0
- package/escloud/getIpAllowLists.d.ts +23 -0
- package/escloud/getIpAllowLists.d.ts.map +1 -0
- package/escloud/getIpAllowLists.js +47 -0
- package/escloud/getIpAllowLists.js.map +1 -0
- package/escloud/index.d.ts +9 -0
- package/escloud/index.d.ts.map +1 -1
- package/escloud/index.js +12 -1
- package/escloud/index.js.map +1 -1
- package/escloud/ipAllowList.d.ts +146 -0
- package/escloud/ipAllowList.d.ts.map +1 -0
- package/escloud/ipAllowList.js +131 -0
- package/escloud/ipAllowList.js.map +1 -0
- package/id/getOauth2CredentialProvider.d.ts +74 -0
- package/id/getOauth2CredentialProvider.d.ts.map +1 -0
- package/id/getOauth2CredentialProvider.js +51 -0
- package/id/getOauth2CredentialProvider.js.map +1 -0
- package/id/getOauth2CredentialProviders.d.ts +23 -0
- package/id/getOauth2CredentialProviders.d.ts.map +1 -0
- package/id/getOauth2CredentialProviders.js +47 -0
- package/id/getOauth2CredentialProviders.js.map +1 -0
- package/id/index.d.ts +9 -0
- package/id/index.d.ts.map +1 -1
- package/id/index.js +12 -1
- package/id/index.js.map +1 -1
- package/id/oauth2CredentialProvider.d.ts +191 -0
- package/id/oauth2CredentialProvider.d.ts.map +1 -0
- package/id/oauth2CredentialProvider.js +157 -0
- package/id/oauth2CredentialProvider.js.map +1 -0
- package/kms/getSecret.d.ts +29 -0
- package/kms/getSecret.d.ts.map +1 -1
- package/kms/getSecret.js.map +1 -1
- package/kms/secret.d.ts +80 -0
- package/kms/secret.d.ts.map +1 -1
- package/kms/secret.js +14 -0
- package/kms/secret.js.map +1 -1
- package/package.json +1 -1
- package/tls/alarmContentTemplateType.d.ts +263 -0
- package/tls/alarmContentTemplateType.d.ts.map +1 -0
- package/tls/alarmContentTemplateType.js +183 -0
- package/tls/alarmContentTemplateType.js.map +1 -0
- package/tls/downloadTask.d.ts +295 -0
- package/tls/downloadTask.d.ts.map +1 -0
- package/tls/downloadTask.js +170 -0
- package/tls/downloadTask.js.map +1 -0
- package/tls/getAlarmContentTemplateType.d.ts +90 -0
- package/tls/getAlarmContentTemplateType.d.ts.map +1 -0
- package/tls/getAlarmContentTemplateType.js +51 -0
- package/tls/getAlarmContentTemplateType.js.map +1 -0
- package/tls/getAlarmContentTemplateTypes.d.ts +23 -0
- package/tls/getAlarmContentTemplateTypes.d.ts.map +1 -0
- package/tls/getAlarmContentTemplateTypes.js +47 -0
- package/tls/getAlarmContentTemplateTypes.js.map +1 -0
- package/tls/getDownloadTask.d.ts +118 -0
- package/tls/getDownloadTask.d.ts.map +1 -0
- package/tls/getDownloadTask.js +51 -0
- package/tls/getDownloadTask.js.map +1 -0
- package/tls/getDownloadTasks.d.ts +23 -0
- package/tls/getDownloadTasks.d.ts.map +1 -0
- package/tls/getDownloadTasks.js +47 -0
- package/tls/getDownloadTasks.js.map +1 -0
- package/tls/getRuleBoundHostGroup.d.ts +50 -0
- package/tls/getRuleBoundHostGroup.d.ts.map +1 -0
- package/tls/getRuleBoundHostGroup.js +51 -0
- package/tls/getRuleBoundHostGroup.js.map +1 -0
- package/tls/getRuleBoundHostGroups.d.ts +23 -0
- package/tls/getRuleBoundHostGroups.d.ts.map +1 -0
- package/tls/getRuleBoundHostGroups.js +47 -0
- package/tls/getRuleBoundHostGroups.js.map +1 -0
- package/tls/getTopic.d.ts +12 -0
- package/tls/getTopic.d.ts.map +1 -1
- package/tls/getTopic.js.map +1 -1
- package/tls/index.d.ts +27 -0
- package/tls/index.d.ts.map +1 -1
- package/tls/index.js +35 -2
- package/tls/index.js.map +1 -1
- package/tls/ruleBoundHostGroup.d.ts +92 -0
- package/tls/ruleBoundHostGroup.d.ts.map +1 -0
- package/tls/ruleBoundHostGroup.js +103 -0
- package/tls/ruleBoundHostGroup.js.map +1 -0
- package/tls/topic.d.ts +36 -0
- package/tls/topic.d.ts.map +1 -1
- package/tls/topic.js +8 -0
- package/tls/topic.js.map +1 -1
- package/tos/bucket.d.ts +1 -1
- package/tos/bucket.js +1 -1
- package/tos/bucketReplication.d.ts +117 -0
- package/tos/bucketReplication.d.ts.map +1 -0
- package/tos/bucketReplication.js +124 -0
- package/tos/bucketReplication.js.map +1 -0
- package/tos/getBucketReplication.d.ts +50 -0
- package/tos/getBucketReplication.d.ts.map +1 -0
- package/tos/getBucketReplication.js +51 -0
- package/tos/getBucketReplication.js.map +1 -0
- package/tos/getBucketReplications.d.ts +23 -0
- package/tos/getBucketReplications.d.ts.map +1 -0
- package/tos/getBucketReplications.js +47 -0
- package/tos/getBucketReplications.js.map +1 -0
- package/tos/getObject.d.ts +118 -0
- package/tos/getObject.d.ts.map +1 -0
- package/tos/getObject.js +51 -0
- package/tos/getObject.js.map +1 -0
- package/tos/getObjects.d.ts +23 -0
- package/tos/getObjects.d.ts.map +1 -0
- package/tos/getObjects.js +47 -0
- package/tos/getObjects.js.map +1 -0
- package/tos/index.d.ts +18 -0
- package/tos/index.d.ts.map +1 -1
- package/tos/index.js +24 -1
- package/tos/index.js.map +1 -1
- package/tos/tosObject.d.ts +294 -0
- package/tos/tosObject.d.ts.map +1 -0
- package/tos/tosObject.js +168 -0
- package/tos/tosObject.js.map +1 -0
- package/types/input.d.ts +880 -14
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1987 -254
- package/types/output.d.ts.map +1 -1
- package/veenedge/getVeen.d.ts +206 -0
- package/veenedge/getVeen.d.ts.map +1 -0
- package/veenedge/getVeen.js +51 -0
- package/veenedge/getVeen.js.map +1 -0
- package/veenedge/getVeens.d.ts +23 -0
- package/veenedge/getVeens.d.ts.map +1 -0
- package/veenedge/getVeens.js +47 -0
- package/veenedge/getVeens.js.map +1 -0
- package/veenedge/index.d.ts +9 -0
- package/veenedge/index.d.ts.map +1 -1
- package/veenedge/index.js +12 -1
- package/veenedge/index.js.map +1 -1
- package/veenedge/veen.d.ts +475 -0
- package/veenedge/veen.d.ts.map +1 -0
- package/veenedge/veen.js +211 -0
- package/veenedge/veen.js.map +1 -0
- package/vmp/getIntegrationTask.d.ts +90 -0
- package/vmp/getIntegrationTask.d.ts.map +1 -0
- package/vmp/getIntegrationTask.js +51 -0
- package/vmp/getIntegrationTask.js.map +1 -0
- package/vmp/getIntegrationTasks.d.ts +23 -0
- package/vmp/getIntegrationTasks.d.ts.map +1 -0
- package/vmp/getIntegrationTasks.js +47 -0
- package/vmp/getIntegrationTasks.js.map +1 -0
- package/vmp/index.d.ts +9 -0
- package/vmp/index.d.ts.map +1 -1
- package/vmp/index.js +12 -1
- package/vmp/index.js.map +1 -1
- package/vmp/integrationTask.d.ts +229 -0
- package/vmp/integrationTask.d.ts.map +1 -0
- package/vmp/integrationTask.js +148 -0
- package/vmp/integrationTask.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth2CredentialProvider.d.ts","sourceRoot":"","sources":["../../id/oauth2CredentialProvider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2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CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Oauth2CredentialProvider = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* OAuth2 credential provider stores OAuth2 client information, discovery information, and default token request parameters for ID service workload pools to obtain external OAuth2 credentials
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new volcenginecc.id.Oauth2CredentialProvider("Example", {
|
|
41
|
+
* config: {
|
|
42
|
+
* client_id: "ClientId",
|
|
43
|
+
* client_secret: "ClientSecret",
|
|
44
|
+
* custom_parameters: {
|
|
45
|
+
* entries: [
|
|
46
|
+
* {
|
|
47
|
+
* key: "k1",
|
|
48
|
+
* value: "v1",
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* key: "k2",
|
|
52
|
+
* value: "v2",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* flow: "USER_FEDERATION",
|
|
57
|
+
* force_authentication: false,
|
|
58
|
+
* max_expires: 3600,
|
|
59
|
+
* metadata: "test for metadata",
|
|
60
|
+
* oauth_2_discovery: {
|
|
61
|
+
* authorizationServerMetadata: {
|
|
62
|
+
* authorizationEndpoint: "http://abc.login.com",
|
|
63
|
+
* codeChallengeMethodsSupported: ["S256"],
|
|
64
|
+
* issuer: "http://abc.user.com",
|
|
65
|
+
* registrationEndpoint: "http://abc.com/register",
|
|
66
|
+
* responseTypes: [
|
|
67
|
+
* "code",
|
|
68
|
+
* "token",
|
|
69
|
+
* "id_token",
|
|
70
|
+
* "code id_token",
|
|
71
|
+
* ],
|
|
72
|
+
* tokenEndpoint: "http://abc.token.com",
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* redirect_url: "http://abc.callback.com",
|
|
76
|
+
* scopes: ["openid"],
|
|
77
|
+
* },
|
|
78
|
+
* name: "ccapi-dx-1",
|
|
79
|
+
* poolName: "default",
|
|
80
|
+
* projectName: "default",
|
|
81
|
+
* vendor: 0,
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* ## Import
|
|
86
|
+
*
|
|
87
|
+
* ```sh
|
|
88
|
+
* $ pulumi import volcenginecc:id/oauth2CredentialProvider:Oauth2CredentialProvider example "name|pool_name"
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
class Oauth2CredentialProvider extends pulumi.CustomResource {
|
|
92
|
+
/**
|
|
93
|
+
* Get an existing Oauth2CredentialProvider resource's state with the given name, ID, and optional extra
|
|
94
|
+
* properties used to qualify the lookup.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resulting resource.
|
|
97
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
98
|
+
* @param state Any extra arguments used during the lookup.
|
|
99
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
+
*/
|
|
101
|
+
static get(name, id, state, opts) {
|
|
102
|
+
return new Oauth2CredentialProvider(name, state, { ...opts, id: id });
|
|
103
|
+
}
|
|
104
|
+
/** @internal */
|
|
105
|
+
static __pulumiType = 'volcenginecc:id/oauth2CredentialProvider:Oauth2CredentialProvider';
|
|
106
|
+
/**
|
|
107
|
+
* Returns true if the given object is an instance of Oauth2CredentialProvider. This is designed to work even
|
|
108
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
109
|
+
*/
|
|
110
|
+
static isInstance(obj) {
|
|
111
|
+
if (obj === undefined || obj === null) {
|
|
112
|
+
return false;
|
|
113
|
+
}
|
|
114
|
+
return obj['__pulumiType'] === Oauth2CredentialProvider.__pulumiType;
|
|
115
|
+
}
|
|
116
|
+
constructor(name, argsOrState, opts) {
|
|
117
|
+
let resourceInputs = {};
|
|
118
|
+
opts = opts || {};
|
|
119
|
+
if (opts.id) {
|
|
120
|
+
const state = argsOrState;
|
|
121
|
+
resourceInputs["config"] = state?.config;
|
|
122
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
123
|
+
resourceInputs["credentialProviderTrn"] = state?.credentialProviderTrn;
|
|
124
|
+
resourceInputs["name"] = state?.name;
|
|
125
|
+
resourceInputs["poolName"] = state?.poolName;
|
|
126
|
+
resourceInputs["projectName"] = state?.projectName;
|
|
127
|
+
resourceInputs["secretTrn"] = state?.secretTrn;
|
|
128
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
129
|
+
resourceInputs["vendor"] = state?.vendor;
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
const args = argsOrState;
|
|
133
|
+
if (args?.config === undefined && !opts.urn) {
|
|
134
|
+
throw new Error("Missing required property 'config'");
|
|
135
|
+
}
|
|
136
|
+
if (args?.name === undefined && !opts.urn) {
|
|
137
|
+
throw new Error("Missing required property 'name'");
|
|
138
|
+
}
|
|
139
|
+
if (args?.vendor === undefined && !opts.urn) {
|
|
140
|
+
throw new Error("Missing required property 'vendor'");
|
|
141
|
+
}
|
|
142
|
+
resourceInputs["config"] = args?.config;
|
|
143
|
+
resourceInputs["name"] = args?.name;
|
|
144
|
+
resourceInputs["poolName"] = args?.poolName;
|
|
145
|
+
resourceInputs["projectName"] = args?.projectName;
|
|
146
|
+
resourceInputs["vendor"] = args?.vendor;
|
|
147
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
148
|
+
resourceInputs["credentialProviderTrn"] = undefined /*out*/;
|
|
149
|
+
resourceInputs["secretTrn"] = undefined /*out*/;
|
|
150
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
151
|
+
}
|
|
152
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
153
|
+
super(Oauth2CredentialProvider.__pulumiType, name, resourceInputs, opts);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.Oauth2CredentialProvider = Oauth2CredentialProvider;
|
|
157
|
+
//# sourceMappingURL=oauth2CredentialProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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C,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA9GL,4DA+GC"}
|
package/kms/getSecret.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
2
3
|
/**
|
|
3
4
|
* Data Source schema for Volcengine::KMS::Secret
|
|
4
5
|
*/
|
|
@@ -20,6 +21,10 @@ export interface GetSecretResult {
|
|
|
20
21
|
* Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
|
|
21
22
|
*/
|
|
22
23
|
readonly automaticRotation: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Trigger: When set to true, calls the KMS CancelSecretDeletion API to cancel the scheduled deletion of the credential.
|
|
26
|
+
*/
|
|
27
|
+
readonly cancelSecretDeletion: boolean;
|
|
23
28
|
/**
|
|
24
29
|
* Credential creation time
|
|
25
30
|
*/
|
|
@@ -52,6 +57,10 @@ export interface GetSecretResult {
|
|
|
52
57
|
* Managed Cloud Service
|
|
53
58
|
*/
|
|
54
59
|
readonly owningService: string;
|
|
60
|
+
/**
|
|
61
|
+
* Credential pre-deletion period. During this time, you can revoke the deletion of credentials in pending deletion status; after the pre-deletion period, deletion cannot be revoked. Value range: 7 ~ 30. Unit: days. Default: 7. To cancel, use CancelSecretDeletion.
|
|
62
|
+
*/
|
|
63
|
+
readonly pendingWindowInDays: number;
|
|
55
64
|
/**
|
|
56
65
|
* Credential project name. Default value: default
|
|
57
66
|
*/
|
|
@@ -76,6 +85,10 @@ export interface GetSecretResult {
|
|
|
76
85
|
* Credential next rotation time
|
|
77
86
|
*/
|
|
78
87
|
readonly scheduleRotationTime: string;
|
|
88
|
+
/**
|
|
89
|
+
* Trigger: When set to true, calls the KMS BackupSecret API to back up the credential. The backup result is written to SecretRestoreRead. Please keep it safe.
|
|
90
|
+
*/
|
|
91
|
+
readonly secretBackup: boolean;
|
|
79
92
|
/**
|
|
80
93
|
* Credential unique identifier, UUID format
|
|
81
94
|
*/
|
|
@@ -84,6 +97,18 @@ export interface GetSecretResult {
|
|
|
84
97
|
* Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
|
|
85
98
|
*/
|
|
86
99
|
readonly secretName: string;
|
|
100
|
+
/**
|
|
101
|
+
* Credential restore parameters. Only effective during creation. If provided, calls the KMS RestoreSecret API to restore the credential from backup data. Other creation parameters such as SecretValue, SecretType, and SecretName will not take effect.
|
|
102
|
+
*/
|
|
103
|
+
readonly secretRestore: outputs.kms.GetSecretSecretRestore;
|
|
104
|
+
/**
|
|
105
|
+
* Credential restore parameters. Returned only during backup.
|
|
106
|
+
*/
|
|
107
|
+
readonly secretRestoreRead: outputs.kms.GetSecretSecretRestoreRead;
|
|
108
|
+
/**
|
|
109
|
+
* Trigger: When set to true, calls the KMS RotateSecret API to manually rotate the credential.
|
|
110
|
+
*/
|
|
111
|
+
readonly secretRotate: boolean;
|
|
87
112
|
/**
|
|
88
113
|
* Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
|
|
89
114
|
*/
|
|
@@ -96,6 +121,10 @@ export interface GetSecretResult {
|
|
|
96
121
|
* Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
|
|
97
122
|
*/
|
|
98
123
|
readonly secretValue: string;
|
|
124
|
+
/**
|
|
125
|
+
* Credential version information.
|
|
126
|
+
*/
|
|
127
|
+
readonly secretVersions: outputs.kms.GetSecretSecretVersion[];
|
|
99
128
|
/**
|
|
100
129
|
* Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
|
|
101
130
|
*/
|
package/kms/getSecret.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSecret.d.ts","sourceRoot":"","sources":["../../kms/getSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"getSecret.d.ts","sourceRoot":"","sources":["../../kms/getSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,CAKpG;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC;IACvC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,MA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ChC;AACD;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAK5H;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
package/kms/getSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSecret.js","sourceRoot":"","sources":["../../kms/getSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;
|
|
1
|
+
{"version":3,"file":"getSecret.js","sourceRoot":"","sources":["../../kms/getSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AA6ID;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
package/kms/secret.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
2
4
|
/**
|
|
3
5
|
* Credential Manager is a credential management product based on the key management system. It is used to store sensitive credential information required by user business applications, such as AK/SK, account passwords, access keys, database passwords, and certificates. The product provides secure storage, access control, automatic rotation, and auditing capabilities. User business applications can securely and dynamically obtain credential information by integrating the KMS SDK or using the KMS OpenAPI, effectively preventing risks such as information leakage or unintended modification caused by storing sensitive information in plaintext
|
|
4
6
|
*
|
|
@@ -48,6 +50,10 @@ export declare class Secret extends pulumi.CustomResource {
|
|
|
48
50
|
* Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
|
|
49
51
|
*/
|
|
50
52
|
readonly automaticRotation: pulumi.Output<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Trigger: When set to true, calls the KMS CancelSecretDeletion API to cancel the scheduled deletion of the credential.
|
|
55
|
+
*/
|
|
56
|
+
readonly cancelSecretDeletion: pulumi.Output<boolean>;
|
|
51
57
|
/**
|
|
52
58
|
* Credential creation time
|
|
53
59
|
*/
|
|
@@ -76,6 +82,10 @@ export declare class Secret extends pulumi.CustomResource {
|
|
|
76
82
|
* Managed Cloud Service
|
|
77
83
|
*/
|
|
78
84
|
readonly owningService: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Credential pre-deletion period. During this time, you can revoke the deletion of credentials in pending deletion status; after the pre-deletion period, deletion cannot be revoked. Value range: 7 ~ 30. Unit: days. Default: 7. To cancel, use CancelSecretDeletion.
|
|
87
|
+
*/
|
|
88
|
+
readonly pendingWindowInDays: pulumi.Output<number>;
|
|
79
89
|
/**
|
|
80
90
|
* Credential project name. Default value: default
|
|
81
91
|
*/
|
|
@@ -100,6 +110,10 @@ export declare class Secret extends pulumi.CustomResource {
|
|
|
100
110
|
* Credential next rotation time
|
|
101
111
|
*/
|
|
102
112
|
readonly scheduleRotationTime: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Trigger: When set to true, calls the KMS BackupSecret API to back up the credential. The backup result is written to SecretRestoreRead. Please keep it safe.
|
|
115
|
+
*/
|
|
116
|
+
readonly secretBackup: pulumi.Output<boolean>;
|
|
103
117
|
/**
|
|
104
118
|
* Credential unique identifier, UUID format
|
|
105
119
|
*/
|
|
@@ -108,6 +122,18 @@ export declare class Secret extends pulumi.CustomResource {
|
|
|
108
122
|
* Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
|
|
109
123
|
*/
|
|
110
124
|
readonly secretName: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Credential restore parameters. Only effective during creation. If provided, calls the KMS RestoreSecret API to restore the credential from backup data. Other creation parameters such as SecretValue, SecretType, and SecretName will not take effect.
|
|
127
|
+
*/
|
|
128
|
+
readonly secretRestore: pulumi.Output<outputs.kms.SecretSecretRestore>;
|
|
129
|
+
/**
|
|
130
|
+
* Credential restore parameters. Returned only during backup.
|
|
131
|
+
*/
|
|
132
|
+
readonly secretRestoreRead: pulumi.Output<outputs.kms.SecretSecretRestoreRead>;
|
|
133
|
+
/**
|
|
134
|
+
* Trigger: When set to true, calls the KMS RotateSecret API to manually rotate the credential.
|
|
135
|
+
*/
|
|
136
|
+
readonly secretRotate: pulumi.Output<boolean>;
|
|
111
137
|
/**
|
|
112
138
|
* Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
|
|
113
139
|
*/
|
|
@@ -120,6 +146,11 @@ export declare class Secret extends pulumi.CustomResource {
|
|
|
120
146
|
* Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
|
|
121
147
|
*/
|
|
122
148
|
readonly secretValue: pulumi.Output<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Credential version information.
|
|
151
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
152
|
+
*/
|
|
153
|
+
readonly secretVersions: pulumi.Output<outputs.kms.SecretSecretVersion[]>;
|
|
123
154
|
/**
|
|
124
155
|
* Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
|
|
125
156
|
*/
|
|
@@ -153,6 +184,10 @@ export interface SecretState {
|
|
|
153
184
|
* Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
|
|
154
185
|
*/
|
|
155
186
|
automaticRotation?: pulumi.Input<boolean | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Trigger: When set to true, calls the KMS CancelSecretDeletion API to cancel the scheduled deletion of the credential.
|
|
189
|
+
*/
|
|
190
|
+
cancelSecretDeletion?: pulumi.Input<boolean | undefined>;
|
|
156
191
|
/**
|
|
157
192
|
* Credential creation time
|
|
158
193
|
*/
|
|
@@ -181,6 +216,10 @@ export interface SecretState {
|
|
|
181
216
|
* Managed Cloud Service
|
|
182
217
|
*/
|
|
183
218
|
owningService?: pulumi.Input<string | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* Credential pre-deletion period. During this time, you can revoke the deletion of credentials in pending deletion status; after the pre-deletion period, deletion cannot be revoked. Value range: 7 ~ 30. Unit: days. Default: 7. To cancel, use CancelSecretDeletion.
|
|
221
|
+
*/
|
|
222
|
+
pendingWindowInDays?: pulumi.Input<number | undefined>;
|
|
184
223
|
/**
|
|
185
224
|
* Credential project name. Default value: default
|
|
186
225
|
*/
|
|
@@ -205,6 +244,10 @@ export interface SecretState {
|
|
|
205
244
|
* Credential next rotation time
|
|
206
245
|
*/
|
|
207
246
|
scheduleRotationTime?: pulumi.Input<string | undefined>;
|
|
247
|
+
/**
|
|
248
|
+
* Trigger: When set to true, calls the KMS BackupSecret API to back up the credential. The backup result is written to SecretRestoreRead. Please keep it safe.
|
|
249
|
+
*/
|
|
250
|
+
secretBackup?: pulumi.Input<boolean | undefined>;
|
|
208
251
|
/**
|
|
209
252
|
* Credential unique identifier, UUID format
|
|
210
253
|
*/
|
|
@@ -213,6 +256,18 @@ export interface SecretState {
|
|
|
213
256
|
* Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
|
|
214
257
|
*/
|
|
215
258
|
secretName?: pulumi.Input<string | undefined>;
|
|
259
|
+
/**
|
|
260
|
+
* Credential restore parameters. Only effective during creation. If provided, calls the KMS RestoreSecret API to restore the credential from backup data. Other creation parameters such as SecretValue, SecretType, and SecretName will not take effect.
|
|
261
|
+
*/
|
|
262
|
+
secretRestore?: pulumi.Input<inputs.kms.SecretSecretRestore | undefined>;
|
|
263
|
+
/**
|
|
264
|
+
* Credential restore parameters. Returned only during backup.
|
|
265
|
+
*/
|
|
266
|
+
secretRestoreRead?: pulumi.Input<inputs.kms.SecretSecretRestoreRead | undefined>;
|
|
267
|
+
/**
|
|
268
|
+
* Trigger: When set to true, calls the KMS RotateSecret API to manually rotate the credential.
|
|
269
|
+
*/
|
|
270
|
+
secretRotate?: pulumi.Input<boolean | undefined>;
|
|
216
271
|
/**
|
|
217
272
|
* Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
|
|
218
273
|
*/
|
|
@@ -225,6 +280,11 @@ export interface SecretState {
|
|
|
225
280
|
* Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
|
|
226
281
|
*/
|
|
227
282
|
secretValue?: pulumi.Input<string | undefined>;
|
|
283
|
+
/**
|
|
284
|
+
* Credential version information.
|
|
285
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
286
|
+
*/
|
|
287
|
+
secretVersions?: pulumi.Input<pulumi.Input<inputs.kms.SecretSecretVersion>[] | undefined>;
|
|
228
288
|
/**
|
|
229
289
|
* Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
|
|
230
290
|
*/
|
|
@@ -250,6 +310,10 @@ export interface SecretArgs {
|
|
|
250
310
|
* Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
|
|
251
311
|
*/
|
|
252
312
|
automaticRotation?: pulumi.Input<boolean | undefined>;
|
|
313
|
+
/**
|
|
314
|
+
* Trigger: When set to true, calls the KMS CancelSecretDeletion API to cancel the scheduled deletion of the credential.
|
|
315
|
+
*/
|
|
316
|
+
cancelSecretDeletion?: pulumi.Input<boolean | undefined>;
|
|
253
317
|
/**
|
|
254
318
|
* Credential description, length: 0 ~ 8192 characters
|
|
255
319
|
*/
|
|
@@ -262,6 +326,10 @@ export interface SecretArgs {
|
|
|
262
326
|
* Credential extension configuration, used to specify properties for non-Generic credentials
|
|
263
327
|
*/
|
|
264
328
|
extendedConfig?: pulumi.Input<string | undefined>;
|
|
329
|
+
/**
|
|
330
|
+
* Credential pre-deletion period. During this time, you can revoke the deletion of credentials in pending deletion status; after the pre-deletion period, deletion cannot be revoked. Value range: 7 ~ 30. Unit: days. Default: 7. To cancel, use CancelSecretDeletion.
|
|
331
|
+
*/
|
|
332
|
+
pendingWindowInDays?: pulumi.Input<number | undefined>;
|
|
265
333
|
/**
|
|
266
334
|
* Credential project name. Default value: default
|
|
267
335
|
*/
|
|
@@ -270,10 +338,22 @@ export interface SecretArgs {
|
|
|
270
338
|
* Automatic rotation interval. Range: 1 ~ 365 days. Format: integer[unit], where integer is the duration and unit is the time unit. Unit value: d (days). For example: 7d means a 7-day interval
|
|
271
339
|
*/
|
|
272
340
|
rotationInterval?: pulumi.Input<string | undefined>;
|
|
341
|
+
/**
|
|
342
|
+
* Trigger: When set to true, calls the KMS BackupSecret API to back up the credential. The backup result is written to SecretRestoreRead. Please keep it safe.
|
|
343
|
+
*/
|
|
344
|
+
secretBackup?: pulumi.Input<boolean | undefined>;
|
|
273
345
|
/**
|
|
274
346
|
* Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
|
|
275
347
|
*/
|
|
276
348
|
secretName: pulumi.Input<string>;
|
|
349
|
+
/**
|
|
350
|
+
* Credential restore parameters. Only effective during creation. If provided, calls the KMS RestoreSecret API to restore the credential from backup data. Other creation parameters such as SecretValue, SecretType, and SecretName will not take effect.
|
|
351
|
+
*/
|
|
352
|
+
secretRestore?: pulumi.Input<inputs.kms.SecretSecretRestore | undefined>;
|
|
353
|
+
/**
|
|
354
|
+
* Trigger: When set to true, calls the KMS RotateSecret API to manually rotate the credential.
|
|
355
|
+
*/
|
|
356
|
+
secretRotate?: pulumi.Input<boolean | undefined>;
|
|
277
357
|
/**
|
|
278
358
|
* Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
|
|
279
359
|
*/
|
package/kms/secret.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.d.ts","sourceRoot":"","sources":["../../kms/secret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"secret.d.ts","sourceRoot":"","sources":["../../kms/secret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM;IAO9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,MAAM;IAOjD;;OA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AAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAClD"}
|
package/kms/secret.js
CHANGED
|
@@ -88,6 +88,7 @@ class Secret extends pulumi.CustomResource {
|
|
|
88
88
|
if (opts.id) {
|
|
89
89
|
const state = argsOrState;
|
|
90
90
|
resourceInputs["automaticRotation"] = state?.automaticRotation;
|
|
91
|
+
resourceInputs["cancelSecretDeletion"] = state?.cancelSecretDeletion;
|
|
91
92
|
resourceInputs["createdTime"] = state?.createdTime;
|
|
92
93
|
resourceInputs["description"] = state?.description;
|
|
93
94
|
resourceInputs["encryptionKey"] = state?.encryptionKey;
|
|
@@ -95,17 +96,23 @@ class Secret extends pulumi.CustomResource {
|
|
|
95
96
|
resourceInputs["lastRotationTime"] = state?.lastRotationTime;
|
|
96
97
|
resourceInputs["managed"] = state?.managed;
|
|
97
98
|
resourceInputs["owningService"] = state?.owningService;
|
|
99
|
+
resourceInputs["pendingWindowInDays"] = state?.pendingWindowInDays;
|
|
98
100
|
resourceInputs["projectName"] = state?.projectName;
|
|
99
101
|
resourceInputs["rotationInterval"] = state?.rotationInterval;
|
|
100
102
|
resourceInputs["rotationIntervalRead"] = state?.rotationIntervalRead;
|
|
101
103
|
resourceInputs["rotationState"] = state?.rotationState;
|
|
102
104
|
resourceInputs["scheduleDeleteTime"] = state?.scheduleDeleteTime;
|
|
103
105
|
resourceInputs["scheduleRotationTime"] = state?.scheduleRotationTime;
|
|
106
|
+
resourceInputs["secretBackup"] = state?.secretBackup;
|
|
104
107
|
resourceInputs["secretId"] = state?.secretId;
|
|
105
108
|
resourceInputs["secretName"] = state?.secretName;
|
|
109
|
+
resourceInputs["secretRestore"] = state?.secretRestore;
|
|
110
|
+
resourceInputs["secretRestoreRead"] = state?.secretRestoreRead;
|
|
111
|
+
resourceInputs["secretRotate"] = state?.secretRotate;
|
|
106
112
|
resourceInputs["secretState"] = state?.secretState;
|
|
107
113
|
resourceInputs["secretType"] = state?.secretType;
|
|
108
114
|
resourceInputs["secretValue"] = state?.secretValue;
|
|
115
|
+
resourceInputs["secretVersions"] = state?.secretVersions;
|
|
109
116
|
resourceInputs["trn"] = state?.trn;
|
|
110
117
|
resourceInputs["uid"] = state?.uid;
|
|
111
118
|
resourceInputs["updatedTime"] = state?.updatedTime;
|
|
@@ -123,12 +130,17 @@ class Secret extends pulumi.CustomResource {
|
|
|
123
130
|
throw new Error("Missing required property 'secretValue'");
|
|
124
131
|
}
|
|
125
132
|
resourceInputs["automaticRotation"] = args?.automaticRotation;
|
|
133
|
+
resourceInputs["cancelSecretDeletion"] = args?.cancelSecretDeletion;
|
|
126
134
|
resourceInputs["description"] = args?.description;
|
|
127
135
|
resourceInputs["encryptionKey"] = args?.encryptionKey;
|
|
128
136
|
resourceInputs["extendedConfig"] = args?.extendedConfig;
|
|
137
|
+
resourceInputs["pendingWindowInDays"] = args?.pendingWindowInDays;
|
|
129
138
|
resourceInputs["projectName"] = args?.projectName;
|
|
130
139
|
resourceInputs["rotationInterval"] = args?.rotationInterval;
|
|
140
|
+
resourceInputs["secretBackup"] = args?.secretBackup;
|
|
131
141
|
resourceInputs["secretName"] = args?.secretName;
|
|
142
|
+
resourceInputs["secretRestore"] = args?.secretRestore;
|
|
143
|
+
resourceInputs["secretRotate"] = args?.secretRotate;
|
|
132
144
|
resourceInputs["secretType"] = args?.secretType;
|
|
133
145
|
resourceInputs["secretValue"] = args?.secretValue;
|
|
134
146
|
resourceInputs["versionName"] = args?.versionName;
|
|
@@ -141,7 +153,9 @@ class Secret extends pulumi.CustomResource {
|
|
|
141
153
|
resourceInputs["scheduleDeleteTime"] = undefined /*out*/;
|
|
142
154
|
resourceInputs["scheduleRotationTime"] = undefined /*out*/;
|
|
143
155
|
resourceInputs["secretId"] = undefined /*out*/;
|
|
156
|
+
resourceInputs["secretRestoreRead"] = undefined /*out*/;
|
|
144
157
|
resourceInputs["secretState"] = undefined /*out*/;
|
|
158
|
+
resourceInputs["secretVersions"] = undefined /*out*/;
|
|
145
159
|
resourceInputs["trn"] = undefined /*out*/;
|
|
146
160
|
resourceInputs["uid"] = undefined /*out*/;
|
|
147
161
|
resourceInputs["updatedTime"] = undefined /*out*/;
|
package/kms/secret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../kms/secret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;
|
|
1
|
+
{"version":3,"file":"secret.js","sourceRoot":"","sources":["../../kms/secret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC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