pulumi-kafka 3.9.0a1736849387__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 +9 -5
- pulumi_kafka/acl.py +293 -242
- pulumi_kafka/config/__init__.py +2 -1
- pulumi_kafka/config/__init__.pyi +28 -4
- pulumi_kafka/config/vars.py +61 -27
- pulumi_kafka/get_topic.py +14 -14
- pulumi_kafka/get_topics.py +85 -0
- pulumi_kafka/outputs.py +71 -0
- pulumi_kafka/provider.py +369 -228
- pulumi_kafka/pulumi-plugin.json +1 -1
- pulumi_kafka/quota.py +289 -79
- pulumi_kafka/topic.py +261 -88
- pulumi_kafka/user_scram_credential.py +202 -87
- {pulumi_kafka-3.9.0a1736849387.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/METADATA +4 -4
- pulumi_kafka-3.13.0a1763619276.dist-info/RECORD +19 -0
- {pulumi_kafka-3.9.0a1736849387.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/WHEEL +1 -1
- pulumi_kafka-3.9.0a1736849387.dist-info/RECORD +0 -17
- {pulumi_kafka-3.9.0a1736849387.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
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
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,88 +19,132 @@ __all__ = ['UserScramCredentialArgs', 'UserScramCredential']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class UserScramCredentialArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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):
|
|
26
28
|
"""
|
|
27
29
|
The set of arguments for constructing a UserScramCredential resource.
|
|
28
|
-
:param pulumi.Input[str]
|
|
29
|
-
:param pulumi.Input[str]
|
|
30
|
-
:param pulumi.Input[str]
|
|
31
|
-
: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
|
|
32
37
|
"""
|
|
33
|
-
pulumi.set(__self__, "password", password)
|
|
34
38
|
pulumi.set(__self__, "scram_mechanism", scram_mechanism)
|
|
35
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)
|
|
36
46
|
if scram_iterations is not None:
|
|
37
47
|
pulumi.set(__self__, "scram_iterations", scram_iterations)
|
|
38
48
|
|
|
39
|
-
@property
|
|
40
|
-
@pulumi.getter
|
|
41
|
-
def password(self) -> pulumi.Input[str]:
|
|
42
|
-
"""
|
|
43
|
-
The password of the credential
|
|
44
|
-
"""
|
|
45
|
-
return pulumi.get(self, "password")
|
|
46
|
-
|
|
47
|
-
@password.setter
|
|
48
|
-
def password(self, value: pulumi.Input[str]):
|
|
49
|
-
pulumi.set(self, "password", value)
|
|
50
|
-
|
|
51
|
-
@property
|
|
49
|
+
@_builtins.property
|
|
52
50
|
@pulumi.getter(name="scramMechanism")
|
|
53
|
-
def scram_mechanism(self) -> pulumi.Input[str]:
|
|
51
|
+
def scram_mechanism(self) -> pulumi.Input[_builtins.str]:
|
|
54
52
|
"""
|
|
55
53
|
The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
56
54
|
"""
|
|
57
55
|
return pulumi.get(self, "scram_mechanism")
|
|
58
56
|
|
|
59
57
|
@scram_mechanism.setter
|
|
60
|
-
def scram_mechanism(self, value: pulumi.Input[str]):
|
|
58
|
+
def scram_mechanism(self, value: pulumi.Input[_builtins.str]):
|
|
61
59
|
pulumi.set(self, "scram_mechanism", value)
|
|
62
60
|
|
|
63
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
64
62
|
@pulumi.getter
|
|
65
|
-
def username(self) -> pulumi.Input[str]:
|
|
63
|
+
def username(self) -> pulumi.Input[_builtins.str]:
|
|
66
64
|
"""
|
|
67
65
|
The name of the credential
|
|
68
66
|
"""
|
|
69
67
|
return pulumi.get(self, "username")
|
|
70
68
|
|
|
71
69
|
@username.setter
|
|
72
|
-
def username(self, value: pulumi.Input[str]):
|
|
70
|
+
def username(self, value: pulumi.Input[_builtins.str]):
|
|
73
71
|
pulumi.set(self, "username", value)
|
|
74
72
|
|
|
75
|
-
@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
|
|
76
111
|
@pulumi.getter(name="scramIterations")
|
|
77
|
-
def scram_iterations(self) -> Optional[pulumi.Input[int]]:
|
|
112
|
+
def scram_iterations(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
78
113
|
"""
|
|
79
114
|
The number of SCRAM iterations used when generating the credential
|
|
80
115
|
"""
|
|
81
116
|
return pulumi.get(self, "scram_iterations")
|
|
82
117
|
|
|
83
118
|
@scram_iterations.setter
|
|
84
|
-
def scram_iterations(self, value: Optional[pulumi.Input[int]]):
|
|
119
|
+
def scram_iterations(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
85
120
|
pulumi.set(self, "scram_iterations", value)
|
|
86
121
|
|
|
87
122
|
|
|
88
123
|
@pulumi.input_type
|
|
89
124
|
class _UserScramCredentialState:
|
|
90
125
|
def __init__(__self__, *,
|
|
91
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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):
|
|
95
132
|
"""
|
|
96
133
|
Input properties used for looking up and filtering UserScramCredential resources.
|
|
97
|
-
:param pulumi.Input[str] password: The password of the credential
|
|
98
|
-
:param pulumi.Input[
|
|
99
|
-
|
|
100
|
-
: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
|
|
101
141
|
"""
|
|
102
142
|
if password is not None:
|
|
103
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)
|
|
104
148
|
if scram_iterations is not None:
|
|
105
149
|
pulumi.set(__self__, "scram_iterations", scram_iterations)
|
|
106
150
|
if scram_mechanism is not None:
|
|
@@ -108,73 +152,111 @@ class _UserScramCredentialState:
|
|
|
108
152
|
if username is not None:
|
|
109
153
|
pulumi.set(__self__, "username", username)
|
|
110
154
|
|
|
111
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
112
156
|
@pulumi.getter
|
|
113
|
-
def password(self) -> Optional[pulumi.Input[str]]:
|
|
157
|
+
def password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
114
158
|
"""
|
|
115
|
-
The password of the credential
|
|
159
|
+
The password of the credential (deprecated, use password_wo instead)
|
|
116
160
|
"""
|
|
117
161
|
return pulumi.get(self, "password")
|
|
118
162
|
|
|
119
163
|
@password.setter
|
|
120
|
-
def password(self, value: Optional[pulumi.Input[str]]):
|
|
164
|
+
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
121
165
|
pulumi.set(self, "password", value)
|
|
122
166
|
|
|
123
|
-
@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
|
|
124
193
|
@pulumi.getter(name="scramIterations")
|
|
125
|
-
def scram_iterations(self) -> Optional[pulumi.Input[int]]:
|
|
194
|
+
def scram_iterations(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
126
195
|
"""
|
|
127
196
|
The number of SCRAM iterations used when generating the credential
|
|
128
197
|
"""
|
|
129
198
|
return pulumi.get(self, "scram_iterations")
|
|
130
199
|
|
|
131
200
|
@scram_iterations.setter
|
|
132
|
-
def scram_iterations(self, value: Optional[pulumi.Input[int]]):
|
|
201
|
+
def scram_iterations(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
133
202
|
pulumi.set(self, "scram_iterations", value)
|
|
134
203
|
|
|
135
|
-
@property
|
|
204
|
+
@_builtins.property
|
|
136
205
|
@pulumi.getter(name="scramMechanism")
|
|
137
|
-
def scram_mechanism(self) -> Optional[pulumi.Input[str]]:
|
|
206
|
+
def scram_mechanism(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
138
207
|
"""
|
|
139
208
|
The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
140
209
|
"""
|
|
141
210
|
return pulumi.get(self, "scram_mechanism")
|
|
142
211
|
|
|
143
212
|
@scram_mechanism.setter
|
|
144
|
-
def scram_mechanism(self, value: Optional[pulumi.Input[str]]):
|
|
213
|
+
def scram_mechanism(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
145
214
|
pulumi.set(self, "scram_mechanism", value)
|
|
146
215
|
|
|
147
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
148
217
|
@pulumi.getter
|
|
149
|
-
def username(self) -> Optional[pulumi.Input[str]]:
|
|
218
|
+
def username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
150
219
|
"""
|
|
151
220
|
The name of the credential
|
|
152
221
|
"""
|
|
153
222
|
return pulumi.get(self, "username")
|
|
154
223
|
|
|
155
224
|
@username.setter
|
|
156
|
-
def username(self, value: Optional[pulumi.Input[str]]):
|
|
225
|
+
def username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
157
226
|
pulumi.set(self, "username", value)
|
|
158
227
|
|
|
159
228
|
|
|
229
|
+
@pulumi.type_token("kafka:index/userScramCredential:UserScramCredential")
|
|
160
230
|
class UserScramCredential(pulumi.CustomResource):
|
|
161
231
|
@overload
|
|
162
232
|
def __init__(__self__,
|
|
163
233
|
resource_name: str,
|
|
164
234
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
165
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
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,
|
|
169
241
|
__props__=None):
|
|
170
242
|
"""
|
|
171
|
-
|
|
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
|
+
|
|
172
251
|
:param str resource_name: The name of the resource.
|
|
173
252
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
174
|
-
:param pulumi.Input[str] password: The password of the credential
|
|
175
|
-
:param pulumi.Input[
|
|
176
|
-
|
|
177
|
-
: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
|
|
178
260
|
"""
|
|
179
261
|
...
|
|
180
262
|
@overload
|
|
@@ -183,7 +265,14 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
183
265
|
args: UserScramCredentialArgs,
|
|
184
266
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
185
267
|
"""
|
|
186
|
-
|
|
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
|
+
|
|
187
276
|
:param str resource_name: The name of the resource.
|
|
188
277
|
:param UserScramCredentialArgs args: The arguments to use to populate this resource's properties.
|
|
189
278
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -199,10 +288,12 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
199
288
|
def _internal_init(__self__,
|
|
200
289
|
resource_name: str,
|
|
201
290
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
202
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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,
|
|
206
297
|
__props__=None):
|
|
207
298
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
208
299
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -212,9 +303,9 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
212
303
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
213
304
|
__props__ = UserScramCredentialArgs.__new__(UserScramCredentialArgs)
|
|
214
305
|
|
|
215
|
-
if password is None and not opts.urn:
|
|
216
|
-
raise TypeError("Missing required property 'password'")
|
|
217
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
|
|
218
309
|
__props__.__dict__["scram_iterations"] = scram_iterations
|
|
219
310
|
if scram_mechanism is None and not opts.urn:
|
|
220
311
|
raise TypeError("Missing required property 'scram_mechanism'")
|
|
@@ -222,7 +313,7 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
222
313
|
if username is None and not opts.urn:
|
|
223
314
|
raise TypeError("Missing required property 'username'")
|
|
224
315
|
__props__.__dict__["username"] = username
|
|
225
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
316
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password", "passwordWo"])
|
|
226
317
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
227
318
|
super(UserScramCredential, __self__).__init__(
|
|
228
319
|
'kafka:index/userScramCredential:UserScramCredential',
|
|
@@ -234,10 +325,12 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
234
325
|
def get(resource_name: str,
|
|
235
326
|
id: pulumi.Input[str],
|
|
236
327
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
237
|
-
password: Optional[pulumi.Input[str]] = None,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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':
|
|
241
334
|
"""
|
|
242
335
|
Get an existing UserScramCredential resource's state with the given name, id, and optional extra
|
|
243
336
|
properties used to qualify the lookup.
|
|
@@ -245,48 +338,70 @@ class UserScramCredential(pulumi.CustomResource):
|
|
|
245
338
|
:param str resource_name: The unique name of the resulting resource.
|
|
246
339
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
247
340
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
248
|
-
:param pulumi.Input[str] password: The password of the credential
|
|
249
|
-
:param pulumi.Input[
|
|
250
|
-
|
|
251
|
-
: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
|
|
252
348
|
"""
|
|
253
349
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
254
350
|
|
|
255
351
|
__props__ = _UserScramCredentialState.__new__(_UserScramCredentialState)
|
|
256
352
|
|
|
257
353
|
__props__.__dict__["password"] = password
|
|
354
|
+
__props__.__dict__["password_wo"] = password_wo
|
|
355
|
+
__props__.__dict__["password_wo_version"] = password_wo_version
|
|
258
356
|
__props__.__dict__["scram_iterations"] = scram_iterations
|
|
259
357
|
__props__.__dict__["scram_mechanism"] = scram_mechanism
|
|
260
358
|
__props__.__dict__["username"] = username
|
|
261
359
|
return UserScramCredential(resource_name, opts=opts, __props__=__props__)
|
|
262
360
|
|
|
263
|
-
@property
|
|
361
|
+
@_builtins.property
|
|
264
362
|
@pulumi.getter
|
|
265
|
-
def password(self) -> pulumi.Output[str]:
|
|
363
|
+
def password(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
266
364
|
"""
|
|
267
|
-
The password of the credential
|
|
365
|
+
The password of the credential (deprecated, use password_wo instead)
|
|
268
366
|
"""
|
|
269
367
|
return pulumi.get(self, "password")
|
|
270
368
|
|
|
271
|
-
@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
|
|
272
387
|
@pulumi.getter(name="scramIterations")
|
|
273
|
-
def scram_iterations(self) -> pulumi.Output[Optional[int]]:
|
|
388
|
+
def scram_iterations(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
274
389
|
"""
|
|
275
390
|
The number of SCRAM iterations used when generating the credential
|
|
276
391
|
"""
|
|
277
392
|
return pulumi.get(self, "scram_iterations")
|
|
278
393
|
|
|
279
|
-
@property
|
|
394
|
+
@_builtins.property
|
|
280
395
|
@pulumi.getter(name="scramMechanism")
|
|
281
|
-
def scram_mechanism(self) -> pulumi.Output[str]:
|
|
396
|
+
def scram_mechanism(self) -> pulumi.Output[_builtins.str]:
|
|
282
397
|
"""
|
|
283
398
|
The SCRAM mechanism used to generate the credential (SCRAM-SHA-256, SCRAM-SHA-512)
|
|
284
399
|
"""
|
|
285
400
|
return pulumi.get(self, "scram_mechanism")
|
|
286
401
|
|
|
287
|
-
@property
|
|
402
|
+
@_builtins.property
|
|
288
403
|
@pulumi.getter
|
|
289
|
-
def username(self) -> pulumi.Output[str]:
|
|
404
|
+
def username(self) -> pulumi.Output[_builtins.str]:
|
|
290
405
|
"""
|
|
291
406
|
The name of the credential
|
|
292
407
|
"""
|
{pulumi_kafka-3.9.0a1736849387.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
@@ -9,9 +9,9 @@ Keywords: pulumi,kafka
|
|
|
9
9
|
Requires-Python: >=3.9
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
Requires-Dist: parver>=0.2.1
|
|
12
|
-
Requires-Dist: pulumi<4.0.0,>=3.
|
|
12
|
+
Requires-Dist: pulumi<4.0.0,>=3.165.0
|
|
13
13
|
Requires-Dist: semver>=2.8.1
|
|
14
|
-
Requires-Dist: typing-extensions
|
|
14
|
+
Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
|
|
15
15
|
|
|
16
16
|
[](https://github.com/pulumi/pulumi-kafka/actions)
|
|
17
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=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
|
|
3
|
-
pulumi_kafka/acl.py,sha256=klUDB6ZYLSIQQJ7sct7G6rEBqhBSaHRW7WmlrLGH8_g,23291
|
|
4
|
-
pulumi_kafka/get_topic.py,sha256=FvXO65SbBE6xpOMmTzkp9n420c-6fsrOKZuSVpzJ77o,4396
|
|
5
|
-
pulumi_kafka/provider.py,sha256=U6PgXSx4qe4x6DHY26_maTRyCzXYVOrSmG_PApSDl2A,34153
|
|
6
|
-
pulumi_kafka/pulumi-plugin.json,sha256=wbJeegu4G6KWPKZ_jFC31duLlYRv6tx8amMiN-dj7EU,81
|
|
7
|
-
pulumi_kafka/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
pulumi_kafka/quota.py,sha256=8hH-J-bL8a9nvLWgGN1ghjtC5Pjj3acQZQSJ8ZPmqO4,10608
|
|
9
|
-
pulumi_kafka/topic.py,sha256=SsT7pBToxrPfHPcykWXF14ouun_hN8In-Rdqfok4oHE,12721
|
|
10
|
-
pulumi_kafka/user_scram_credential.py,sha256=AF-ZxKp6UoKLErZeIXZy-SzCIk3uLV4YeI5K55qiBaU,12537
|
|
11
|
-
pulumi_kafka/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
|
12
|
-
pulumi_kafka/config/__init__.pyi,sha256=9Ot5LeNbjmLMI7K4-lyY1Ga2ucl0kJ0pRJrmNrK6LgI,2564
|
|
13
|
-
pulumi_kafka/config/vars.py,sha256=RCk693NGnygdIDyiyhKlXIy5fmq_XhWzgT3Lsu2-UEQ,5237
|
|
14
|
-
pulumi_kafka-3.9.0a1736849387.dist-info/METADATA,sha256=A2IoV8RoAcNd7vyRg2PwonXSPzKehIt2I217fUMbhpw,3493
|
|
15
|
-
pulumi_kafka-3.9.0a1736849387.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
16
|
-
pulumi_kafka-3.9.0a1736849387.dist-info/top_level.txt,sha256=HCtqWX3HYffzpLjMDhzwthd93lraTV-_-aUkZQZOveU,13
|
|
17
|
-
pulumi_kafka-3.9.0a1736849387.dist-info/RECORD,,
|
{pulumi_kafka-3.9.0a1736849387.dist-info → pulumi_kafka-3.13.0a1763619276.dist-info}/top_level.txt
RENAMED
|
File without changes
|