pulumi-kafka 3.8.0a1723819820__py3-none-any.whl → 3.13.0a1763619276__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_kafka/__init__.py +4 -1
- pulumi_kafka/_utilities.py +10 -6
- pulumi_kafka/acl.py +298 -242
- pulumi_kafka/config/__init__.py +2 -1
- pulumi_kafka/config/__init__.pyi +48 -4
- pulumi_kafka/config/vars.py +84 -24
- pulumi_kafka/get_topic.py +30 -19
- pulumi_kafka/get_topics.py +85 -0
- pulumi_kafka/outputs.py +71 -0
- pulumi_kafka/provider.py +428 -198
- pulumi_kafka/pulumi-plugin.json +1 -1
- pulumi_kafka/quota.py +294 -79
- pulumi_kafka/topic.py +266 -88
- pulumi_kafka/user_scram_credential.py +207 -87
- {pulumi_kafka-3.8.0a1723819820.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/METADATA +7 -6
- pulumi_kafka-3.13.0a1763619276.dist-info/RECORD +19 -0
- {pulumi_kafka-3.8.0a1723819820.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/WHEEL +1 -1
- pulumi_kafka-3.8.0a1723819820.dist-info/RECORD +0 -17
- {pulumi_kafka-3.8.0a1723819820.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = ['UserScramCredentialArgs', 'UserScramCredential']
|
|
@@ -14,88 +19,132 @@ __all__ = ['UserScramCredentialArgs', 'UserScramCredential']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class UserScramCredentialArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
scram_mechanism: pulumi.Input[_builtins.str],
|
|
23
|
+
username: pulumi.Input[_builtins.str],
|
|
24
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
scram_iterations: Optional[pulumi.Input[_builtins.int]] = None):
|
|
21
28
|
"""
|
|
22
29
|
The set of arguments for constructing a UserScramCredential resource.
|
|
23
|
-
:param pulumi.Input[str]
|
|
24
|
-
:param pulumi.Input[str]
|
|
25
|
-
:param pulumi.Input[str]
|
|
26
|
-
:param pulumi.Input[
|
|
30
|
+
:param pulumi.Input[_builtins.str] scram_mechanism: The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
31
|
+
:param pulumi.Input[_builtins.str] username: The name of the credential
|
|
32
|
+
:param pulumi.Input[_builtins.str] password: The password of the credential (deprecated, use password_wo instead)
|
|
33
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
34
|
+
The write-only password of the credential
|
|
35
|
+
:param pulumi.Input[_builtins.str] password_wo_version: Version identifier for the write-only password to track changes
|
|
36
|
+
:param pulumi.Input[_builtins.int] scram_iterations: The number of SCRAM iterations used when generating the credential
|
|
27
37
|
"""
|
|
28
|
-
pulumi.set(__self__, "password", password)
|
|
29
38
|
pulumi.set(__self__, "scram_mechanism", scram_mechanism)
|
|
30
39
|
pulumi.set(__self__, "username", username)
|
|
40
|
+
if password is not None:
|
|
41
|
+
pulumi.set(__self__, "password", password)
|
|
42
|
+
if password_wo is not None:
|
|
43
|
+
pulumi.set(__self__, "password_wo", password_wo)
|
|
44
|
+
if password_wo_version is not None:
|
|
45
|
+
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
|
31
46
|
if scram_iterations is not None:
|
|
32
47
|
pulumi.set(__self__, "scram_iterations", scram_iterations)
|
|
33
48
|
|
|
34
|
-
@property
|
|
35
|
-
@pulumi.getter
|
|
36
|
-
def password(self) -> pulumi.Input[str]:
|
|
37
|
-
"""
|
|
38
|
-
The password of the credential
|
|
39
|
-
"""
|
|
40
|
-
return pulumi.get(self, "password")
|
|
41
|
-
|
|
42
|
-
@password.setter
|
|
43
|
-
def password(self, value: pulumi.Input[str]):
|
|
44
|
-
pulumi.set(self, "password", value)
|
|
45
|
-
|
|
46
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
47
50
|
@pulumi.getter(name="scramMechanism")
|
|
48
|
-
def scram_mechanism(self) -> pulumi.Input[str]:
|
|
51
|
+
def scram_mechanism(self) -> pulumi.Input[_builtins.str]:
|
|
49
52
|
"""
|
|
50
53
|
The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
51
54
|
"""
|
|
52
55
|
return pulumi.get(self, "scram_mechanism")
|
|
53
56
|
|
|
54
57
|
@scram_mechanism.setter
|
|
55
|
-
def scram_mechanism(self, value: pulumi.Input[str]):
|
|
58
|
+
def scram_mechanism(self, value: pulumi.Input[_builtins.str]):
|
|
56
59
|
pulumi.set(self, "scram_mechanism", value)
|
|
57
60
|
|
|
58
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
59
62
|
@pulumi.getter
|
|
60
|
-
def username(self) -> pulumi.Input[str]:
|
|
63
|
+
def username(self) -> pulumi.Input[_builtins.str]:
|
|
61
64
|
"""
|
|
62
65
|
The name of the credential
|
|
63
66
|
"""
|
|
64
67
|
return pulumi.get(self, "username")
|
|
65
68
|
|
|
66
69
|
@username.setter
|
|
67
|
-
def username(self, value: pulumi.Input[str]):
|
|
70
|
+
def username(self, value: pulumi.Input[_builtins.str]):
|
|
68
71
|
pulumi.set(self, "username", value)
|
|
69
72
|
|
|
70
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
74
|
+
@pulumi.getter
|
|
75
|
+
def password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
76
|
+
"""
|
|
77
|
+
The password of the credential (deprecated, use password_wo instead)
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "password")
|
|
80
|
+
|
|
81
|
+
@password.setter
|
|
82
|
+
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
|
+
pulumi.set(self, "password", value)
|
|
84
|
+
|
|
85
|
+
@_builtins.property
|
|
86
|
+
@pulumi.getter(name="passwordWo")
|
|
87
|
+
def password_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
88
|
+
"""
|
|
89
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
90
|
+
The write-only password of the credential
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "password_wo")
|
|
93
|
+
|
|
94
|
+
@password_wo.setter
|
|
95
|
+
def password_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
96
|
+
pulumi.set(self, "password_wo", value)
|
|
97
|
+
|
|
98
|
+
@_builtins.property
|
|
99
|
+
@pulumi.getter(name="passwordWoVersion")
|
|
100
|
+
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
101
|
+
"""
|
|
102
|
+
Version identifier for the write-only password to track changes
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "password_wo_version")
|
|
105
|
+
|
|
106
|
+
@password_wo_version.setter
|
|
107
|
+
def password_wo_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
108
|
+
pulumi.set(self, "password_wo_version", value)
|
|
109
|
+
|
|
110
|
+
@_builtins.property
|
|
71
111
|
@pulumi.getter(name="scramIterations")
|
|
72
|
-
def scram_iterations(self) -> Optional[pulumi.Input[int]]:
|
|
112
|
+
def scram_iterations(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
73
113
|
"""
|
|
74
114
|
The number of SCRAM iterations used when generating the credential
|
|
75
115
|
"""
|
|
76
116
|
return pulumi.get(self, "scram_iterations")
|
|
77
117
|
|
|
78
118
|
@scram_iterations.setter
|
|
79
|
-
def scram_iterations(self, value: Optional[pulumi.Input[int]]):
|
|
119
|
+
def scram_iterations(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
80
120
|
pulumi.set(self, "scram_iterations", value)
|
|
81
121
|
|
|
82
122
|
|
|
83
123
|
@pulumi.input_type
|
|
84
124
|
class _UserScramCredentialState:
|
|
85
125
|
def __init__(__self__, *,
|
|
86
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
126
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
|
+
scram_iterations: Optional[pulumi.Input[_builtins.int]] = None,
|
|
130
|
+
scram_mechanism: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
|
+
username: Optional[pulumi.Input[_builtins.str]] = None):
|
|
90
132
|
"""
|
|
91
133
|
Input properties used for looking up and filtering UserScramCredential resources.
|
|
92
|
-
:param pulumi.Input[str] password: The password of the credential
|
|
93
|
-
:param pulumi.Input[
|
|
94
|
-
|
|
95
|
-
:param pulumi.Input[str]
|
|
134
|
+
:param pulumi.Input[_builtins.str] password: The password of the credential (deprecated, use password_wo instead)
|
|
135
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
136
|
+
The write-only password of the credential
|
|
137
|
+
:param pulumi.Input[_builtins.str] password_wo_version: Version identifier for the write-only password to track changes
|
|
138
|
+
:param pulumi.Input[_builtins.int] scram_iterations: The number of SCRAM iterations used when generating the credential
|
|
139
|
+
:param pulumi.Input[_builtins.str] scram_mechanism: The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
140
|
+
:param pulumi.Input[_builtins.str] username: The name of the credential
|
|
96
141
|
"""
|
|
97
142
|
if password is not None:
|
|
98
143
|
pulumi.set(__self__, "password", password)
|
|
144
|
+
if password_wo is not None:
|
|
145
|
+
pulumi.set(__self__, "password_wo", password_wo)
|
|
146
|
+
if password_wo_version is not None:
|
|
147
|
+
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
|
99
148
|
if scram_iterations is not None:
|
|
100
149
|
pulumi.set(__self__, "scram_iterations", scram_iterations)
|
|
101
150
|
if scram_mechanism is not None:
|
|
@@ -103,73 +152,111 @@ class _UserScramCredentialState:
|
|
|
103
152
|
if username is not None:
|
|
104
153
|
pulumi.set(__self__, "username", username)
|
|
105
154
|
|
|
106
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
107
156
|
@pulumi.getter
|
|
108
|
-
def password(self) -> Optional[pulumi.Input[str]]:
|
|
157
|
+
def password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
109
158
|
"""
|
|
110
|
-
The password of the credential
|
|
159
|
+
The password of the credential (deprecated, use password_wo instead)
|
|
111
160
|
"""
|
|
112
161
|
return pulumi.get(self, "password")
|
|
113
162
|
|
|
114
163
|
@password.setter
|
|
115
|
-
def password(self, value: Optional[pulumi.Input[str]]):
|
|
164
|
+
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
116
165
|
pulumi.set(self, "password", value)
|
|
117
166
|
|
|
118
|
-
@property
|
|
167
|
+
@_builtins.property
|
|
168
|
+
@pulumi.getter(name="passwordWo")
|
|
169
|
+
def password_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
170
|
+
"""
|
|
171
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
172
|
+
The write-only password of the credential
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "password_wo")
|
|
175
|
+
|
|
176
|
+
@password_wo.setter
|
|
177
|
+
def password_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
178
|
+
pulumi.set(self, "password_wo", value)
|
|
179
|
+
|
|
180
|
+
@_builtins.property
|
|
181
|
+
@pulumi.getter(name="passwordWoVersion")
|
|
182
|
+
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
183
|
+
"""
|
|
184
|
+
Version identifier for the write-only password to track changes
|
|
185
|
+
"""
|
|
186
|
+
return pulumi.get(self, "password_wo_version")
|
|
187
|
+
|
|
188
|
+
@password_wo_version.setter
|
|
189
|
+
def password_wo_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
190
|
+
pulumi.set(self, "password_wo_version", value)
|
|
191
|
+
|
|
192
|
+
@_builtins.property
|
|
119
193
|
@pulumi.getter(name="scramIterations")
|
|
120
|
-
def scram_iterations(self) -> Optional[pulumi.Input[int]]:
|
|
194
|
+
def scram_iterations(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
121
195
|
"""
|
|
122
196
|
The number of SCRAM iterations used when generating the credential
|
|
123
197
|
"""
|
|
124
198
|
return pulumi.get(self, "scram_iterations")
|
|
125
199
|
|
|
126
200
|
@scram_iterations.setter
|
|
127
|
-
def scram_iterations(self, value: Optional[pulumi.Input[int]]):
|
|
201
|
+
def scram_iterations(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
128
202
|
pulumi.set(self, "scram_iterations", value)
|
|
129
203
|
|
|
130
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
131
205
|
@pulumi.getter(name="scramMechanism")
|
|
132
|
-
def scram_mechanism(self) -> Optional[pulumi.Input[str]]:
|
|
206
|
+
def scram_mechanism(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
133
207
|
"""
|
|
134
208
|
The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
135
209
|
"""
|
|
136
210
|
return pulumi.get(self, "scram_mechanism")
|
|
137
211
|
|
|
138
212
|
@scram_mechanism.setter
|
|
139
|
-
def scram_mechanism(self, value: Optional[pulumi.Input[str]]):
|
|
213
|
+
def scram_mechanism(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
140
214
|
pulumi.set(self, "scram_mechanism", value)
|
|
141
215
|
|
|
142
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
143
217
|
@pulumi.getter
|
|
144
|
-
def username(self) -> Optional[pulumi.Input[str]]:
|
|
218
|
+
def username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
145
219
|
"""
|
|
146
220
|
The name of the credential
|
|
147
221
|
"""
|
|
148
222
|
return pulumi.get(self, "username")
|
|
149
223
|
|
|
150
224
|
@username.setter
|
|
151
|
-
def username(self, value: Optional[pulumi.Input[str]]):
|
|
225
|
+
def username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
152
226
|
pulumi.set(self, "username", value)
|
|
153
227
|
|
|
154
228
|
|
|
229
|
+
@pulumi.type_token("kafka:index/userScramCredential:UserScramCredential")
|
|
155
230
|
class UserScramCredential(pulumi.CustomResource):
|
|
156
231
|
@overload
|
|
157
232
|
def __init__(__self__,
|
|
158
233
|
resource_name: str,
|
|
159
234
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
160
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
235
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
236
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
237
|
+
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
scram_iterations: Optional[pulumi.Input[_builtins.int]] = None,
|
|
239
|
+
scram_mechanism: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
|
+
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
164
241
|
__props__=None):
|
|
165
242
|
"""
|
|
166
|
-
|
|
243
|
+
## Import
|
|
244
|
+
|
|
245
|
+
SCRAM credentials can be imported using the format `username|scram_mechanism|password`:
|
|
246
|
+
|
|
247
|
+
```sh
|
|
248
|
+
$ pulumi import kafka:index/userScramCredential:UserScramCredential example 'my-user|SCRAM-SHA-256|my-password'
|
|
249
|
+
```
|
|
250
|
+
|
|
167
251
|
:param str resource_name: The name of the resource.
|
|
168
252
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
169
|
-
:param pulumi.Input[str] password: The password of the credential
|
|
170
|
-
:param pulumi.Input[
|
|
171
|
-
|
|
172
|
-
:param pulumi.Input[str]
|
|
253
|
+
:param pulumi.Input[_builtins.str] password: The password of the credential (deprecated, use password_wo instead)
|
|
254
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
255
|
+
The write-only password of the credential
|
|
256
|
+
:param pulumi.Input[_builtins.str] password_wo_version: Version identifier for the write-only password to track changes
|
|
257
|
+
:param pulumi.Input[_builtins.int] scram_iterations: The number of SCRAM iterations used when generating the credential
|
|
258
|
+
:param pulumi.Input[_builtins.str] scram_mechanism: The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
259
|
+
:param pulumi.Input[_builtins.str] username: The name of the credential
|
|
173
260
|
"""
|
|
174
261
|
...
|
|
175
262
|
@overload
|
|
@@ -178,7 +265,14 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
178
265
|
args: UserScramCredentialArgs,
|
|
179
266
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
180
267
|
"""
|
|
181
|
-
|
|
268
|
+
## Import
|
|
269
|
+
|
|
270
|
+
SCRAM credentials can be imported using the format `username|scram_mechanism|password`:
|
|
271
|
+
|
|
272
|
+
```sh
|
|
273
|
+
$ pulumi import kafka:index/userScramCredential:UserScramCredential example 'my-user|SCRAM-SHA-256|my-password'
|
|
274
|
+
```
|
|
275
|
+
|
|
182
276
|
:param str resource_name: The name of the resource.
|
|
183
277
|
:param UserScramCredentialArgs args: The arguments to use to populate this resource's properties.
|
|
184
278
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -194,10 +288,12 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
194
288
|
def _internal_init(__self__,
|
|
195
289
|
resource_name: str,
|
|
196
290
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
197
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
291
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
292
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
293
|
+
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
scram_iterations: Optional[pulumi.Input[_builtins.int]] = None,
|
|
295
|
+
scram_mechanism: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
201
297
|
__props__=None):
|
|
202
298
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
203
299
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -207,9 +303,9 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
207
303
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
208
304
|
__props__ = UserScramCredentialArgs.__new__(UserScramCredentialArgs)
|
|
209
305
|
|
|
210
|
-
if password is None and not opts.urn:
|
|
211
|
-
raise TypeError("Missing required property 'password'")
|
|
212
306
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
307
|
+
__props__.__dict__["password_wo"] = None if password_wo is None else pulumi.Output.secret(password_wo)
|
|
308
|
+
__props__.__dict__["password_wo_version"] = password_wo_version
|
|
213
309
|
__props__.__dict__["scram_iterations"] = scram_iterations
|
|
214
310
|
if scram_mechanism is None and not opts.urn:
|
|
215
311
|
raise TypeError("Missing required property 'scram_mechanism'")
|
|
@@ -217,7 +313,7 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
217
313
|
if username is None and not opts.urn:
|
|
218
314
|
raise TypeError("Missing required property 'username'")
|
|
219
315
|
__props__.__dict__["username"] = username
|
|
220
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
316
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password", "passwordWo"])
|
|
221
317
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
222
318
|
super(UserScramCredential, __self__).__init__(
|
|
223
319
|
'kafka:index/userScramCredential:UserScramCredential',
|
|
@@ -229,10 +325,12 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
229
325
|
def get(resource_name: str,
|
|
230
326
|
id: pulumi.Input[str],
|
|
231
327
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
232
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
328
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
330
|
+
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
331
|
+
scram_iterations: Optional[pulumi.Input[_builtins.int]] = None,
|
|
332
|
+
scram_mechanism: Optional[pulumi.Input[_builtins.str]] = None,
|
|
333
|
+
username: Optional[pulumi.Input[_builtins.str]] = None) -> 'UserScramCredential':
|
|
236
334
|
"""
|
|
237
335
|
Get an existing UserScramCredential resource's state with the given name, id, and optional extra
|
|
238
336
|
properties used to qualify the lookup.
|
|
@@ -240,48 +338,70 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
240
338
|
:param str resource_name: The unique name of the resulting resource.
|
|
241
339
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
242
340
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
243
|
-
:param pulumi.Input[str] password: The password of the credential
|
|
244
|
-
:param pulumi.Input[
|
|
245
|
-
|
|
246
|
-
:param pulumi.Input[str]
|
|
341
|
+
:param pulumi.Input[_builtins.str] password: The password of the credential (deprecated, use password_wo instead)
|
|
342
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
343
|
+
The write-only password of the credential
|
|
344
|
+
:param pulumi.Input[_builtins.str] password_wo_version: Version identifier for the write-only password to track changes
|
|
345
|
+
:param pulumi.Input[_builtins.int] scram_iterations: The number of SCRAM iterations used when generating the credential
|
|
346
|
+
:param pulumi.Input[_builtins.str] scram_mechanism: The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
347
|
+
:param pulumi.Input[_builtins.str] username: The name of the credential
|
|
247
348
|
"""
|
|
248
349
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
249
350
|
|
|
250
351
|
__props__ = _UserScramCredentialState.__new__(_UserScramCredentialState)
|
|
251
352
|
|
|
252
353
|
__props__.__dict__["password"] = password
|
|
354
|
+
__props__.__dict__["password_wo"] = password_wo
|
|
355
|
+
__props__.__dict__["password_wo_version"] = password_wo_version
|
|
253
356
|
__props__.__dict__["scram_iterations"] = scram_iterations
|
|
254
357
|
__props__.__dict__["scram_mechanism"] = scram_mechanism
|
|
255
358
|
__props__.__dict__["username"] = username
|
|
256
359
|
return UserScramCredential(resource_name, opts=opts, __props__=__props__)
|
|
257
360
|
|
|
258
|
-
@property
|
|
361
|
+
@_builtins.property
|
|
259
362
|
@pulumi.getter
|
|
260
|
-
def password(self) -> pulumi.Output[str]:
|
|
363
|
+
def password(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
261
364
|
"""
|
|
262
|
-
The password of the credential
|
|
365
|
+
The password of the credential (deprecated, use password_wo instead)
|
|
263
366
|
"""
|
|
264
367
|
return pulumi.get(self, "password")
|
|
265
368
|
|
|
266
|
-
@property
|
|
369
|
+
@_builtins.property
|
|
370
|
+
@pulumi.getter(name="passwordWo")
|
|
371
|
+
def password_wo(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
372
|
+
"""
|
|
373
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
374
|
+
The write-only password of the credential
|
|
375
|
+
"""
|
|
376
|
+
return pulumi.get(self, "password_wo")
|
|
377
|
+
|
|
378
|
+
@_builtins.property
|
|
379
|
+
@pulumi.getter(name="passwordWoVersion")
|
|
380
|
+
def password_wo_version(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
381
|
+
"""
|
|
382
|
+
Version identifier for the write-only password to track changes
|
|
383
|
+
"""
|
|
384
|
+
return pulumi.get(self, "password_wo_version")
|
|
385
|
+
|
|
386
|
+
@_builtins.property
|
|
267
387
|
@pulumi.getter(name="scramIterations")
|
|
268
|
-
def scram_iterations(self) -> pulumi.Output[Optional[int]]:
|
|
388
|
+
def scram_iterations(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
269
389
|
"""
|
|
270
390
|
The number of SCRAM iterations used when generating the credential
|
|
271
391
|
"""
|
|
272
392
|
return pulumi.get(self, "scram_iterations")
|
|
273
393
|
|
|
274
|
-
@property
|
|
394
|
+
@_builtins.property
|
|
275
395
|
@pulumi.getter(name="scramMechanism")
|
|
276
|
-
def scram_mechanism(self) -> pulumi.Output[str]:
|
|
396
|
+
def scram_mechanism(self) -> pulumi.Output[_builtins.str]:
|
|
277
397
|
"""
|
|
278
398
|
The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
279
399
|
"""
|
|
280
400
|
return pulumi.get(self, "scram_mechanism")
|
|
281
401
|
|
|
282
|
-
@property
|
|
402
|
+
@_builtins.property
|
|
283
403
|
@pulumi.getter
|
|
284
|
-
def username(self) -> pulumi.Output[str]:
|
|
404
|
+
def username(self) -> pulumi.Output[_builtins.str]:
|
|
285
405
|
"""
|
|
286
406
|
The name of the credential
|
|
287
407
|
"""
|
{pulumi_kafka-3.8.0a1723819820.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/METADATA
RENAMED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pulumi_kafka
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.13.0a1763619276
|
|
4
4
|
Summary: A Pulumi package for creating and managing Kafka.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pulumi/pulumi-kafka
|
|
8
8
|
Keywords: pulumi,kafka
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.9
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: parver
|
|
12
|
-
Requires-Dist: pulumi
|
|
13
|
-
Requires-Dist: semver
|
|
11
|
+
Requires-Dist: parver>=0.2.1
|
|
12
|
+
Requires-Dist: pulumi<4.0.0,>=3.165.0
|
|
13
|
+
Requires-Dist: semver>=2.8.1
|
|
14
|
+
Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
|
|
14
15
|
|
|
15
16
|
[](https://github.com/pulumi/pulumi-kafka/actions)
|
|
16
17
|
[](https://slack.pulumi.com)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
pulumi_kafka/__init__.py,sha256=fQTDZ8Hj3xlL8YPdEJt3XuPL2dEUKECeiJvS1WDgcKw,1431
|
|
2
|
+
pulumi_kafka/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
|
|
3
|
+
pulumi_kafka/acl.py,sha256=zVaNriDqx5U2fKIs3P3v8_l6KOULDXAu1ETHxDzFn9U,24092
|
|
4
|
+
pulumi_kafka/get_topic.py,sha256=s5hMqhWstKaqSYxRQ5XoGvplU55WQ5tl59S8UiVow3M,4515
|
|
5
|
+
pulumi_kafka/get_topics.py,sha256=WJcR_Lo3X85j4n8IiHX0rycsf8MHv_vEBkx5j-OlsYU,2912
|
|
6
|
+
pulumi_kafka/outputs.py,sha256=6Y3VET7nOFDF9goSdZEVmsEG_r-6QeiOlloaaevdHao,2193
|
|
7
|
+
pulumi_kafka/provider.py,sha256=YCY6GScafxWk9Sazioowf53VsPDqGDE_DpGtmOVbSM8,45215
|
|
8
|
+
pulumi_kafka/pulumi-plugin.json,sha256=Q9IxIyS_cUPjM0D5tT3gvqwV2dTgQMvbymp6CHHRTC4,82
|
|
9
|
+
pulumi_kafka/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
+
pulumi_kafka/quota.py,sha256=3Ikb2o7BFYZAHMF5SBWTLK0Dp3mEOAQKDWI6ZuaHc04,19466
|
|
11
|
+
pulumi_kafka/topic.py,sha256=8KAI3Z7MRVEpcKymYCicIIghEbqfApSm_zyyxLJBYEw,20180
|
|
12
|
+
pulumi_kafka/user_scram_credential.py,sha256=o-0ZgAS10PVMhDXtH9fWastjEQbPeJTLnhg8zQ9QOAg,19422
|
|
13
|
+
pulumi_kafka/config/__init__.py,sha256=XWnQfVtc2oPapjSXXCdORFJvMpXt_SMJQASWdTRoPmc,296
|
|
14
|
+
pulumi_kafka/config/__init__.pyi,sha256=JBTJdM47PSCbGXLn705WDU_C38t1yai7sNzRFKLNgKY,3065
|
|
15
|
+
pulumi_kafka/config/vars.py,sha256=5QT45LI0nqE1J7Vv1M22La92wWcOAMBnFYQb1JRIzGc,6602
|
|
16
|
+
pulumi_kafka-3.13.0a1763619276.dist-info/METADATA,sha256=5lsA5oR1YsnoXt_ZHBNNP2ycHNQdrNaQAPK3X9JSQo4,3497
|
|
17
|
+
pulumi_kafka-3.13.0a1763619276.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
18
|
+
pulumi_kafka-3.13.0a1763619276.dist-info/top_level.txt,sha256=HCtqWX3HYffzpLjMDhzwthd93lraTV-_-aUkZQZOveU,13
|
|
19
|
+
pulumi_kafka-3.13.0a1763619276.dist-info/RECORD,,
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
pulumi_kafka/__init__.py,sha256=2fx2CAxtcoc4r8E5SweqzjqQVL5mEUcGPtuJ5SLqWWw,1372
|
|
2
|
-
pulumi_kafka/_utilities.py,sha256=aNnnaO6zRha3FhNHonuabR4fJLWGXANtK5dlh1Mz95k,10506
|
|
3
|
-
pulumi_kafka/acl.py,sha256=67ISvJXe7u6pUcvR8_dYIDR6h4NAgpgjXlnGsvWvCaU,23117
|
|
4
|
-
pulumi_kafka/get_topic.py,sha256=UnovEIQkLO1NMoNc-mXWSgMU2lWA7qP7njUz1zRCk-k,3652
|
|
5
|
-
pulumi_kafka/provider.py,sha256=bTvRWcrSisdk3sYYvrd7rCbnpuMY2B9N3uHU8szvrCg,30235
|
|
6
|
-
pulumi_kafka/pulumi-plugin.json,sha256=Vl6hV_GeihtegdJEykKMTlq_hGLq20WlEDIfrxMBjNw,81
|
|
7
|
-
pulumi_kafka/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
pulumi_kafka/quota.py,sha256=CRtx2NZ6HP_nQQ092Xj4RlHGRsR8E9HrFEfF7vWphSE,10434
|
|
9
|
-
pulumi_kafka/topic.py,sha256=9B3C7dXt7NzhgL8yKM5VU-SKQiawFgu34rw6-v03eP0,12547
|
|
10
|
-
pulumi_kafka/user_scram_credential.py,sha256=OfUziNCzMoyC8Giz4WuM5zUfEzrK-rubEm0E1OtzrhM,12363
|
|
11
|
-
pulumi_kafka/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
|
12
|
-
pulumi_kafka/config/__init__.pyi,sha256=L2IICMSkTOOs0yCaMOETI710z81q9Wm3jRfRpL8ZD_0,2145
|
|
13
|
-
pulumi_kafka/config/vars.py,sha256=pKLMqiDp8UL8VKiqWuIOBLlUzMSCAWRENm_MAnFZavQ,4499
|
|
14
|
-
pulumi_kafka-3.8.0a1723819820.dist-info/METADATA,sha256=BXkCOLCb2-giDTmCJe669E8FcweoIH5uoXLMnPvHQ9w,3430
|
|
15
|
-
pulumi_kafka-3.8.0a1723819820.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
|
16
|
-
pulumi_kafka-3.8.0a1723819820.dist-info/top_level.txt,sha256=HCtqWX3HYffzpLjMDhzwthd93lraTV-_-aUkZQZOveU,13
|
|
17
|
-
pulumi_kafka-3.8.0a1723819820.dist-info/RECORD,,
|
{pulumi_kafka-3.8.0a1723819820.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/top_level.txt
RENAMED
|
File without changes
|