pulumi-venafi 1.11.0a1743490033__py3-none-any.whl → 1.11.0a1744267226__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-venafi might be problematic. Click here for more details.
- pulumi_venafi/__init__.py +1 -0
- pulumi_venafi/certificate.py +364 -363
- pulumi_venafi/cloud_keystore_installation.py +71 -70
- pulumi_venafi/config/__init__.py +1 -0
- pulumi_venafi/config/__init__.pyi +1 -0
- pulumi_venafi/config/vars.py +1 -0
- pulumi_venafi/get_cloud_keystore.py +14 -13
- pulumi_venafi/get_cloud_provider.py +11 -10
- pulumi_venafi/policy.py +29 -28
- pulumi_venafi/provider.py +109 -108
- pulumi_venafi/pulumi-plugin.json +1 -1
- pulumi_venafi/ssh_certificate.py +281 -280
- pulumi_venafi/ssh_config.py +29 -28
- {pulumi_venafi-1.11.0a1743490033.dist-info → pulumi_venafi-1.11.0a1744267226.dist-info}/METADATA +1 -1
- pulumi_venafi-1.11.0a1744267226.dist-info/RECORD +19 -0
- pulumi_venafi-1.11.0a1743490033.dist-info/RECORD +0 -19
- {pulumi_venafi-1.11.0a1743490033.dist-info → pulumi_venafi-1.11.0a1744267226.dist-info}/WHEEL +0 -0
- {pulumi_venafi-1.11.0a1743490033.dist-info → pulumi_venafi-1.11.0a1744267226.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -19,16 +20,16 @@ __all__ = ['CloudKeystoreInstallationArgs', 'CloudKeystoreInstallation']
|
|
|
19
20
|
@pulumi.input_type
|
|
20
21
|
class CloudKeystoreInstallationArgs:
|
|
21
22
|
def __init__(__self__, *,
|
|
22
|
-
certificate_id: pulumi.Input[str],
|
|
23
|
-
cloud_keystore_id: pulumi.Input[str],
|
|
24
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
cloud_certificate_name: Optional[pulumi.Input[str]] = None):
|
|
23
|
+
certificate_id: pulumi.Input[builtins.str],
|
|
24
|
+
cloud_keystore_id: pulumi.Input[builtins.str],
|
|
25
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
26
|
+
cloud_certificate_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
26
27
|
"""
|
|
27
28
|
The set of arguments for constructing a CloudKeystoreInstallation resource.
|
|
28
|
-
:param pulumi.Input[str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
29
|
-
:param pulumi.Input[str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
30
|
-
:param pulumi.Input[str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
31
|
-
:param pulumi.Input[str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
29
|
+
:param pulumi.Input[builtins.str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
30
|
+
:param pulumi.Input[builtins.str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
31
|
+
:param pulumi.Input[builtins.str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
32
|
+
:param pulumi.Input[builtins.str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
32
33
|
"""
|
|
33
34
|
pulumi.set(__self__, "certificate_id", certificate_id)
|
|
34
35
|
pulumi.set(__self__, "cloud_keystore_id", cloud_keystore_id)
|
|
@@ -39,70 +40,70 @@ class CloudKeystoreInstallationArgs:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter(name="certificateId")
|
|
42
|
-
def certificate_id(self) -> pulumi.Input[str]:
|
|
43
|
+
def certificate_id(self) -> pulumi.Input[builtins.str]:
|
|
43
44
|
"""
|
|
44
45
|
ID of the certificate to be provisioned to the given `keystore_id`.
|
|
45
46
|
"""
|
|
46
47
|
return pulumi.get(self, "certificate_id")
|
|
47
48
|
|
|
48
49
|
@certificate_id.setter
|
|
49
|
-
def certificate_id(self, value: pulumi.Input[str]):
|
|
50
|
+
def certificate_id(self, value: pulumi.Input[builtins.str]):
|
|
50
51
|
pulumi.set(self, "certificate_id", value)
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="cloudKeystoreId")
|
|
54
|
-
def cloud_keystore_id(self) -> pulumi.Input[str]:
|
|
55
|
+
def cloud_keystore_id(self) -> pulumi.Input[builtins.str]:
|
|
55
56
|
"""
|
|
56
57
|
ID of the cloud keystore where the certificate will be provisioned.
|
|
57
58
|
"""
|
|
58
59
|
return pulumi.get(self, "cloud_keystore_id")
|
|
59
60
|
|
|
60
61
|
@cloud_keystore_id.setter
|
|
61
|
-
def cloud_keystore_id(self, value: pulumi.Input[str]):
|
|
62
|
+
def cloud_keystore_id(self, value: pulumi.Input[builtins.str]):
|
|
62
63
|
pulumi.set(self, "cloud_keystore_id", value)
|
|
63
64
|
|
|
64
65
|
@property
|
|
65
66
|
@pulumi.getter
|
|
66
|
-
def arn(self) -> Optional[pulumi.Input[str]]:
|
|
67
|
+
def arn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
67
68
|
"""
|
|
68
69
|
ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
69
70
|
"""
|
|
70
71
|
return pulumi.get(self, "arn")
|
|
71
72
|
|
|
72
73
|
@arn.setter
|
|
73
|
-
def arn(self, value: Optional[pulumi.Input[str]]):
|
|
74
|
+
def arn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
74
75
|
pulumi.set(self, "arn", value)
|
|
75
76
|
|
|
76
77
|
@property
|
|
77
78
|
@pulumi.getter(name="cloudCertificateName")
|
|
78
|
-
def cloud_certificate_name(self) -> Optional[pulumi.Input[str]]:
|
|
79
|
+
def cloud_certificate_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
79
80
|
"""
|
|
80
81
|
Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
81
82
|
"""
|
|
82
83
|
return pulumi.get(self, "cloud_certificate_name")
|
|
83
84
|
|
|
84
85
|
@cloud_certificate_name.setter
|
|
85
|
-
def cloud_certificate_name(self, value: Optional[pulumi.Input[str]]):
|
|
86
|
+
def cloud_certificate_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
86
87
|
pulumi.set(self, "cloud_certificate_name", value)
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
@pulumi.input_type
|
|
90
91
|
class _CloudKeystoreInstallationState:
|
|
91
92
|
def __init__(__self__, *,
|
|
92
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
93
|
-
certificate_id: Optional[pulumi.Input[str]] = None,
|
|
94
|
-
cloud_certificate_id: Optional[pulumi.Input[str]] = None,
|
|
95
|
-
cloud_certificate_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
96
|
-
cloud_certificate_name: Optional[pulumi.Input[str]] = None,
|
|
97
|
-
cloud_keystore_id: Optional[pulumi.Input[str]] = None):
|
|
93
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
94
|
+
certificate_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
95
|
+
cloud_certificate_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
96
|
+
cloud_certificate_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
97
|
+
cloud_certificate_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
98
|
+
cloud_keystore_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
98
99
|
"""
|
|
99
100
|
Input properties used for looking up and filtering CloudKeystoreInstallation resources.
|
|
100
|
-
:param pulumi.Input[str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
101
|
-
:param pulumi.Input[str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
102
|
-
:param pulumi.Input[str] cloud_certificate_id: The ID of the provisioned certificate within the Cloud Keystore
|
|
103
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] cloud_certificate_metadata: Metadata of the provisioned certificate from the Cloud Keystore
|
|
104
|
-
:param pulumi.Input[str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
105
|
-
:param pulumi.Input[str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
101
|
+
:param pulumi.Input[builtins.str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
102
|
+
:param pulumi.Input[builtins.str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
103
|
+
:param pulumi.Input[builtins.str] cloud_certificate_id: The ID of the provisioned certificate within the Cloud Keystore
|
|
104
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] cloud_certificate_metadata: Metadata of the provisioned certificate from the Cloud Keystore
|
|
105
|
+
:param pulumi.Input[builtins.str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
106
|
+
:param pulumi.Input[builtins.str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
106
107
|
"""
|
|
107
108
|
if arn is not None:
|
|
108
109
|
pulumi.set(__self__, "arn", arn)
|
|
@@ -119,74 +120,74 @@ class _CloudKeystoreInstallationState:
|
|
|
119
120
|
|
|
120
121
|
@property
|
|
121
122
|
@pulumi.getter
|
|
122
|
-
def arn(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
def arn(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
123
124
|
"""
|
|
124
125
|
ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
125
126
|
"""
|
|
126
127
|
return pulumi.get(self, "arn")
|
|
127
128
|
|
|
128
129
|
@arn.setter
|
|
129
|
-
def arn(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
+
def arn(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
130
131
|
pulumi.set(self, "arn", value)
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter(name="certificateId")
|
|
134
|
-
def certificate_id(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
def certificate_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
135
136
|
"""
|
|
136
137
|
ID of the certificate to be provisioned to the given `keystore_id`.
|
|
137
138
|
"""
|
|
138
139
|
return pulumi.get(self, "certificate_id")
|
|
139
140
|
|
|
140
141
|
@certificate_id.setter
|
|
141
|
-
def certificate_id(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
def certificate_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
142
143
|
pulumi.set(self, "certificate_id", value)
|
|
143
144
|
|
|
144
145
|
@property
|
|
145
146
|
@pulumi.getter(name="cloudCertificateId")
|
|
146
|
-
def cloud_certificate_id(self) -> Optional[pulumi.Input[str]]:
|
|
147
|
+
def cloud_certificate_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
147
148
|
"""
|
|
148
149
|
The ID of the provisioned certificate within the Cloud Keystore
|
|
149
150
|
"""
|
|
150
151
|
return pulumi.get(self, "cloud_certificate_id")
|
|
151
152
|
|
|
152
153
|
@cloud_certificate_id.setter
|
|
153
|
-
def cloud_certificate_id(self, value: Optional[pulumi.Input[str]]):
|
|
154
|
+
def cloud_certificate_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
154
155
|
pulumi.set(self, "cloud_certificate_id", value)
|
|
155
156
|
|
|
156
157
|
@property
|
|
157
158
|
@pulumi.getter(name="cloudCertificateMetadata")
|
|
158
|
-
def cloud_certificate_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
159
|
+
def cloud_certificate_metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
159
160
|
"""
|
|
160
161
|
Metadata of the provisioned certificate from the Cloud Keystore
|
|
161
162
|
"""
|
|
162
163
|
return pulumi.get(self, "cloud_certificate_metadata")
|
|
163
164
|
|
|
164
165
|
@cloud_certificate_metadata.setter
|
|
165
|
-
def cloud_certificate_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
166
|
+
def cloud_certificate_metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
166
167
|
pulumi.set(self, "cloud_certificate_metadata", value)
|
|
167
168
|
|
|
168
169
|
@property
|
|
169
170
|
@pulumi.getter(name="cloudCertificateName")
|
|
170
|
-
def cloud_certificate_name(self) -> Optional[pulumi.Input[str]]:
|
|
171
|
+
def cloud_certificate_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
171
172
|
"""
|
|
172
173
|
Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
173
174
|
"""
|
|
174
175
|
return pulumi.get(self, "cloud_certificate_name")
|
|
175
176
|
|
|
176
177
|
@cloud_certificate_name.setter
|
|
177
|
-
def cloud_certificate_name(self, value: Optional[pulumi.Input[str]]):
|
|
178
|
+
def cloud_certificate_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
178
179
|
pulumi.set(self, "cloud_certificate_name", value)
|
|
179
180
|
|
|
180
181
|
@property
|
|
181
182
|
@pulumi.getter(name="cloudKeystoreId")
|
|
182
|
-
def cloud_keystore_id(self) -> Optional[pulumi.Input[str]]:
|
|
183
|
+
def cloud_keystore_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
183
184
|
"""
|
|
184
185
|
ID of the cloud keystore where the certificate will be provisioned.
|
|
185
186
|
"""
|
|
186
187
|
return pulumi.get(self, "cloud_keystore_id")
|
|
187
188
|
|
|
188
189
|
@cloud_keystore_id.setter
|
|
189
|
-
def cloud_keystore_id(self, value: Optional[pulumi.Input[str]]):
|
|
190
|
+
def cloud_keystore_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
190
191
|
pulumi.set(self, "cloud_keystore_id", value)
|
|
191
192
|
|
|
192
193
|
|
|
@@ -195,10 +196,10 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
195
196
|
def __init__(__self__,
|
|
196
197
|
resource_name: str,
|
|
197
198
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
198
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
199
|
-
certificate_id: Optional[pulumi.Input[str]] = None,
|
|
200
|
-
cloud_certificate_name: Optional[pulumi.Input[str]] = None,
|
|
201
|
-
cloud_keystore_id: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
200
|
+
certificate_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
201
|
+
cloud_certificate_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
|
+
cloud_keystore_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
203
|
__props__=None):
|
|
203
204
|
"""
|
|
204
205
|
Provisions a certificate from Venafi Control Plane's inventory to any of the supported Cloud Providers: Amazon
|
|
@@ -235,10 +236,10 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
235
236
|
|
|
236
237
|
:param str resource_name: The name of the resource.
|
|
237
238
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
238
|
-
:param pulumi.Input[str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
239
|
-
:param pulumi.Input[str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
240
|
-
:param pulumi.Input[str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
241
|
-
:param pulumi.Input[str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
239
|
+
:param pulumi.Input[builtins.str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
240
|
+
:param pulumi.Input[builtins.str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
241
|
+
:param pulumi.Input[builtins.str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
242
|
+
:param pulumi.Input[builtins.str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
242
243
|
"""
|
|
243
244
|
...
|
|
244
245
|
@overload
|
|
@@ -294,10 +295,10 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
294
295
|
def _internal_init(__self__,
|
|
295
296
|
resource_name: str,
|
|
296
297
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
297
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
298
|
-
certificate_id: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
cloud_certificate_name: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
cloud_keystore_id: Optional[pulumi.Input[str]] = None,
|
|
298
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
299
|
+
certificate_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
|
+
cloud_certificate_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
cloud_keystore_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
302
|
__props__=None):
|
|
302
303
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
303
304
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -327,12 +328,12 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
327
328
|
def get(resource_name: str,
|
|
328
329
|
id: pulumi.Input[str],
|
|
329
330
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
330
|
-
arn: Optional[pulumi.Input[str]] = None,
|
|
331
|
-
certificate_id: Optional[pulumi.Input[str]] = None,
|
|
332
|
-
cloud_certificate_id: Optional[pulumi.Input[str]] = None,
|
|
333
|
-
cloud_certificate_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
334
|
-
cloud_certificate_name: Optional[pulumi.Input[str]] = None,
|
|
335
|
-
cloud_keystore_id: Optional[pulumi.Input[str]] = None) -> 'CloudKeystoreInstallation':
|
|
331
|
+
arn: Optional[pulumi.Input[builtins.str]] = None,
|
|
332
|
+
certificate_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
|
+
cloud_certificate_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
334
|
+
cloud_certificate_metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
335
|
+
cloud_certificate_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
336
|
+
cloud_keystore_id: Optional[pulumi.Input[builtins.str]] = None) -> 'CloudKeystoreInstallation':
|
|
336
337
|
"""
|
|
337
338
|
Get an existing CloudKeystoreInstallation resource's state with the given name, id, and optional extra
|
|
338
339
|
properties used to qualify the lookup.
|
|
@@ -340,12 +341,12 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
340
341
|
:param str resource_name: The unique name of the resulting resource.
|
|
341
342
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
342
343
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
343
|
-
:param pulumi.Input[str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
344
|
-
:param pulumi.Input[str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
345
|
-
:param pulumi.Input[str] cloud_certificate_id: The ID of the provisioned certificate within the Cloud Keystore
|
|
346
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] cloud_certificate_metadata: Metadata of the provisioned certificate from the Cloud Keystore
|
|
347
|
-
:param pulumi.Input[str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
348
|
-
:param pulumi.Input[str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
344
|
+
:param pulumi.Input[builtins.str] arn: ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
345
|
+
:param pulumi.Input[builtins.str] certificate_id: ID of the certificate to be provisioned to the given `keystore_id`.
|
|
346
|
+
:param pulumi.Input[builtins.str] cloud_certificate_id: The ID of the provisioned certificate within the Cloud Keystore
|
|
347
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] cloud_certificate_metadata: Metadata of the provisioned certificate from the Cloud Keystore
|
|
348
|
+
:param pulumi.Input[builtins.str] cloud_certificate_name: Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
349
|
+
:param pulumi.Input[builtins.str] cloud_keystore_id: ID of the cloud keystore where the certificate will be provisioned.
|
|
349
350
|
"""
|
|
350
351
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
351
352
|
|
|
@@ -361,7 +362,7 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
361
362
|
|
|
362
363
|
@property
|
|
363
364
|
@pulumi.getter
|
|
364
|
-
def arn(self) -> pulumi.Output[Optional[str]]:
|
|
365
|
+
def arn(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
365
366
|
"""
|
|
366
367
|
ARN of the AWS certificate. Use it to provision the VCP certificate to an existing ACM certificate, instead of a new one. Only valid for ACM keystores.
|
|
367
368
|
"""
|
|
@@ -369,7 +370,7 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
369
370
|
|
|
370
371
|
@property
|
|
371
372
|
@pulumi.getter(name="certificateId")
|
|
372
|
-
def certificate_id(self) -> pulumi.Output[str]:
|
|
373
|
+
def certificate_id(self) -> pulumi.Output[builtins.str]:
|
|
373
374
|
"""
|
|
374
375
|
ID of the certificate to be provisioned to the given `keystore_id`.
|
|
375
376
|
"""
|
|
@@ -377,7 +378,7 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
377
378
|
|
|
378
379
|
@property
|
|
379
380
|
@pulumi.getter(name="cloudCertificateId")
|
|
380
|
-
def cloud_certificate_id(self) -> pulumi.Output[str]:
|
|
381
|
+
def cloud_certificate_id(self) -> pulumi.Output[builtins.str]:
|
|
381
382
|
"""
|
|
382
383
|
The ID of the provisioned certificate within the Cloud Keystore
|
|
383
384
|
"""
|
|
@@ -385,7 +386,7 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
385
386
|
|
|
386
387
|
@property
|
|
387
388
|
@pulumi.getter(name="cloudCertificateMetadata")
|
|
388
|
-
def cloud_certificate_metadata(self) -> pulumi.Output[Mapping[str, str]]:
|
|
389
|
+
def cloud_certificate_metadata(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
|
389
390
|
"""
|
|
390
391
|
Metadata of the provisioned certificate from the Cloud Keystore
|
|
391
392
|
"""
|
|
@@ -393,7 +394,7 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
393
394
|
|
|
394
395
|
@property
|
|
395
396
|
@pulumi.getter(name="cloudCertificateName")
|
|
396
|
-
def cloud_certificate_name(self) -> pulumi.Output[Optional[str]]:
|
|
397
|
+
def cloud_certificate_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
397
398
|
"""
|
|
398
399
|
Name for the provisioned certificate in the keystore. If the name already exists, the provisioning will replace the previous certificate with the one from `certificate_id`. Only valid for AKV and GCM keystores.
|
|
399
400
|
"""
|
|
@@ -401,7 +402,7 @@ class CloudKeystoreInstallation(pulumi.CustomResource):
|
|
|
401
402
|
|
|
402
403
|
@property
|
|
403
404
|
@pulumi.getter(name="cloudKeystoreId")
|
|
404
|
-
def cloud_keystore_id(self) -> pulumi.Output[str]:
|
|
405
|
+
def cloud_keystore_id(self) -> pulumi.Output[builtins.str]:
|
|
405
406
|
"""
|
|
406
407
|
ID of the cloud keystore where the certificate will be provisioned.
|
|
407
408
|
"""
|
pulumi_venafi/config/__init__.py
CHANGED
pulumi_venafi/config/vars.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -45,12 +46,12 @@ class GetCloudKeystoreResult:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter(name="cloudProviderId")
|
|
48
|
-
def cloud_provider_id(self) -> str:
|
|
49
|
+
def cloud_provider_id(self) -> builtins.str:
|
|
49
50
|
return pulumi.get(self, "cloud_provider_id")
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter
|
|
53
|
-
def id(self) -> str:
|
|
54
|
+
def id(self) -> builtins.str:
|
|
54
55
|
"""
|
|
55
56
|
The provider-assigned unique ID for this managed resource.
|
|
56
57
|
"""
|
|
@@ -58,7 +59,7 @@ class GetCloudKeystoreResult:
|
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
61
|
@pulumi.getter(name="machineIdentitiesCount")
|
|
61
|
-
def machine_identities_count(self) -> int:
|
|
62
|
+
def machine_identities_count(self) -> builtins.int:
|
|
62
63
|
"""
|
|
63
64
|
Number of machine identities provisioned to the cloud keystore.
|
|
64
65
|
"""
|
|
@@ -66,12 +67,12 @@ class GetCloudKeystoreResult:
|
|
|
66
67
|
|
|
67
68
|
@property
|
|
68
69
|
@pulumi.getter
|
|
69
|
-
def name(self) -> str:
|
|
70
|
+
def name(self) -> builtins.str:
|
|
70
71
|
return pulumi.get(self, "name")
|
|
71
72
|
|
|
72
73
|
@property
|
|
73
74
|
@pulumi.getter
|
|
74
|
-
def type(self) -> str:
|
|
75
|
+
def type(self) -> builtins.str:
|
|
75
76
|
"""
|
|
76
77
|
The cloud keystore type. Either `ACM`, `AKV` or `GCM`.
|
|
77
78
|
"""
|
|
@@ -91,8 +92,8 @@ class AwaitableGetCloudKeystoreResult(GetCloudKeystoreResult):
|
|
|
91
92
|
type=self.type)
|
|
92
93
|
|
|
93
94
|
|
|
94
|
-
def get_cloud_keystore(cloud_provider_id: Optional[str] = None,
|
|
95
|
-
name: Optional[str] = None,
|
|
95
|
+
def get_cloud_keystore(cloud_provider_id: Optional[builtins.str] = None,
|
|
96
|
+
name: Optional[builtins.str] = None,
|
|
96
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudKeystoreResult:
|
|
97
98
|
"""
|
|
98
99
|
Use this data source to get the `ID` of a cloud keystore in Venafi Control Plane, referenced by its name and parent
|
|
@@ -113,8 +114,8 @@ def get_cloud_keystore(cloud_provider_id: Optional[str] = None,
|
|
|
113
114
|
```
|
|
114
115
|
|
|
115
116
|
|
|
116
|
-
:param str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
|
|
117
|
-
:param str name: Name of the cloud keystore to look up.
|
|
117
|
+
:param builtins.str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
|
|
118
|
+
:param builtins.str name: Name of the cloud keystore to look up.
|
|
118
119
|
"""
|
|
119
120
|
__args__ = dict()
|
|
120
121
|
__args__['cloudProviderId'] = cloud_provider_id
|
|
@@ -128,8 +129,8 @@ def get_cloud_keystore(cloud_provider_id: Optional[str] = None,
|
|
|
128
129
|
machine_identities_count=pulumi.get(__ret__, 'machine_identities_count'),
|
|
129
130
|
name=pulumi.get(__ret__, 'name'),
|
|
130
131
|
type=pulumi.get(__ret__, 'type'))
|
|
131
|
-
def get_cloud_keystore_output(cloud_provider_id: Optional[pulumi.Input[str]] = None,
|
|
132
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
132
|
+
def get_cloud_keystore_output(cloud_provider_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
133
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
133
134
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCloudKeystoreResult]:
|
|
134
135
|
"""
|
|
135
136
|
Use this data source to get the `ID` of a cloud keystore in Venafi Control Plane, referenced by its name and parent
|
|
@@ -150,8 +151,8 @@ def get_cloud_keystore_output(cloud_provider_id: Optional[pulumi.Input[str]] = N
|
|
|
150
151
|
```
|
|
151
152
|
|
|
152
153
|
|
|
153
|
-
:param str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
|
|
154
|
-
:param str name: Name of the cloud keystore to look up.
|
|
154
|
+
:param builtins.str cloud_provider_id: ID of the cloud provider whom the cloud keystore to look up belongs to.
|
|
155
|
+
:param builtins.str name: Name of the cloud keystore to look up.
|
|
155
156
|
"""
|
|
156
157
|
__args__ = dict()
|
|
157
158
|
__args__['cloudProviderId'] = cloud_provider_id
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -48,7 +49,7 @@ class GetCloudProviderResult:
|
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
@pulumi.getter
|
|
51
|
-
def id(self) -> str:
|
|
52
|
+
def id(self) -> builtins.str:
|
|
52
53
|
"""
|
|
53
54
|
The provider-assigned unique ID for this managed resource.
|
|
54
55
|
"""
|
|
@@ -56,7 +57,7 @@ class GetCloudProviderResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter(name="keystoresCount")
|
|
59
|
-
def keystores_count(self) -> int:
|
|
60
|
+
def keystores_count(self) -> builtins.int:
|
|
60
61
|
"""
|
|
61
62
|
Number of Cloud Keystores configured with the Cloud Provider
|
|
62
63
|
"""
|
|
@@ -64,12 +65,12 @@ class GetCloudProviderResult:
|
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def name(self) -> str:
|
|
68
|
+
def name(self) -> builtins.str:
|
|
68
69
|
return pulumi.get(self, "name")
|
|
69
70
|
|
|
70
71
|
@property
|
|
71
72
|
@pulumi.getter
|
|
72
|
-
def status(self) -> str:
|
|
73
|
+
def status(self) -> builtins.str:
|
|
73
74
|
"""
|
|
74
75
|
The status of the Cloud Provider. Either `VALIDATED` or `NOT_VALIDATED`.
|
|
75
76
|
"""
|
|
@@ -77,7 +78,7 @@ class GetCloudProviderResult:
|
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter(name="statusDetails")
|
|
80
|
-
def status_details(self) -> str:
|
|
81
|
+
def status_details(self) -> builtins.str:
|
|
81
82
|
"""
|
|
82
83
|
The details of the Cloud Provider status. If the status is `VALIDATED`, this value will be empty.
|
|
83
84
|
"""
|
|
@@ -85,7 +86,7 @@ class GetCloudProviderResult:
|
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter
|
|
88
|
-
def type(self) -> str:
|
|
89
|
+
def type(self) -> builtins.str:
|
|
89
90
|
"""
|
|
90
91
|
The Cloud Provider type. Either `AWS`, `AZURE` or `GCP`
|
|
91
92
|
"""
|
|
@@ -106,7 +107,7 @@ class AwaitableGetCloudProviderResult(GetCloudProviderResult):
|
|
|
106
107
|
type=self.type)
|
|
107
108
|
|
|
108
109
|
|
|
109
|
-
def get_cloud_provider(name: Optional[str] = None,
|
|
110
|
+
def get_cloud_provider(name: Optional[builtins.str] = None,
|
|
110
111
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudProviderResult:
|
|
111
112
|
"""
|
|
112
113
|
Use this data source to get the `ID` of a cloud provider in Venafi Control Plane, referenced by its name.
|
|
@@ -122,7 +123,7 @@ def get_cloud_provider(name: Optional[str] = None,
|
|
|
122
123
|
```
|
|
123
124
|
|
|
124
125
|
|
|
125
|
-
:param str name: Name of the Cloud Provider to look up.
|
|
126
|
+
:param builtins.str name: Name of the Cloud Provider to look up.
|
|
126
127
|
"""
|
|
127
128
|
__args__ = dict()
|
|
128
129
|
__args__['name'] = name
|
|
@@ -136,7 +137,7 @@ def get_cloud_provider(name: Optional[str] = None,
|
|
|
136
137
|
status=pulumi.get(__ret__, 'status'),
|
|
137
138
|
status_details=pulumi.get(__ret__, 'status_details'),
|
|
138
139
|
type=pulumi.get(__ret__, 'type'))
|
|
139
|
-
def get_cloud_provider_output(name: Optional[pulumi.Input[str]] = None,
|
|
140
|
+
def get_cloud_provider_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
140
141
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCloudProviderResult]:
|
|
141
142
|
"""
|
|
142
143
|
Use this data source to get the `ID` of a cloud provider in Venafi Control Plane, referenced by its name.
|
|
@@ -152,7 +153,7 @@ def get_cloud_provider_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
152
153
|
```
|
|
153
154
|
|
|
154
155
|
|
|
155
|
-
:param str name: Name of the Cloud Provider to look up.
|
|
156
|
+
:param builtins.str name: Name of the Cloud Provider to look up.
|
|
156
157
|
"""
|
|
157
158
|
__args__ = dict()
|
|
158
159
|
__args__['name'] = name
|