pulumi-tls 5.1.1a1741997779__py3-none-any.whl → 5.2.0__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.
- pulumi_tls/__init__.py +1 -0
- pulumi_tls/_inputs.py +153 -112
- pulumi_tls/cert_request.py +71 -70
- pulumi_tls/config/__init__.py +1 -0
- pulumi_tls/config/__init__.pyi +1 -0
- pulumi_tls/config/outputs.py +13 -12
- pulumi_tls/config/vars.py +1 -0
- pulumi_tls/get_certificate.py +17 -16
- pulumi_tls/get_public_key.py +17 -16
- pulumi_tls/locally_signed_cert.py +144 -143
- pulumi_tls/outputs.py +119 -90
- pulumi_tls/private_key.py +92 -91
- pulumi_tls/provider.py +1 -0
- pulumi_tls/pulumi-plugin.json +1 -1
- pulumi_tls/self_signed_cert.py +175 -174
- {pulumi_tls-5.1.1a1741997779.dist-info → pulumi_tls-5.2.0.dist-info}/METADATA +2 -2
- pulumi_tls-5.2.0.dist-info/RECORD +21 -0
- {pulumi_tls-5.1.1a1741997779.dist-info → pulumi_tls-5.2.0.dist-info}/WHEEL +1 -1
- pulumi_tls-5.1.1a1741997779.dist-info/RECORD +0 -21
- {pulumi_tls-5.1.1a1741997779.dist-info → pulumi_tls-5.2.0.dist-info}/top_level.txt +0 -0
pulumi_tls/outputs.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
|
@@ -27,6 +28,8 @@ class CertRequestSubject(dict):
|
|
27
28
|
suggest = None
|
28
29
|
if key == "commonName":
|
29
30
|
suggest = "common_name"
|
31
|
+
elif key == "emailAddress":
|
32
|
+
suggest = "email_address"
|
30
33
|
elif key == "organizationalUnit":
|
31
34
|
suggest = "organizational_unit"
|
32
35
|
elif key == "postalCode":
|
@@ -48,30 +51,34 @@ class CertRequestSubject(dict):
|
|
48
51
|
return super().get(key, default)
|
49
52
|
|
50
53
|
def __init__(__self__, *,
|
51
|
-
common_name: Optional[str] = None,
|
52
|
-
country: Optional[str] = None,
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
:param str
|
63
|
-
:param str
|
64
|
-
:param str
|
65
|
-
:param str
|
66
|
-
:param str
|
67
|
-
:param str
|
68
|
-
:param str
|
69
|
-
:param
|
54
|
+
common_name: Optional[builtins.str] = None,
|
55
|
+
country: Optional[builtins.str] = None,
|
56
|
+
email_address: Optional[builtins.str] = None,
|
57
|
+
locality: Optional[builtins.str] = None,
|
58
|
+
organization: Optional[builtins.str] = None,
|
59
|
+
organizational_unit: Optional[builtins.str] = None,
|
60
|
+
postal_code: Optional[builtins.str] = None,
|
61
|
+
province: Optional[builtins.str] = None,
|
62
|
+
serial_number: Optional[builtins.str] = None,
|
63
|
+
street_addresses: Optional[Sequence[builtins.str]] = None):
|
64
|
+
"""
|
65
|
+
:param builtins.str common_name: Distinguished name: `CN`
|
66
|
+
:param builtins.str country: Distinguished name: `C`
|
67
|
+
:param builtins.str email_address: ASN.1 Object Identifier (OID): `1.2.840.113549.1.9.1`
|
68
|
+
:param builtins.str locality: Distinguished name: `L`
|
69
|
+
:param builtins.str organization: Distinguished name: `O`
|
70
|
+
:param builtins.str organizational_unit: Distinguished name: `OU`
|
71
|
+
:param builtins.str postal_code: Distinguished name: `PC`
|
72
|
+
:param builtins.str province: Distinguished name: `ST`
|
73
|
+
:param builtins.str serial_number: Distinguished name: `SERIALNUMBER`
|
74
|
+
:param Sequence[builtins.str] street_addresses: Distinguished name: `STREET`
|
70
75
|
"""
|
71
76
|
if common_name is not None:
|
72
77
|
pulumi.set(__self__, "common_name", common_name)
|
73
78
|
if country is not None:
|
74
79
|
pulumi.set(__self__, "country", country)
|
80
|
+
if email_address is not None:
|
81
|
+
pulumi.set(__self__, "email_address", email_address)
|
75
82
|
if locality is not None:
|
76
83
|
pulumi.set(__self__, "locality", locality)
|
77
84
|
if organization is not None:
|
@@ -89,7 +96,7 @@ class CertRequestSubject(dict):
|
|
89
96
|
|
90
97
|
@property
|
91
98
|
@pulumi.getter(name="commonName")
|
92
|
-
def common_name(self) -> Optional[str]:
|
99
|
+
def common_name(self) -> Optional[builtins.str]:
|
93
100
|
"""
|
94
101
|
Distinguished name: `CN`
|
95
102
|
"""
|
@@ -97,15 +104,23 @@ class CertRequestSubject(dict):
|
|
97
104
|
|
98
105
|
@property
|
99
106
|
@pulumi.getter
|
100
|
-
def country(self) -> Optional[str]:
|
107
|
+
def country(self) -> Optional[builtins.str]:
|
101
108
|
"""
|
102
109
|
Distinguished name: `C`
|
103
110
|
"""
|
104
111
|
return pulumi.get(self, "country")
|
105
112
|
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="emailAddress")
|
115
|
+
def email_address(self) -> Optional[builtins.str]:
|
116
|
+
"""
|
117
|
+
ASN.1 Object Identifier (OID): `1.2.840.113549.1.9.1`
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "email_address")
|
120
|
+
|
106
121
|
@property
|
107
122
|
@pulumi.getter
|
108
|
-
def locality(self) -> Optional[str]:
|
123
|
+
def locality(self) -> Optional[builtins.str]:
|
109
124
|
"""
|
110
125
|
Distinguished name: `L`
|
111
126
|
"""
|
@@ -113,7 +128,7 @@ class CertRequestSubject(dict):
|
|
113
128
|
|
114
129
|
@property
|
115
130
|
@pulumi.getter
|
116
|
-
def organization(self) -> Optional[str]:
|
131
|
+
def organization(self) -> Optional[builtins.str]:
|
117
132
|
"""
|
118
133
|
Distinguished name: `O`
|
119
134
|
"""
|
@@ -121,7 +136,7 @@ class CertRequestSubject(dict):
|
|
121
136
|
|
122
137
|
@property
|
123
138
|
@pulumi.getter(name="organizationalUnit")
|
124
|
-
def organizational_unit(self) -> Optional[str]:
|
139
|
+
def organizational_unit(self) -> Optional[builtins.str]:
|
125
140
|
"""
|
126
141
|
Distinguished name: `OU`
|
127
142
|
"""
|
@@ -129,7 +144,7 @@ class CertRequestSubject(dict):
|
|
129
144
|
|
130
145
|
@property
|
131
146
|
@pulumi.getter(name="postalCode")
|
132
|
-
def postal_code(self) -> Optional[str]:
|
147
|
+
def postal_code(self) -> Optional[builtins.str]:
|
133
148
|
"""
|
134
149
|
Distinguished name: `PC`
|
135
150
|
"""
|
@@ -137,7 +152,7 @@ class CertRequestSubject(dict):
|
|
137
152
|
|
138
153
|
@property
|
139
154
|
@pulumi.getter
|
140
|
-
def province(self) -> Optional[str]:
|
155
|
+
def province(self) -> Optional[builtins.str]:
|
141
156
|
"""
|
142
157
|
Distinguished name: `ST`
|
143
158
|
"""
|
@@ -145,7 +160,7 @@ class CertRequestSubject(dict):
|
|
145
160
|
|
146
161
|
@property
|
147
162
|
@pulumi.getter(name="serialNumber")
|
148
|
-
def serial_number(self) -> Optional[str]:
|
163
|
+
def serial_number(self) -> Optional[builtins.str]:
|
149
164
|
"""
|
150
165
|
Distinguished name: `SERIALNUMBER`
|
151
166
|
"""
|
@@ -153,7 +168,7 @@ class CertRequestSubject(dict):
|
|
153
168
|
|
154
169
|
@property
|
155
170
|
@pulumi.getter(name="streetAddresses")
|
156
|
-
def street_addresses(self) -> Optional[Sequence[str]]:
|
171
|
+
def street_addresses(self) -> Optional[Sequence[builtins.str]]:
|
157
172
|
"""
|
158
173
|
Distinguished name: `STREET`
|
159
174
|
"""
|
@@ -167,6 +182,8 @@ class SelfSignedCertSubject(dict):
|
|
167
182
|
suggest = None
|
168
183
|
if key == "commonName":
|
169
184
|
suggest = "common_name"
|
185
|
+
elif key == "emailAddress":
|
186
|
+
suggest = "email_address"
|
170
187
|
elif key == "organizationalUnit":
|
171
188
|
suggest = "organizational_unit"
|
172
189
|
elif key == "postalCode":
|
@@ -188,30 +205,34 @@ class SelfSignedCertSubject(dict):
|
|
188
205
|
return super().get(key, default)
|
189
206
|
|
190
207
|
def __init__(__self__, *,
|
191
|
-
common_name: Optional[str] = None,
|
192
|
-
country: Optional[str] = None,
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
:param str
|
203
|
-
:param str
|
204
|
-
:param str
|
205
|
-
:param str
|
206
|
-
:param str
|
207
|
-
:param str
|
208
|
-
:param str
|
209
|
-
:param
|
208
|
+
common_name: Optional[builtins.str] = None,
|
209
|
+
country: Optional[builtins.str] = None,
|
210
|
+
email_address: Optional[builtins.str] = None,
|
211
|
+
locality: Optional[builtins.str] = None,
|
212
|
+
organization: Optional[builtins.str] = None,
|
213
|
+
organizational_unit: Optional[builtins.str] = None,
|
214
|
+
postal_code: Optional[builtins.str] = None,
|
215
|
+
province: Optional[builtins.str] = None,
|
216
|
+
serial_number: Optional[builtins.str] = None,
|
217
|
+
street_addresses: Optional[Sequence[builtins.str]] = None):
|
218
|
+
"""
|
219
|
+
:param builtins.str common_name: Distinguished name: `CN`
|
220
|
+
:param builtins.str country: Distinguished name: `C`
|
221
|
+
:param builtins.str email_address: ASN.1 Object Identifier (OID): `1.2.840.113549.1.9.1`
|
222
|
+
:param builtins.str locality: Distinguished name: `L`
|
223
|
+
:param builtins.str organization: Distinguished name: `O`
|
224
|
+
:param builtins.str organizational_unit: Distinguished name: `OU`
|
225
|
+
:param builtins.str postal_code: Distinguished name: `PC`
|
226
|
+
:param builtins.str province: Distinguished name: `ST`
|
227
|
+
:param builtins.str serial_number: Distinguished name: `SERIALNUMBER`
|
228
|
+
:param Sequence[builtins.str] street_addresses: Distinguished name: `STREET`
|
210
229
|
"""
|
211
230
|
if common_name is not None:
|
212
231
|
pulumi.set(__self__, "common_name", common_name)
|
213
232
|
if country is not None:
|
214
233
|
pulumi.set(__self__, "country", country)
|
234
|
+
if email_address is not None:
|
235
|
+
pulumi.set(__self__, "email_address", email_address)
|
215
236
|
if locality is not None:
|
216
237
|
pulumi.set(__self__, "locality", locality)
|
217
238
|
if organization is not None:
|
@@ -229,7 +250,7 @@ class SelfSignedCertSubject(dict):
|
|
229
250
|
|
230
251
|
@property
|
231
252
|
@pulumi.getter(name="commonName")
|
232
|
-
def common_name(self) -> Optional[str]:
|
253
|
+
def common_name(self) -> Optional[builtins.str]:
|
233
254
|
"""
|
234
255
|
Distinguished name: `CN`
|
235
256
|
"""
|
@@ -237,15 +258,23 @@ class SelfSignedCertSubject(dict):
|
|
237
258
|
|
238
259
|
@property
|
239
260
|
@pulumi.getter
|
240
|
-
def country(self) -> Optional[str]:
|
261
|
+
def country(self) -> Optional[builtins.str]:
|
241
262
|
"""
|
242
263
|
Distinguished name: `C`
|
243
264
|
"""
|
244
265
|
return pulumi.get(self, "country")
|
245
266
|
|
267
|
+
@property
|
268
|
+
@pulumi.getter(name="emailAddress")
|
269
|
+
def email_address(self) -> Optional[builtins.str]:
|
270
|
+
"""
|
271
|
+
ASN.1 Object Identifier (OID): `1.2.840.113549.1.9.1`
|
272
|
+
"""
|
273
|
+
return pulumi.get(self, "email_address")
|
274
|
+
|
246
275
|
@property
|
247
276
|
@pulumi.getter
|
248
|
-
def locality(self) -> Optional[str]:
|
277
|
+
def locality(self) -> Optional[builtins.str]:
|
249
278
|
"""
|
250
279
|
Distinguished name: `L`
|
251
280
|
"""
|
@@ -253,7 +282,7 @@ class SelfSignedCertSubject(dict):
|
|
253
282
|
|
254
283
|
@property
|
255
284
|
@pulumi.getter
|
256
|
-
def organization(self) -> Optional[str]:
|
285
|
+
def organization(self) -> Optional[builtins.str]:
|
257
286
|
"""
|
258
287
|
Distinguished name: `O`
|
259
288
|
"""
|
@@ -261,7 +290,7 @@ class SelfSignedCertSubject(dict):
|
|
261
290
|
|
262
291
|
@property
|
263
292
|
@pulumi.getter(name="organizationalUnit")
|
264
|
-
def organizational_unit(self) -> Optional[str]:
|
293
|
+
def organizational_unit(self) -> Optional[builtins.str]:
|
265
294
|
"""
|
266
295
|
Distinguished name: `OU`
|
267
296
|
"""
|
@@ -269,7 +298,7 @@ class SelfSignedCertSubject(dict):
|
|
269
298
|
|
270
299
|
@property
|
271
300
|
@pulumi.getter(name="postalCode")
|
272
|
-
def postal_code(self) -> Optional[str]:
|
301
|
+
def postal_code(self) -> Optional[builtins.str]:
|
273
302
|
"""
|
274
303
|
Distinguished name: `PC`
|
275
304
|
"""
|
@@ -277,7 +306,7 @@ class SelfSignedCertSubject(dict):
|
|
277
306
|
|
278
307
|
@property
|
279
308
|
@pulumi.getter
|
280
|
-
def province(self) -> Optional[str]:
|
309
|
+
def province(self) -> Optional[builtins.str]:
|
281
310
|
"""
|
282
311
|
Distinguished name: `ST`
|
283
312
|
"""
|
@@ -285,7 +314,7 @@ class SelfSignedCertSubject(dict):
|
|
285
314
|
|
286
315
|
@property
|
287
316
|
@pulumi.getter(name="serialNumber")
|
288
|
-
def serial_number(self) -> Optional[str]:
|
317
|
+
def serial_number(self) -> Optional[builtins.str]:
|
289
318
|
"""
|
290
319
|
Distinguished name: `SERIALNUMBER`
|
291
320
|
"""
|
@@ -293,7 +322,7 @@ class SelfSignedCertSubject(dict):
|
|
293
322
|
|
294
323
|
@property
|
295
324
|
@pulumi.getter(name="streetAddresses")
|
296
|
-
def street_addresses(self) -> Optional[Sequence[str]]:
|
325
|
+
def street_addresses(self) -> Optional[Sequence[builtins.str]]:
|
297
326
|
"""
|
298
327
|
Distinguished name: `STREET`
|
299
328
|
"""
|
@@ -303,30 +332,30 @@ class SelfSignedCertSubject(dict):
|
|
303
332
|
@pulumi.output_type
|
304
333
|
class GetCertificateCertificateResult(dict):
|
305
334
|
def __init__(__self__, *,
|
306
|
-
cert_pem: str,
|
307
|
-
is_ca: bool,
|
308
|
-
issuer: str,
|
309
|
-
not_after: str,
|
310
|
-
not_before: str,
|
311
|
-
public_key_algorithm: str,
|
312
|
-
serial_number: str,
|
313
|
-
sha1_fingerprint: str,
|
314
|
-
signature_algorithm: str,
|
315
|
-
subject: str,
|
316
|
-
version: int):
|
317
|
-
"""
|
318
|
-
:param str cert_pem: Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`.
|
319
|
-
:param bool is_ca: `true` if the certificate is of a CA (Certificate Authority).
|
320
|
-
:param str issuer: Who verified and signed the certificate, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
|
321
|
-
:param str not_after: The time until which the certificate is invalid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
322
|
-
:param str not_before: The time after which the certificate is valid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
323
|
-
:param str public_key_algorithm: The key algorithm used to create the certificate.
|
324
|
-
:param str serial_number: Number that uniquely identifies the certificate with the CA's system.
|
335
|
+
cert_pem: builtins.str,
|
336
|
+
is_ca: builtins.bool,
|
337
|
+
issuer: builtins.str,
|
338
|
+
not_after: builtins.str,
|
339
|
+
not_before: builtins.str,
|
340
|
+
public_key_algorithm: builtins.str,
|
341
|
+
serial_number: builtins.str,
|
342
|
+
sha1_fingerprint: builtins.str,
|
343
|
+
signature_algorithm: builtins.str,
|
344
|
+
subject: builtins.str,
|
345
|
+
version: builtins.int):
|
346
|
+
"""
|
347
|
+
:param builtins.str cert_pem: Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`.
|
348
|
+
:param builtins.bool is_ca: `true` if the certificate is of a CA (Certificate Authority).
|
349
|
+
:param builtins.str issuer: Who verified and signed the certificate, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
|
350
|
+
:param builtins.str not_after: The time until which the certificate is invalid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
351
|
+
:param builtins.str not_before: The time after which the certificate is valid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
352
|
+
:param builtins.str public_key_algorithm: The key algorithm used to create the certificate.
|
353
|
+
:param builtins.str serial_number: Number that uniquely identifies the certificate with the CA's system.
|
325
354
|
The `format` function can be used to convert this *base 10* number into other bases, such as hex.
|
326
|
-
:param str sha1_fingerprint: The SHA1 fingerprint of the public key of the certificate.
|
327
|
-
:param str signature_algorithm: The algorithm used to sign the certificate.
|
328
|
-
:param str subject: The entity the certificate belongs to, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
|
329
|
-
:param int version: The version the certificate is in.
|
355
|
+
:param builtins.str sha1_fingerprint: The SHA1 fingerprint of the public key of the certificate.
|
356
|
+
:param builtins.str signature_algorithm: The algorithm used to sign the certificate.
|
357
|
+
:param builtins.str subject: The entity the certificate belongs to, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
|
358
|
+
:param builtins.int version: The version the certificate is in.
|
330
359
|
"""
|
331
360
|
pulumi.set(__self__, "cert_pem", cert_pem)
|
332
361
|
pulumi.set(__self__, "is_ca", is_ca)
|
@@ -342,7 +371,7 @@ class GetCertificateCertificateResult(dict):
|
|
342
371
|
|
343
372
|
@property
|
344
373
|
@pulumi.getter(name="certPem")
|
345
|
-
def cert_pem(self) -> str:
|
374
|
+
def cert_pem(self) -> builtins.str:
|
346
375
|
"""
|
347
376
|
Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`.
|
348
377
|
"""
|
@@ -350,7 +379,7 @@ class GetCertificateCertificateResult(dict):
|
|
350
379
|
|
351
380
|
@property
|
352
381
|
@pulumi.getter(name="isCa")
|
353
|
-
def is_ca(self) -> bool:
|
382
|
+
def is_ca(self) -> builtins.bool:
|
354
383
|
"""
|
355
384
|
`true` if the certificate is of a CA (Certificate Authority).
|
356
385
|
"""
|
@@ -358,7 +387,7 @@ class GetCertificateCertificateResult(dict):
|
|
358
387
|
|
359
388
|
@property
|
360
389
|
@pulumi.getter
|
361
|
-
def issuer(self) -> str:
|
390
|
+
def issuer(self) -> builtins.str:
|
362
391
|
"""
|
363
392
|
Who verified and signed the certificate, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
|
364
393
|
"""
|
@@ -366,7 +395,7 @@ class GetCertificateCertificateResult(dict):
|
|
366
395
|
|
367
396
|
@property
|
368
397
|
@pulumi.getter(name="notAfter")
|
369
|
-
def not_after(self) -> str:
|
398
|
+
def not_after(self) -> builtins.str:
|
370
399
|
"""
|
371
400
|
The time until which the certificate is invalid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
372
401
|
"""
|
@@ -374,7 +403,7 @@ class GetCertificateCertificateResult(dict):
|
|
374
403
|
|
375
404
|
@property
|
376
405
|
@pulumi.getter(name="notBefore")
|
377
|
-
def not_before(self) -> str:
|
406
|
+
def not_before(self) -> builtins.str:
|
378
407
|
"""
|
379
408
|
The time after which the certificate is valid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
380
409
|
"""
|
@@ -382,7 +411,7 @@ class GetCertificateCertificateResult(dict):
|
|
382
411
|
|
383
412
|
@property
|
384
413
|
@pulumi.getter(name="publicKeyAlgorithm")
|
385
|
-
def public_key_algorithm(self) -> str:
|
414
|
+
def public_key_algorithm(self) -> builtins.str:
|
386
415
|
"""
|
387
416
|
The key algorithm used to create the certificate.
|
388
417
|
"""
|
@@ -390,7 +419,7 @@ class GetCertificateCertificateResult(dict):
|
|
390
419
|
|
391
420
|
@property
|
392
421
|
@pulumi.getter(name="serialNumber")
|
393
|
-
def serial_number(self) -> str:
|
422
|
+
def serial_number(self) -> builtins.str:
|
394
423
|
"""
|
395
424
|
Number that uniquely identifies the certificate with the CA's system.
|
396
425
|
The `format` function can be used to convert this *base 10* number into other bases, such as hex.
|
@@ -399,7 +428,7 @@ class GetCertificateCertificateResult(dict):
|
|
399
428
|
|
400
429
|
@property
|
401
430
|
@pulumi.getter(name="sha1Fingerprint")
|
402
|
-
def sha1_fingerprint(self) -> str:
|
431
|
+
def sha1_fingerprint(self) -> builtins.str:
|
403
432
|
"""
|
404
433
|
The SHA1 fingerprint of the public key of the certificate.
|
405
434
|
"""
|
@@ -407,7 +436,7 @@ class GetCertificateCertificateResult(dict):
|
|
407
436
|
|
408
437
|
@property
|
409
438
|
@pulumi.getter(name="signatureAlgorithm")
|
410
|
-
def signature_algorithm(self) -> str:
|
439
|
+
def signature_algorithm(self) -> builtins.str:
|
411
440
|
"""
|
412
441
|
The algorithm used to sign the certificate.
|
413
442
|
"""
|
@@ -415,7 +444,7 @@ class GetCertificateCertificateResult(dict):
|
|
415
444
|
|
416
445
|
@property
|
417
446
|
@pulumi.getter
|
418
|
-
def subject(self) -> str:
|
447
|
+
def subject(self) -> builtins.str:
|
419
448
|
"""
|
420
449
|
The entity the certificate belongs to, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
|
421
450
|
"""
|
@@ -423,7 +452,7 @@ class GetCertificateCertificateResult(dict):
|
|
423
452
|
|
424
453
|
@property
|
425
454
|
@pulumi.getter
|
426
|
-
def version(self) -> int:
|
455
|
+
def version(self) -> builtins.int:
|
427
456
|
"""
|
428
457
|
The version the certificate is in.
|
429
458
|
"""
|