pulumi-postgresql 3.17.0a1759906077__tar.gz → 3.17.0a1766297919__tar.gz

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.
Files changed (39) hide show
  1. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/PKG-INFO +1 -1
  2. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/pulumi-plugin.json +1 -1
  3. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/role.py +69 -1
  4. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/PKG-INFO +1 -1
  5. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pyproject.toml +1 -1
  6. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/README.md +0 -0
  7. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/__init__.py +0 -0
  8. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/_inputs.py +0 -0
  9. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/_utilities.py +0 -0
  10. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/__init__.py +0 -0
  11. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/__init__.pyi +0 -0
  12. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/outputs.py +0 -0
  13. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/vars.py +0 -0
  14. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/database.py +0 -0
  15. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/default_privileg.py +0 -0
  16. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/default_privileges.py +0 -0
  17. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/extension.py +0 -0
  18. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/function.py +0 -0
  19. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/get_schemas.py +0 -0
  20. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/get_sequences.py +0 -0
  21. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/get_tables.py +0 -0
  22. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/grant.py +0 -0
  23. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/grant_role.py +0 -0
  24. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/outputs.py +0 -0
  25. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/physical_replication_slot.py +0 -0
  26. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/provider.py +0 -0
  27. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/publication.py +0 -0
  28. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/py.typed +0 -0
  29. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/replication_slot.py +0 -0
  30. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/schema.py +0 -0
  31. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/security_label.py +0 -0
  32. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/server.py +0 -0
  33. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/subscription.py +0 -0
  34. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/user_mapping.py +0 -0
  35. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/SOURCES.txt +0 -0
  36. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/dependency_links.txt +0 -0
  37. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/requires.txt +0 -0
  38. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/top_level.txt +0 -0
  39. {pulumi_postgresql-3.17.0a1759906077 → pulumi_postgresql-3.17.0a1766297919}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_postgresql
3
- Version: 3.17.0a1759906077
3
+ Version: 3.17.0a1766297919
4
4
  Summary: A Pulumi package for creating and managing postgresql cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "postgresql",
4
- "version": "3.17.0-alpha.1759906077"
4
+ "version": "3.17.0-alpha.1766297919"
5
5
  }
@@ -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]]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_postgresql
3
- Version: 3.17.0a1759906077
3
+ Version: 3.17.0a1766297919
4
4
  Summary: A Pulumi package for creating and managing postgresql cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -5,7 +5,7 @@
5
5
  keywords = ["pulumi", "postgresql"]
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.9"
8
- version = "3.17.0a1759906077"
8
+ version = "3.17.0a1766297919"
9
9
  [project.license]
10
10
  text = "Apache-2.0"
11
11
  [project.urls]