pulumi-tls 5.2.0a1743575896__py3-none-any.whl → 5.2.0a1744183475__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.
@@ -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
@@ -21,18 +22,18 @@ __all__ = ['CertRequestArgs', 'CertRequest']
21
22
  @pulumi.input_type
22
23
  class CertRequestArgs:
23
24
  def __init__(__self__, *,
24
- private_key_pem: pulumi.Input[str],
25
- dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
- ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
25
+ private_key_pem: pulumi.Input[builtins.str],
26
+ dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
27
+ ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
27
28
  subject: Optional[pulumi.Input['CertRequestSubjectArgs']] = None,
28
- uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
29
+ uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
29
30
  """
30
31
  The set of arguments for constructing a CertRequest resource.
31
- :param pulumi.Input[str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
32
- :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
33
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
32
+ :param pulumi.Input[builtins.str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
33
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
34
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
34
35
  :param pulumi.Input['CertRequestSubjectArgs'] subject: The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section.
35
- :param pulumi.Input[Sequence[pulumi.Input[str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
36
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
36
37
  """
37
38
  pulumi.set(__self__, "private_key_pem", private_key_pem)
38
39
  if dns_names is not None:
@@ -46,38 +47,38 @@ class CertRequestArgs:
46
47
 
47
48
  @property
48
49
  @pulumi.getter(name="privateKeyPem")
49
- def private_key_pem(self) -> pulumi.Input[str]:
50
+ def private_key_pem(self) -> pulumi.Input[builtins.str]:
50
51
  """
51
52
  Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
52
53
  """
53
54
  return pulumi.get(self, "private_key_pem")
54
55
 
55
56
  @private_key_pem.setter
56
- def private_key_pem(self, value: pulumi.Input[str]):
57
+ def private_key_pem(self, value: pulumi.Input[builtins.str]):
57
58
  pulumi.set(self, "private_key_pem", value)
58
59
 
59
60
  @property
60
61
  @pulumi.getter(name="dnsNames")
61
- def dns_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
62
+ def dns_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
62
63
  """
63
64
  List of DNS names for which a certificate is being requested (i.e. certificate subjects).
64
65
  """
65
66
  return pulumi.get(self, "dns_names")
66
67
 
67
68
  @dns_names.setter
68
- def dns_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
69
+ def dns_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
69
70
  pulumi.set(self, "dns_names", value)
70
71
 
71
72
  @property
72
73
  @pulumi.getter(name="ipAddresses")
73
- def ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
74
+ def ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
74
75
  """
75
76
  List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
76
77
  """
77
78
  return pulumi.get(self, "ip_addresses")
78
79
 
79
80
  @ip_addresses.setter
80
- def ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
81
+ def ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
81
82
  pulumi.set(self, "ip_addresses", value)
82
83
 
83
84
  @property
@@ -94,36 +95,36 @@ class CertRequestArgs:
94
95
 
95
96
  @property
96
97
  @pulumi.getter
97
- def uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
98
+ def uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
98
99
  """
99
100
  List of URIs for which a certificate is being requested (i.e. certificate subjects).
100
101
  """
101
102
  return pulumi.get(self, "uris")
102
103
 
103
104
  @uris.setter
104
- def uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
105
+ def uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
105
106
  pulumi.set(self, "uris", value)
106
107
 
107
108
 
108
109
  @pulumi.input_type
109
110
  class _CertRequestState:
110
111
  def __init__(__self__, *,
111
- cert_request_pem: Optional[pulumi.Input[str]] = None,
112
- dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
113
- ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
114
- key_algorithm: Optional[pulumi.Input[str]] = None,
115
- private_key_pem: Optional[pulumi.Input[str]] = None,
112
+ cert_request_pem: Optional[pulumi.Input[builtins.str]] = None,
113
+ dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
114
+ ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
115
+ key_algorithm: Optional[pulumi.Input[builtins.str]] = None,
116
+ private_key_pem: Optional[pulumi.Input[builtins.str]] = None,
116
117
  subject: Optional[pulumi.Input['CertRequestSubjectArgs']] = None,
117
- uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
118
+ uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
118
119
  """
119
120
  Input properties used for looking up and filtering CertRequest resources.
120
- :param pulumi.Input[str] cert_request_pem: The certificate request 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()`.
121
- :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
122
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
123
- :param pulumi.Input[str] key_algorithm: Name of the algorithm used when generating the private key provided in `private_key_pem`.
124
- :param pulumi.Input[str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
121
+ :param pulumi.Input[builtins.str] cert_request_pem: The certificate request 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()`.
122
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
123
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
124
+ :param pulumi.Input[builtins.str] key_algorithm: Name of the algorithm used when generating the private key provided in `private_key_pem`.
125
+ :param pulumi.Input[builtins.str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
125
126
  :param pulumi.Input['CertRequestSubjectArgs'] subject: The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section.
126
- :param pulumi.Input[Sequence[pulumi.Input[str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
127
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
127
128
  """
128
129
  if cert_request_pem is not None:
129
130
  pulumi.set(__self__, "cert_request_pem", cert_request_pem)
@@ -142,62 +143,62 @@ class _CertRequestState:
142
143
 
143
144
  @property
144
145
  @pulumi.getter(name="certRequestPem")
145
- def cert_request_pem(self) -> Optional[pulumi.Input[str]]:
146
+ def cert_request_pem(self) -> Optional[pulumi.Input[builtins.str]]:
146
147
  """
147
148
  The certificate request 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()`.
148
149
  """
149
150
  return pulumi.get(self, "cert_request_pem")
150
151
 
151
152
  @cert_request_pem.setter
152
- def cert_request_pem(self, value: Optional[pulumi.Input[str]]):
153
+ def cert_request_pem(self, value: Optional[pulumi.Input[builtins.str]]):
153
154
  pulumi.set(self, "cert_request_pem", value)
154
155
 
155
156
  @property
156
157
  @pulumi.getter(name="dnsNames")
157
- def dns_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
158
+ def dns_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
158
159
  """
159
160
  List of DNS names for which a certificate is being requested (i.e. certificate subjects).
160
161
  """
161
162
  return pulumi.get(self, "dns_names")
162
163
 
163
164
  @dns_names.setter
164
- def dns_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
165
+ def dns_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
165
166
  pulumi.set(self, "dns_names", value)
166
167
 
167
168
  @property
168
169
  @pulumi.getter(name="ipAddresses")
169
- def ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
170
+ def ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
170
171
  """
171
172
  List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
172
173
  """
173
174
  return pulumi.get(self, "ip_addresses")
174
175
 
175
176
  @ip_addresses.setter
176
- def ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
177
+ def ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
177
178
  pulumi.set(self, "ip_addresses", value)
178
179
 
179
180
  @property
180
181
  @pulumi.getter(name="keyAlgorithm")
181
- def key_algorithm(self) -> Optional[pulumi.Input[str]]:
182
+ def key_algorithm(self) -> Optional[pulumi.Input[builtins.str]]:
182
183
  """
183
184
  Name of the algorithm used when generating the private key provided in `private_key_pem`.
184
185
  """
185
186
  return pulumi.get(self, "key_algorithm")
186
187
 
187
188
  @key_algorithm.setter
188
- def key_algorithm(self, value: Optional[pulumi.Input[str]]):
189
+ def key_algorithm(self, value: Optional[pulumi.Input[builtins.str]]):
189
190
  pulumi.set(self, "key_algorithm", value)
190
191
 
191
192
  @property
192
193
  @pulumi.getter(name="privateKeyPem")
193
- def private_key_pem(self) -> Optional[pulumi.Input[str]]:
194
+ def private_key_pem(self) -> Optional[pulumi.Input[builtins.str]]:
194
195
  """
195
196
  Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
196
197
  """
197
198
  return pulumi.get(self, "private_key_pem")
198
199
 
199
200
  @private_key_pem.setter
200
- def private_key_pem(self, value: Optional[pulumi.Input[str]]):
201
+ def private_key_pem(self, value: Optional[pulumi.Input[builtins.str]]):
201
202
  pulumi.set(self, "private_key_pem", value)
202
203
 
203
204
  @property
@@ -214,14 +215,14 @@ class _CertRequestState:
214
215
 
215
216
  @property
216
217
  @pulumi.getter
217
- def uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
218
+ def uris(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
218
219
  """
219
220
  List of URIs for which a certificate is being requested (i.e. certificate subjects).
220
221
  """
221
222
  return pulumi.get(self, "uris")
222
223
 
223
224
  @uris.setter
224
- def uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
225
+ def uris(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
225
226
  pulumi.set(self, "uris", value)
226
227
 
227
228
 
@@ -230,11 +231,11 @@ class CertRequest(pulumi.CustomResource):
230
231
  def __init__(__self__,
231
232
  resource_name: str,
232
233
  opts: Optional[pulumi.ResourceOptions] = None,
233
- dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
234
- ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
235
- private_key_pem: Optional[pulumi.Input[str]] = None,
234
+ dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
235
+ ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
236
+ private_key_pem: Optional[pulumi.Input[builtins.str]] = None,
236
237
  subject: Optional[pulumi.Input[Union['CertRequestSubjectArgs', 'CertRequestSubjectArgsDict']]] = None,
237
- uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
238
+ uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
238
239
  __props__=None):
239
240
  """
240
241
  ## Example Usage
@@ -254,11 +255,11 @@ class CertRequest(pulumi.CustomResource):
254
255
 
255
256
  :param str resource_name: The name of the resource.
256
257
  :param pulumi.ResourceOptions opts: Options for the resource.
257
- :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
258
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
259
- :param pulumi.Input[str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
258
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
259
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
260
+ :param pulumi.Input[builtins.str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
260
261
  :param pulumi.Input[Union['CertRequestSubjectArgs', 'CertRequestSubjectArgsDict']] subject: The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section.
261
- :param pulumi.Input[Sequence[pulumi.Input[str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
262
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
262
263
  """
263
264
  ...
264
265
  @overload
@@ -297,11 +298,11 @@ class CertRequest(pulumi.CustomResource):
297
298
  def _internal_init(__self__,
298
299
  resource_name: str,
299
300
  opts: Optional[pulumi.ResourceOptions] = None,
300
- dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
301
- ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
302
- private_key_pem: Optional[pulumi.Input[str]] = None,
301
+ dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
302
+ ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
303
+ private_key_pem: Optional[pulumi.Input[builtins.str]] = None,
303
304
  subject: Optional[pulumi.Input[Union['CertRequestSubjectArgs', 'CertRequestSubjectArgsDict']]] = None,
304
- uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
305
+ uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
305
306
  __props__=None):
306
307
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
307
308
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -332,13 +333,13 @@ class CertRequest(pulumi.CustomResource):
332
333
  def get(resource_name: str,
333
334
  id: pulumi.Input[str],
334
335
  opts: Optional[pulumi.ResourceOptions] = None,
335
- cert_request_pem: Optional[pulumi.Input[str]] = None,
336
- dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
337
- ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
338
- key_algorithm: Optional[pulumi.Input[str]] = None,
339
- private_key_pem: Optional[pulumi.Input[str]] = None,
336
+ cert_request_pem: Optional[pulumi.Input[builtins.str]] = None,
337
+ dns_names: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
338
+ ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
339
+ key_algorithm: Optional[pulumi.Input[builtins.str]] = None,
340
+ private_key_pem: Optional[pulumi.Input[builtins.str]] = None,
340
341
  subject: Optional[pulumi.Input[Union['CertRequestSubjectArgs', 'CertRequestSubjectArgsDict']]] = None,
341
- uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'CertRequest':
342
+ uris: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None) -> 'CertRequest':
342
343
  """
343
344
  Get an existing CertRequest resource's state with the given name, id, and optional extra
344
345
  properties used to qualify the lookup.
@@ -346,13 +347,13 @@ class CertRequest(pulumi.CustomResource):
346
347
  :param str resource_name: The unique name of the resulting resource.
347
348
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
348
349
  :param pulumi.ResourceOptions opts: Options for the resource.
349
- :param pulumi.Input[str] cert_request_pem: The certificate request 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()`.
350
- :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
351
- :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
352
- :param pulumi.Input[str] key_algorithm: Name of the algorithm used when generating the private key provided in `private_key_pem`.
353
- :param pulumi.Input[str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
350
+ :param pulumi.Input[builtins.str] cert_request_pem: The certificate request 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()`.
351
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] dns_names: List of DNS names for which a certificate is being requested (i.e. certificate subjects).
352
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] ip_addresses: List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
353
+ :param pulumi.Input[builtins.str] key_algorithm: Name of the algorithm used when generating the private key provided in `private_key_pem`.
354
+ :param pulumi.Input[builtins.str] private_key_pem: Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
354
355
  :param pulumi.Input[Union['CertRequestSubjectArgs', 'CertRequestSubjectArgsDict']] subject: The subject for which a certificate is being requested. The acceptable arguments are all optional and their naming is based upon [Issuer Distinguished Names (RFC5280)](https://tools.ietf.org/html/rfc5280#section-4.1.2.4) section.
355
- :param pulumi.Input[Sequence[pulumi.Input[str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
356
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] uris: List of URIs for which a certificate is being requested (i.e. certificate subjects).
356
357
  """
357
358
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
358
359
 
@@ -369,7 +370,7 @@ class CertRequest(pulumi.CustomResource):
369
370
 
370
371
  @property
371
372
  @pulumi.getter(name="certRequestPem")
372
- def cert_request_pem(self) -> pulumi.Output[str]:
373
+ def cert_request_pem(self) -> pulumi.Output[builtins.str]:
373
374
  """
374
375
  The certificate request 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()`.
375
376
  """
@@ -377,7 +378,7 @@ class CertRequest(pulumi.CustomResource):
377
378
 
378
379
  @property
379
380
  @pulumi.getter(name="dnsNames")
380
- def dns_names(self) -> pulumi.Output[Optional[Sequence[str]]]:
381
+ def dns_names(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
381
382
  """
382
383
  List of DNS names for which a certificate is being requested (i.e. certificate subjects).
383
384
  """
@@ -385,7 +386,7 @@ class CertRequest(pulumi.CustomResource):
385
386
 
386
387
  @property
387
388
  @pulumi.getter(name="ipAddresses")
388
- def ip_addresses(self) -> pulumi.Output[Optional[Sequence[str]]]:
389
+ def ip_addresses(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
389
390
  """
390
391
  List of IP addresses for which a certificate is being requested (i.e. certificate subjects).
391
392
  """
@@ -393,7 +394,7 @@ class CertRequest(pulumi.CustomResource):
393
394
 
394
395
  @property
395
396
  @pulumi.getter(name="keyAlgorithm")
396
- def key_algorithm(self) -> pulumi.Output[str]:
397
+ def key_algorithm(self) -> pulumi.Output[builtins.str]:
397
398
  """
398
399
  Name of the algorithm used when generating the private key provided in `private_key_pem`.
399
400
  """
@@ -401,7 +402,7 @@ class CertRequest(pulumi.CustomResource):
401
402
 
402
403
  @property
403
404
  @pulumi.getter(name="privateKeyPem")
404
- def private_key_pem(self) -> pulumi.Output[str]:
405
+ def private_key_pem(self) -> pulumi.Output[builtins.str]:
405
406
  """
406
407
  Private key in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format, that the certificate will belong to. This can be read from a separate file using the `file` interpolation function.
407
408
  """
@@ -417,7 +418,7 @@ class CertRequest(pulumi.CustomResource):
417
418
 
418
419
  @property
419
420
  @pulumi.getter
420
- def uris(self) -> pulumi.Output[Optional[Sequence[str]]]:
421
+ def uris(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
421
422
  """
422
423
  List of URIs for which a certificate is being requested (i.e. certificate subjects).
423
424
  """
@@ -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 sys
6
7
  from .vars import _ExportableConfig
7
8
 
@@ -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
@@ -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
@@ -21,15 +22,15 @@ __all__ = [
21
22
  @pulumi.output_type
22
23
  class Proxy(dict):
23
24
  def __init__(__self__, *,
24
- from_env: Optional[bool] = None,
25
- password: Optional[str] = None,
26
- url: Optional[str] = None,
27
- username: Optional[str] = None):
25
+ from_env: Optional[builtins.bool] = None,
26
+ password: Optional[builtins.str] = None,
27
+ url: Optional[builtins.str] = None,
28
+ username: Optional[builtins.str] = None):
28
29
  """
29
- :param bool from_env: When `true` the provider will discover the proxy configuration from environment variables. This is based upon [`http.ProxyFromEnvironment`](https://pkg.go.dev/net/http#ProxyFromEnvironment) and it supports the same environment variables (default: `true`).
30
- :param str password: Password used for Basic authentication against the Proxy.
31
- :param str url: URL used to connect to the Proxy. Accepted schemes are: `http`, `https`, `socks5`.
32
- :param str username: Username (or Token) used for Basic authentication against the Proxy.
30
+ :param builtins.bool from_env: When `true` the provider will discover the proxy configuration from environment variables. This is based upon [`http.ProxyFromEnvironment`](https://pkg.go.dev/net/http#ProxyFromEnvironment) and it supports the same environment variables (default: `true`).
31
+ :param builtins.str password: Password used for Basic authentication against the Proxy.
32
+ :param builtins.str url: URL used to connect to the Proxy. Accepted schemes are: `http`, `https`, `socks5`.
33
+ :param builtins.str username: Username (or Token) used for Basic authentication against the Proxy.
33
34
  """
34
35
  if from_env is not None:
35
36
  pulumi.set(__self__, "from_env", from_env)
@@ -42,7 +43,7 @@ class Proxy(dict):
42
43
 
43
44
  @property
44
45
  @pulumi.getter(name="fromEnv")
45
- def from_env(self) -> Optional[bool]:
46
+ def from_env(self) -> Optional[builtins.bool]:
46
47
  """
47
48
  When `true` the provider will discover the proxy configuration from environment variables. This is based upon [`http.ProxyFromEnvironment`](https://pkg.go.dev/net/http#ProxyFromEnvironment) and it supports the same environment variables (default: `true`).
48
49
  """
@@ -50,7 +51,7 @@ class Proxy(dict):
50
51
 
51
52
  @property
52
53
  @pulumi.getter
53
- def password(self) -> Optional[str]:
54
+ def password(self) -> Optional[builtins.str]:
54
55
  """
55
56
  Password used for Basic authentication against the Proxy.
56
57
  """
@@ -58,7 +59,7 @@ class Proxy(dict):
58
59
 
59
60
  @property
60
61
  @pulumi.getter
61
- def url(self) -> Optional[str]:
62
+ def url(self) -> Optional[builtins.str]:
62
63
  """
63
64
  URL used to connect to the Proxy. Accepted schemes are: `http`, `https`, `socks5`.
64
65
  """
@@ -66,7 +67,7 @@ class Proxy(dict):
66
67
 
67
68
  @property
68
69
  @pulumi.getter
69
- def username(self) -> Optional[str]:
70
+ def username(self) -> Optional[builtins.str]:
70
71
  """
71
72
  Username (or Token) used for Basic authentication against the Proxy.
72
73
  """
pulumi_tls/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
@@ -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
@@ -54,7 +55,7 @@ class GetCertificateResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter
57
- def content(self) -> Optional[str]:
58
+ def content(self) -> Optional[builtins.str]:
58
59
  """
59
60
  The content of the certificate in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. Cannot be used with `url`.
60
61
  """
@@ -62,7 +63,7 @@ class GetCertificateResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter
65
- def id(self) -> str:
66
+ def id(self) -> builtins.str:
66
67
  """
67
68
  Unique identifier of this data source: hashing of the certificates in the chain.
68
69
  """
@@ -70,7 +71,7 @@ class GetCertificateResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def url(self) -> Optional[str]:
74
+ def url(self) -> Optional[builtins.str]:
74
75
  """
75
76
  The URL of the website to get the certificates from. Cannot be used with `content`.
76
77
  """
@@ -78,7 +79,7 @@ class GetCertificateResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter(name="verifyChain")
81
- def verify_chain(self) -> Optional[bool]:
82
+ def verify_chain(self) -> Optional[builtins.bool]:
82
83
  """
83
84
  Whether to verify the certificate chain while parsing it or not (default: `true`). Cannot be used with `content`.
84
85
  """
@@ -98,16 +99,16 @@ class AwaitableGetCertificateResult(GetCertificateResult):
98
99
  verify_chain=self.verify_chain)
99
100
 
100
101
 
101
- def get_certificate(content: Optional[str] = None,
102
- url: Optional[str] = None,
103
- verify_chain: Optional[bool] = None,
102
+ def get_certificate(content: Optional[builtins.str] = None,
103
+ url: Optional[builtins.str] = None,
104
+ verify_chain: Optional[builtins.bool] = None,
104
105
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCertificateResult:
105
106
  """
106
107
  Use this data source to access information about an existing resource.
107
108
 
108
- :param str content: The content of the certificate in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. Cannot be used with `url`.
109
- :param str url: The URL of the website to get the certificates from. Cannot be used with `content`.
110
- :param bool verify_chain: Whether to verify the certificate chain while parsing it or not (default: `true`). Cannot be used with `content`.
109
+ :param builtins.str content: The content of the certificate in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. Cannot be used with `url`.
110
+ :param builtins.str url: The URL of the website to get the certificates from. Cannot be used with `content`.
111
+ :param builtins.bool verify_chain: Whether to verify the certificate chain while parsing it or not (default: `true`). Cannot be used with `content`.
111
112
  """
112
113
  __args__ = dict()
113
114
  __args__['content'] = content
@@ -122,16 +123,16 @@ def get_certificate(content: Optional[str] = None,
122
123
  id=pulumi.get(__ret__, 'id'),
123
124
  url=pulumi.get(__ret__, 'url'),
124
125
  verify_chain=pulumi.get(__ret__, 'verify_chain'))
125
- def get_certificate_output(content: Optional[pulumi.Input[Optional[str]]] = None,
126
- url: Optional[pulumi.Input[Optional[str]]] = None,
127
- verify_chain: Optional[pulumi.Input[Optional[bool]]] = None,
126
+ def get_certificate_output(content: Optional[pulumi.Input[Optional[builtins.str]]] = None,
127
+ url: Optional[pulumi.Input[Optional[builtins.str]]] = None,
128
+ verify_chain: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
128
129
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCertificateResult]:
129
130
  """
130
131
  Use this data source to access information about an existing resource.
131
132
 
132
- :param str content: The content of the certificate in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. Cannot be used with `url`.
133
- :param str url: The URL of the website to get the certificates from. Cannot be used with `content`.
134
- :param bool verify_chain: Whether to verify the certificate chain while parsing it or not (default: `true`). Cannot be used with `content`.
133
+ :param builtins.str content: The content of the certificate in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. Cannot be used with `url`.
134
+ :param builtins.str url: The URL of the website to get the certificates from. Cannot be used with `content`.
135
+ :param builtins.bool verify_chain: Whether to verify the certificate chain while parsing it or not (default: `true`). Cannot be used with `content`.
135
136
  """
136
137
  __args__ = dict()
137
138
  __args__['content'] = content