pulumi-postgresql 3.17.0a1757718349__py3-none-any.whl → 3.17.0a1768025506__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_postgresql/pulumi-plugin.json +1 -1
- pulumi_postgresql/role.py +69 -1
- {pulumi_postgresql-3.17.0a1757718349.dist-info → pulumi_postgresql-3.17.0a1768025506.dist-info}/METADATA +1 -1
- {pulumi_postgresql-3.17.0a1757718349.dist-info → pulumi_postgresql-3.17.0a1768025506.dist-info}/RECORD +6 -6
- {pulumi_postgresql-3.17.0a1757718349.dist-info → pulumi_postgresql-3.17.0a1768025506.dist-info}/WHEEL +0 -0
- {pulumi_postgresql-3.17.0a1757718349.dist-info → pulumi_postgresql-3.17.0a1768025506.dist-info}/top_level.txt +0 -0
pulumi_postgresql/role.py
CHANGED
|
@@ -31,6 +31,7 @@ class RoleArgs:
|
|
|
31
31
|
login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
32
32
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
33
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
35
|
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
36
|
replication: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
36
37
|
roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -68,6 +69,10 @@ class RoleArgs:
|
|
|
68
69
|
server instance where it is configured.
|
|
69
70
|
:param pulumi.Input[_builtins.str] password: Sets the role's password. A password is only of use
|
|
70
71
|
for roles having the `login` attribute set to true.
|
|
72
|
+
: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.
|
|
73
|
+
Sets the role's password without storing it in the state file.
|
|
74
|
+
This is useful for managing passwords securely. Must be used together with `password_wo_version`.
|
|
75
|
+
Conflicts with `password`.
|
|
71
76
|
:param pulumi.Input[_builtins.str] password_wo_version: Prevents applies from updating the role password on every
|
|
72
77
|
apply unless the value changes. This version string should be updated whenever you want to
|
|
73
78
|
change the password specified in `password_wo`. Must be used together with `password_wo`.
|
|
@@ -131,6 +136,8 @@ class RoleArgs:
|
|
|
131
136
|
pulumi.set(__self__, "name", name)
|
|
132
137
|
if password is not None:
|
|
133
138
|
pulumi.set(__self__, "password", password)
|
|
139
|
+
if password_wo is not None:
|
|
140
|
+
pulumi.set(__self__, "password_wo", password_wo)
|
|
134
141
|
if password_wo_version is not None:
|
|
135
142
|
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
|
136
143
|
if replication is not None:
|
|
@@ -307,6 +314,21 @@ class RoleArgs:
|
|
|
307
314
|
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
308
315
|
pulumi.set(self, "password", value)
|
|
309
316
|
|
|
317
|
+
@_builtins.property
|
|
318
|
+
@pulumi.getter(name="passwordWo")
|
|
319
|
+
def password_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
320
|
+
"""
|
|
321
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
322
|
+
Sets the role's password without storing it in the state file.
|
|
323
|
+
This is useful for managing passwords securely. Must be used together with `password_wo_version`.
|
|
324
|
+
Conflicts with `password`.
|
|
325
|
+
"""
|
|
326
|
+
return pulumi.get(self, "password_wo")
|
|
327
|
+
|
|
328
|
+
@password_wo.setter
|
|
329
|
+
def password_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
330
|
+
pulumi.set(self, "password_wo", value)
|
|
331
|
+
|
|
310
332
|
@_builtins.property
|
|
311
333
|
@pulumi.getter(name="passwordWoVersion")
|
|
312
334
|
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -457,6 +479,7 @@ class _RoleState:
|
|
|
457
479
|
login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
458
480
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
481
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
482
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
460
483
|
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
461
484
|
replication: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
462
485
|
roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -494,6 +517,10 @@ class _RoleState:
|
|
|
494
517
|
server instance where it is configured.
|
|
495
518
|
:param pulumi.Input[_builtins.str] password: Sets the role's password. A password is only of use
|
|
496
519
|
for roles having the `login` attribute set to true.
|
|
520
|
+
: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.
|
|
521
|
+
Sets the role's password without storing it in the state file.
|
|
522
|
+
This is useful for managing passwords securely. Must be used together with `password_wo_version`.
|
|
523
|
+
Conflicts with `password`.
|
|
497
524
|
:param pulumi.Input[_builtins.str] password_wo_version: Prevents applies from updating the role password on every
|
|
498
525
|
apply unless the value changes. This version string should be updated whenever you want to
|
|
499
526
|
change the password specified in `password_wo`. Must be used together with `password_wo`.
|
|
@@ -557,6 +584,8 @@ class _RoleState:
|
|
|
557
584
|
pulumi.set(__self__, "name", name)
|
|
558
585
|
if password is not None:
|
|
559
586
|
pulumi.set(__self__, "password", password)
|
|
587
|
+
if password_wo is not None:
|
|
588
|
+
pulumi.set(__self__, "password_wo", password_wo)
|
|
560
589
|
if password_wo_version is not None:
|
|
561
590
|
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
|
562
591
|
if replication is not None:
|
|
@@ -733,6 +762,21 @@ class _RoleState:
|
|
|
733
762
|
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
734
763
|
pulumi.set(self, "password", value)
|
|
735
764
|
|
|
765
|
+
@_builtins.property
|
|
766
|
+
@pulumi.getter(name="passwordWo")
|
|
767
|
+
def password_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
768
|
+
"""
|
|
769
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
770
|
+
Sets the role's password without storing it in the state file.
|
|
771
|
+
This is useful for managing passwords securely. Must be used together with `password_wo_version`.
|
|
772
|
+
Conflicts with `password`.
|
|
773
|
+
"""
|
|
774
|
+
return pulumi.get(self, "password_wo")
|
|
775
|
+
|
|
776
|
+
@password_wo.setter
|
|
777
|
+
def password_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
778
|
+
pulumi.set(self, "password_wo", value)
|
|
779
|
+
|
|
736
780
|
@_builtins.property
|
|
737
781
|
@pulumi.getter(name="passwordWoVersion")
|
|
738
782
|
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -886,6 +930,7 @@ class Role(pulumi.CustomResource):
|
|
|
886
930
|
login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
887
931
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
888
932
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
933
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
889
934
|
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
890
935
|
replication: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
891
936
|
roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -926,6 +971,10 @@ class Role(pulumi.CustomResource):
|
|
|
926
971
|
server instance where it is configured.
|
|
927
972
|
:param pulumi.Input[_builtins.str] password: Sets the role's password. A password is only of use
|
|
928
973
|
for roles having the `login` attribute set to true.
|
|
974
|
+
: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.
|
|
975
|
+
Sets the role's password without storing it in the state file.
|
|
976
|
+
This is useful for managing passwords securely. Must be used together with `password_wo_version`.
|
|
977
|
+
Conflicts with `password`.
|
|
929
978
|
:param pulumi.Input[_builtins.str] password_wo_version: Prevents applies from updating the role password on every
|
|
930
979
|
apply unless the value changes. This version string should be updated whenever you want to
|
|
931
980
|
change the password specified in `password_wo`. Must be used together with `password_wo`.
|
|
@@ -997,6 +1046,7 @@ class Role(pulumi.CustomResource):
|
|
|
997
1046
|
login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
998
1047
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
999
1048
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1049
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1000
1050
|
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1001
1051
|
replication: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1002
1052
|
roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -1027,6 +1077,7 @@ class Role(pulumi.CustomResource):
|
|
|
1027
1077
|
__props__.__dict__["login"] = login
|
|
1028
1078
|
__props__.__dict__["name"] = name
|
|
1029
1079
|
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
1080
|
+
__props__.__dict__["password_wo"] = None if password_wo is None else pulumi.Output.secret(password_wo)
|
|
1030
1081
|
__props__.__dict__["password_wo_version"] = password_wo_version
|
|
1031
1082
|
__props__.__dict__["replication"] = replication
|
|
1032
1083
|
__props__.__dict__["roles"] = roles
|
|
@@ -1036,7 +1087,7 @@ class Role(pulumi.CustomResource):
|
|
|
1036
1087
|
__props__.__dict__["statement_timeout"] = statement_timeout
|
|
1037
1088
|
__props__.__dict__["superuser"] = superuser
|
|
1038
1089
|
__props__.__dict__["valid_until"] = valid_until
|
|
1039
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
1090
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password", "passwordWo"])
|
|
1040
1091
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
1041
1092
|
super(Role, __self__).__init__(
|
|
1042
1093
|
'postgresql:index/role:Role',
|
|
@@ -1060,6 +1111,7 @@ class Role(pulumi.CustomResource):
|
|
|
1060
1111
|
login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1061
1112
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1062
1113
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1114
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1063
1115
|
password_wo_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1064
1116
|
replication: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1065
1117
|
roles: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
@@ -1102,6 +1154,10 @@ class Role(pulumi.CustomResource):
|
|
|
1102
1154
|
server instance where it is configured.
|
|
1103
1155
|
:param pulumi.Input[_builtins.str] password: Sets the role's password. A password is only of use
|
|
1104
1156
|
for roles having the `login` attribute set to true.
|
|
1157
|
+
: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.
|
|
1158
|
+
Sets the role's password without storing it in the state file.
|
|
1159
|
+
This is useful for managing passwords securely. Must be used together with `password_wo_version`.
|
|
1160
|
+
Conflicts with `password`.
|
|
1105
1161
|
:param pulumi.Input[_builtins.str] password_wo_version: Prevents applies from updating the role password on every
|
|
1106
1162
|
apply unless the value changes. This version string should be updated whenever you want to
|
|
1107
1163
|
change the password specified in `password_wo`. Must be used together with `password_wo`.
|
|
@@ -1154,6 +1210,7 @@ class Role(pulumi.CustomResource):
|
|
|
1154
1210
|
__props__.__dict__["login"] = login
|
|
1155
1211
|
__props__.__dict__["name"] = name
|
|
1156
1212
|
__props__.__dict__["password"] = password
|
|
1213
|
+
__props__.__dict__["password_wo"] = password_wo
|
|
1157
1214
|
__props__.__dict__["password_wo_version"] = password_wo_version
|
|
1158
1215
|
__props__.__dict__["replication"] = replication
|
|
1159
1216
|
__props__.__dict__["roles"] = roles
|
|
@@ -1274,6 +1331,17 @@ class Role(pulumi.CustomResource):
|
|
|
1274
1331
|
"""
|
|
1275
1332
|
return pulumi.get(self, "password")
|
|
1276
1333
|
|
|
1334
|
+
@_builtins.property
|
|
1335
|
+
@pulumi.getter(name="passwordWo")
|
|
1336
|
+
def password_wo(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1337
|
+
"""
|
|
1338
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
1339
|
+
Sets the role's password without storing it in the state file.
|
|
1340
|
+
This is useful for managing passwords securely. Must be used together with `password_wo_version`.
|
|
1341
|
+
Conflicts with `password`.
|
|
1342
|
+
"""
|
|
1343
|
+
return pulumi.get(self, "password_wo")
|
|
1344
|
+
|
|
1277
1345
|
@_builtins.property
|
|
1278
1346
|
@pulumi.getter(name="passwordWoVersion")
|
|
1279
1347
|
def password_wo_version(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
@@ -15,10 +15,10 @@ pulumi_postgresql/outputs.py,sha256=szku9Gpj4yS1uvD00_RGC2AL0zt7ykpKBbgQ5-ritlo,
|
|
|
15
15
|
pulumi_postgresql/physical_replication_slot.py,sha256=mvt_GaH9dYtMcJACo-RRtCOf3RFFWPCrq2jCTSAdwM4,6858
|
|
16
16
|
pulumi_postgresql/provider.py,sha256=YB6PaaHm0KqJK0LQamanbc2v4j3VNb5BYBp4IOxAEhs,33937
|
|
17
17
|
pulumi_postgresql/publication.py,sha256=Whhv8ygEoTJPlFdENxuPtbsqviQabvCXaBkmZVk5xSc,25039
|
|
18
|
-
pulumi_postgresql/pulumi-plugin.json,sha256=
|
|
18
|
+
pulumi_postgresql/pulumi-plugin.json,sha256=naW7FXgfwgShx1TuoIx_mcWv5di-LF5wuYmtpqN2_XI,87
|
|
19
19
|
pulumi_postgresql/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
pulumi_postgresql/replication_slot.py,sha256=ZsXQBYVvWLhQl3zROMh4GgKF9lbZCZgcflmGUm4kKvs,10468
|
|
21
|
-
pulumi_postgresql/role.py,sha256=
|
|
21
|
+
pulumi_postgresql/role.py,sha256=MIOwleQNfHkWo1WcXCxEjIHkFUMpX_UxWKwh8xxL1fo,79899
|
|
22
22
|
pulumi_postgresql/schema.py,sha256=1AAjJMpLWY0lB7b8YsbRKehd9F_0kSa4L-5pYuvdn94,19263
|
|
23
23
|
pulumi_postgresql/security_label.py,sha256=G9k3g3SQfCFVSOFZBCopcEDokPtMZVBCLxJFNbCSMhY,14961
|
|
24
24
|
pulumi_postgresql/server.py,sha256=r8H8SMs-xDH1HIA-mjJhI3n8BQF9zZDoLJzuOPrvEYI,26341
|
|
@@ -28,7 +28,7 @@ pulumi_postgresql/config/__init__.py,sha256=XWnQfVtc2oPapjSXXCdORFJvMpXt_SMJQASW
|
|
|
28
28
|
pulumi_postgresql/config/__init__.pyi,sha256=IjNhoeqT8eHkLRONieOYkquzJIzbC0Drq_NwR-UNr2s,2858
|
|
29
29
|
pulumi_postgresql/config/outputs.py,sha256=CiKRcvQ5cfoxCEkNIMPUdrBfxqsH6Ne6UrV0dHfuakg,2053
|
|
30
30
|
pulumi_postgresql/config/vars.py,sha256=h56r53g1O9nXZFghDLAVk6Gs0fjFe56wmEw1RttqOLk,5479
|
|
31
|
-
pulumi_postgresql-3.17.
|
|
32
|
-
pulumi_postgresql-3.17.
|
|
33
|
-
pulumi_postgresql-3.17.
|
|
34
|
-
pulumi_postgresql-3.17.
|
|
31
|
+
pulumi_postgresql-3.17.0a1768025506.dist-info/METADATA,sha256=BV1WXM1j5zudfyw7gmfbrZDzSQC9UhfrrbRjr7agSv4,5633
|
|
32
|
+
pulumi_postgresql-3.17.0a1768025506.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
33
|
+
pulumi_postgresql-3.17.0a1768025506.dist-info/top_level.txt,sha256=d2cNTDXZC0TSZeAPk9rTC_TOSUyi1dZtNCPCB5DT5dY,18
|
|
34
|
+
pulumi_postgresql-3.17.0a1768025506.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|