pulumi-vault 5.21.0a1709368526__py3-none-any.whl → 6.5.0a1736836139__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.
Files changed (229) hide show
  1. pulumi_vault/__init__.py +52 -0
  2. pulumi_vault/_inputs.py +560 -0
  3. pulumi_vault/_utilities.py +41 -5
  4. pulumi_vault/ad/get_access_credentials.py +26 -9
  5. pulumi_vault/ad/secret_backend.py +16 -142
  6. pulumi_vault/ad/secret_library.py +16 -9
  7. pulumi_vault/ad/secret_role.py +14 -9
  8. pulumi_vault/alicloud/auth_backend_role.py +76 -190
  9. pulumi_vault/approle/auth_backend_login.py +12 -7
  10. pulumi_vault/approle/auth_backend_role.py +77 -191
  11. pulumi_vault/approle/auth_backend_role_secret_id.py +106 -7
  12. pulumi_vault/approle/get_auth_backend_role_id.py +18 -5
  13. pulumi_vault/audit.py +30 -21
  14. pulumi_vault/audit_request_header.py +11 -2
  15. pulumi_vault/auth_backend.py +66 -14
  16. pulumi_vault/aws/auth_backend_cert.py +18 -9
  17. pulumi_vault/aws/auth_backend_client.py +267 -22
  18. pulumi_vault/aws/auth_backend_config_identity.py +14 -9
  19. pulumi_vault/aws/auth_backend_identity_whitelist.py +20 -15
  20. pulumi_vault/aws/auth_backend_login.py +19 -22
  21. pulumi_vault/aws/auth_backend_role.py +77 -191
  22. pulumi_vault/aws/auth_backend_role_tag.py +12 -7
  23. pulumi_vault/aws/auth_backend_roletag_blacklist.py +18 -13
  24. pulumi_vault/aws/auth_backend_sts_role.py +14 -9
  25. pulumi_vault/aws/get_access_credentials.py +38 -9
  26. pulumi_vault/aws/get_static_access_credentials.py +19 -5
  27. pulumi_vault/aws/secret_backend.py +77 -9
  28. pulumi_vault/aws/secret_backend_role.py +185 -9
  29. pulumi_vault/aws/secret_backend_static_role.py +20 -11
  30. pulumi_vault/azure/_inputs.py +24 -0
  31. pulumi_vault/azure/auth_backend_config.py +153 -15
  32. pulumi_vault/azure/auth_backend_role.py +77 -191
  33. pulumi_vault/azure/backend.py +227 -21
  34. pulumi_vault/azure/backend_role.py +42 -37
  35. pulumi_vault/azure/get_access_credentials.py +41 -7
  36. pulumi_vault/azure/outputs.py +5 -0
  37. pulumi_vault/cert_auth_backend_role.py +87 -267
  38. pulumi_vault/config/__init__.pyi +5 -0
  39. pulumi_vault/config/_inputs.py +73 -0
  40. pulumi_vault/config/outputs.py +35 -0
  41. pulumi_vault/config/ui_custom_message.py +529 -0
  42. pulumi_vault/config/vars.py +5 -0
  43. pulumi_vault/consul/secret_backend.py +28 -19
  44. pulumi_vault/consul/secret_backend_role.py +18 -78
  45. pulumi_vault/database/_inputs.py +2770 -881
  46. pulumi_vault/database/outputs.py +721 -838
  47. pulumi_vault/database/secret_backend_connection.py +119 -112
  48. pulumi_vault/database/secret_backend_role.py +31 -22
  49. pulumi_vault/database/secret_backend_static_role.py +87 -13
  50. pulumi_vault/database/secrets_mount.py +427 -136
  51. pulumi_vault/egp_policy.py +16 -11
  52. pulumi_vault/gcp/_inputs.py +111 -0
  53. pulumi_vault/gcp/auth_backend.py +250 -33
  54. pulumi_vault/gcp/auth_backend_role.py +77 -269
  55. pulumi_vault/gcp/get_auth_backend_role.py +43 -5
  56. pulumi_vault/gcp/outputs.py +5 -0
  57. pulumi_vault/gcp/secret_backend.py +287 -12
  58. pulumi_vault/gcp/secret_impersonated_account.py +76 -15
  59. pulumi_vault/gcp/secret_roleset.py +31 -24
  60. pulumi_vault/gcp/secret_static_account.py +39 -32
  61. pulumi_vault/generic/endpoint.py +24 -17
  62. pulumi_vault/generic/get_secret.py +64 -8
  63. pulumi_vault/generic/secret.py +21 -16
  64. pulumi_vault/get_auth_backend.py +24 -7
  65. pulumi_vault/get_auth_backends.py +51 -9
  66. pulumi_vault/get_namespace.py +226 -0
  67. pulumi_vault/get_namespaces.py +153 -0
  68. pulumi_vault/get_nomad_access_token.py +31 -11
  69. pulumi_vault/get_policy_document.py +34 -19
  70. pulumi_vault/get_raft_autopilot_state.py +29 -10
  71. pulumi_vault/github/_inputs.py +55 -0
  72. pulumi_vault/github/auth_backend.py +19 -14
  73. pulumi_vault/github/outputs.py +5 -0
  74. pulumi_vault/github/team.py +16 -11
  75. pulumi_vault/github/user.py +16 -11
  76. pulumi_vault/identity/entity.py +20 -13
  77. pulumi_vault/identity/entity_alias.py +20 -13
  78. pulumi_vault/identity/entity_policies.py +28 -11
  79. pulumi_vault/identity/get_entity.py +42 -10
  80. pulumi_vault/identity/get_group.py +47 -9
  81. pulumi_vault/identity/get_oidc_client_creds.py +21 -7
  82. pulumi_vault/identity/get_oidc_openid_config.py +39 -9
  83. pulumi_vault/identity/get_oidc_public_keys.py +29 -10
  84. pulumi_vault/identity/group.py +58 -39
  85. pulumi_vault/identity/group_alias.py +16 -9
  86. pulumi_vault/identity/group_member_entity_ids.py +28 -66
  87. pulumi_vault/identity/group_member_group_ids.py +40 -19
  88. pulumi_vault/identity/group_policies.py +20 -7
  89. pulumi_vault/identity/mfa_duo.py +11 -6
  90. pulumi_vault/identity/mfa_login_enforcement.py +15 -6
  91. pulumi_vault/identity/mfa_okta.py +11 -6
  92. pulumi_vault/identity/mfa_pingid.py +7 -2
  93. pulumi_vault/identity/mfa_totp.py +7 -2
  94. pulumi_vault/identity/oidc.py +12 -7
  95. pulumi_vault/identity/oidc_assignment.py +24 -11
  96. pulumi_vault/identity/oidc_client.py +36 -23
  97. pulumi_vault/identity/oidc_key.py +30 -17
  98. pulumi_vault/identity/oidc_key_allowed_client_id.py +28 -15
  99. pulumi_vault/identity/oidc_provider.py +36 -21
  100. pulumi_vault/identity/oidc_role.py +42 -21
  101. pulumi_vault/identity/oidc_scope.py +20 -13
  102. pulumi_vault/identity/outputs.py +8 -3
  103. pulumi_vault/jwt/_inputs.py +55 -0
  104. pulumi_vault/jwt/auth_backend.py +45 -40
  105. pulumi_vault/jwt/auth_backend_role.py +133 -254
  106. pulumi_vault/jwt/outputs.py +5 -0
  107. pulumi_vault/kmip/secret_backend.py +24 -19
  108. pulumi_vault/kmip/secret_role.py +14 -9
  109. pulumi_vault/kmip/secret_scope.py +14 -9
  110. pulumi_vault/kubernetes/auth_backend_config.py +57 -5
  111. pulumi_vault/kubernetes/auth_backend_role.py +70 -177
  112. pulumi_vault/kubernetes/get_auth_backend_config.py +60 -8
  113. pulumi_vault/kubernetes/get_auth_backend_role.py +40 -5
  114. pulumi_vault/kubernetes/get_service_account_token.py +39 -11
  115. pulumi_vault/kubernetes/secret_backend.py +316 -27
  116. pulumi_vault/kubernetes/secret_backend_role.py +137 -46
  117. pulumi_vault/kv/_inputs.py +36 -4
  118. pulumi_vault/kv/get_secret.py +25 -8
  119. pulumi_vault/kv/get_secret_subkeys_v2.py +33 -10
  120. pulumi_vault/kv/get_secret_v2.py +85 -9
  121. pulumi_vault/kv/get_secrets_list.py +24 -11
  122. pulumi_vault/kv/get_secrets_list_v2.py +37 -15
  123. pulumi_vault/kv/outputs.py +8 -3
  124. pulumi_vault/kv/secret.py +23 -16
  125. pulumi_vault/kv/secret_backend_v2.py +20 -11
  126. pulumi_vault/kv/secret_v2.py +59 -50
  127. pulumi_vault/ldap/auth_backend.py +127 -166
  128. pulumi_vault/ldap/auth_backend_group.py +14 -9
  129. pulumi_vault/ldap/auth_backend_user.py +14 -9
  130. pulumi_vault/ldap/get_dynamic_credentials.py +23 -5
  131. pulumi_vault/ldap/get_static_credentials.py +24 -5
  132. pulumi_vault/ldap/secret_backend.py +354 -82
  133. pulumi_vault/ldap/secret_backend_dynamic_role.py +18 -11
  134. pulumi_vault/ldap/secret_backend_library_set.py +16 -9
  135. pulumi_vault/ldap/secret_backend_static_role.py +73 -12
  136. pulumi_vault/managed/_inputs.py +289 -132
  137. pulumi_vault/managed/keys.py +29 -57
  138. pulumi_vault/managed/outputs.py +89 -132
  139. pulumi_vault/mfa_duo.py +18 -11
  140. pulumi_vault/mfa_okta.py +18 -11
  141. pulumi_vault/mfa_pingid.py +18 -11
  142. pulumi_vault/mfa_totp.py +24 -17
  143. pulumi_vault/mongodbatlas/secret_backend.py +20 -15
  144. pulumi_vault/mongodbatlas/secret_role.py +47 -38
  145. pulumi_vault/mount.py +391 -51
  146. pulumi_vault/namespace.py +68 -83
  147. pulumi_vault/nomad_secret_backend.py +18 -13
  148. pulumi_vault/nomad_secret_role.py +14 -9
  149. pulumi_vault/okta/_inputs.py +47 -8
  150. pulumi_vault/okta/auth_backend.py +485 -39
  151. pulumi_vault/okta/auth_backend_group.py +14 -9
  152. pulumi_vault/okta/auth_backend_user.py +14 -9
  153. pulumi_vault/okta/outputs.py +13 -8
  154. pulumi_vault/outputs.py +5 -0
  155. pulumi_vault/password_policy.py +20 -13
  156. pulumi_vault/pkisecret/__init__.py +3 -0
  157. pulumi_vault/pkisecret/_inputs.py +81 -0
  158. pulumi_vault/pkisecret/backend_config_cluster.py +369 -0
  159. pulumi_vault/pkisecret/backend_config_est.py +619 -0
  160. pulumi_vault/pkisecret/get_backend_config_est.py +251 -0
  161. pulumi_vault/pkisecret/get_backend_issuer.py +67 -9
  162. pulumi_vault/pkisecret/get_backend_issuers.py +21 -8
  163. pulumi_vault/pkisecret/get_backend_key.py +24 -9
  164. pulumi_vault/pkisecret/get_backend_keys.py +21 -8
  165. pulumi_vault/pkisecret/outputs.py +69 -0
  166. pulumi_vault/pkisecret/secret_backend_cert.py +18 -11
  167. pulumi_vault/pkisecret/secret_backend_config_ca.py +16 -11
  168. pulumi_vault/pkisecret/secret_backend_config_issuers.py +14 -9
  169. pulumi_vault/pkisecret/secret_backend_config_urls.py +67 -11
  170. pulumi_vault/pkisecret/secret_backend_crl_config.py +14 -9
  171. pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +16 -11
  172. pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +22 -17
  173. pulumi_vault/pkisecret/secret_backend_issuer.py +14 -9
  174. pulumi_vault/pkisecret/secret_backend_key.py +14 -9
  175. pulumi_vault/pkisecret/secret_backend_role.py +21 -14
  176. pulumi_vault/pkisecret/secret_backend_root_cert.py +16 -48
  177. pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +18 -56
  178. pulumi_vault/pkisecret/secret_backend_sign.py +18 -54
  179. pulumi_vault/plugin.py +595 -0
  180. pulumi_vault/plugin_pinned_version.py +298 -0
  181. pulumi_vault/policy.py +14 -9
  182. pulumi_vault/provider.py +48 -53
  183. pulumi_vault/pulumi-plugin.json +2 -1
  184. pulumi_vault/quota_lease_count.py +60 -6
  185. pulumi_vault/quota_rate_limit.py +56 -2
  186. pulumi_vault/rabbitmq/_inputs.py +61 -0
  187. pulumi_vault/rabbitmq/outputs.py +5 -0
  188. pulumi_vault/rabbitmq/secret_backend.py +18 -13
  189. pulumi_vault/rabbitmq/secret_backend_role.py +54 -47
  190. pulumi_vault/raft_autopilot.py +14 -9
  191. pulumi_vault/raft_snapshot_agent_config.py +129 -224
  192. pulumi_vault/rgp_policy.py +14 -9
  193. pulumi_vault/saml/auth_backend.py +22 -17
  194. pulumi_vault/saml/auth_backend_role.py +92 -197
  195. pulumi_vault/secrets/__init__.py +3 -0
  196. pulumi_vault/secrets/_inputs.py +110 -0
  197. pulumi_vault/secrets/outputs.py +94 -0
  198. pulumi_vault/secrets/sync_association.py +56 -71
  199. pulumi_vault/secrets/sync_aws_destination.py +242 -27
  200. pulumi_vault/secrets/sync_azure_destination.py +92 -31
  201. pulumi_vault/secrets/sync_config.py +9 -4
  202. pulumi_vault/secrets/sync_gcp_destination.py +158 -25
  203. pulumi_vault/secrets/sync_gh_destination.py +189 -13
  204. pulumi_vault/secrets/sync_github_apps.py +375 -0
  205. pulumi_vault/secrets/sync_vercel_destination.py +74 -13
  206. pulumi_vault/ssh/_inputs.py +28 -28
  207. pulumi_vault/ssh/outputs.py +11 -28
  208. pulumi_vault/ssh/secret_backend_ca.py +108 -9
  209. pulumi_vault/ssh/secret_backend_role.py +85 -118
  210. pulumi_vault/terraformcloud/secret_backend.py +7 -54
  211. pulumi_vault/terraformcloud/secret_creds.py +14 -20
  212. pulumi_vault/terraformcloud/secret_role.py +16 -74
  213. pulumi_vault/token.py +28 -23
  214. pulumi_vault/tokenauth/auth_backend_role.py +78 -199
  215. pulumi_vault/transform/alphabet.py +16 -9
  216. pulumi_vault/transform/get_decode.py +45 -17
  217. pulumi_vault/transform/get_encode.py +45 -17
  218. pulumi_vault/transform/role.py +16 -9
  219. pulumi_vault/transform/template.py +30 -21
  220. pulumi_vault/transform/transformation.py +12 -7
  221. pulumi_vault/transit/get_decrypt.py +26 -21
  222. pulumi_vault/transit/get_encrypt.py +24 -19
  223. pulumi_vault/transit/secret_backend_key.py +27 -93
  224. pulumi_vault/transit/secret_cache_config.py +12 -7
  225. {pulumi_vault-5.21.0a1709368526.dist-info → pulumi_vault-6.5.0a1736836139.dist-info}/METADATA +8 -7
  226. pulumi_vault-6.5.0a1736836139.dist-info/RECORD +256 -0
  227. {pulumi_vault-5.21.0a1709368526.dist-info → pulumi_vault-6.5.0a1736836139.dist-info}/WHEEL +1 -1
  228. pulumi_vault-5.21.0a1709368526.dist-info/RECORD +0 -244
  229. {pulumi_vault-5.21.0a1709368526.dist-info → pulumi_vault-6.5.0a1736836139.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
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__ = ['AlphabetArgs', 'Alphabet']
@@ -25,7 +30,7 @@ class AlphabetArgs:
25
30
  :param pulumi.Input[str] name: The name of the alphabet.
26
31
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
27
32
  The value should not contain leading or trailing forward slashes.
28
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
33
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
29
34
  *Available only for Vault Enterprise*.
30
35
  """
31
36
  pulumi.set(__self__, "path", path)
@@ -78,7 +83,7 @@ class AlphabetArgs:
78
83
  """
79
84
  The namespace to provision the resource in.
80
85
  The value should not contain leading or trailing forward slashes.
81
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
86
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
82
87
  *Available only for Vault Enterprise*.
83
88
  """
84
89
  return pulumi.get(self, "namespace")
@@ -101,7 +106,7 @@ class _AlphabetState:
101
106
  :param pulumi.Input[str] name: The name of the alphabet.
102
107
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
103
108
  The value should not contain leading or trailing forward slashes.
104
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
109
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
105
110
  *Available only for Vault Enterprise*.
106
111
  :param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
107
112
  """
@@ -144,7 +149,7 @@ class _AlphabetState:
144
149
  """
145
150
  The namespace to provision the resource in.
146
151
  The value should not contain leading or trailing forward slashes.
147
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
152
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
148
153
  *Available only for Vault Enterprise*.
149
154
  """
150
155
  return pulumi.get(self, "namespace")
@@ -187,11 +192,12 @@ class Alphabet(pulumi.CustomResource):
187
192
  import pulumi
188
193
  import pulumi_vault as vault
189
194
 
190
- mount_transform = vault.Mount("mountTransform",
195
+ mount_transform = vault.Mount("mount_transform",
191
196
  path="transform",
192
197
  type="transform")
193
198
  test = vault.transform.Alphabet("test",
194
199
  path=mount_transform.path,
200
+ name="numerics",
195
201
  alphabet="0123456789")
196
202
  ```
197
203
 
@@ -201,7 +207,7 @@ class Alphabet(pulumi.CustomResource):
201
207
  :param pulumi.Input[str] name: The name of the alphabet.
202
208
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
203
209
  The value should not contain leading or trailing forward slashes.
204
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
210
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
205
211
  *Available only for Vault Enterprise*.
206
212
  :param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
207
213
  """
@@ -222,11 +228,12 @@ class Alphabet(pulumi.CustomResource):
222
228
  import pulumi
223
229
  import pulumi_vault as vault
224
230
 
225
- mount_transform = vault.Mount("mountTransform",
231
+ mount_transform = vault.Mount("mount_transform",
226
232
  path="transform",
227
233
  type="transform")
228
234
  test = vault.transform.Alphabet("test",
229
235
  path=mount_transform.path,
236
+ name="numerics",
230
237
  alphabet="0123456789")
231
238
  ```
232
239
 
@@ -289,7 +296,7 @@ class Alphabet(pulumi.CustomResource):
289
296
  :param pulumi.Input[str] name: The name of the alphabet.
290
297
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
291
298
  The value should not contain leading or trailing forward slashes.
292
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
299
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
293
300
  *Available only for Vault Enterprise*.
294
301
  :param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
295
302
  """
@@ -325,7 +332,7 @@ class Alphabet(pulumi.CustomResource):
325
332
  """
326
333
  The namespace to provision the resource in.
327
334
  The value should not contain leading or trailing forward slashes.
328
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
335
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
329
336
  *Available only for Vault Enterprise*.
330
337
  """
331
338
  return pulumi.get(self, "namespace")
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
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__ = [
@@ -55,12 +60,12 @@ class GetDecodeResult:
55
60
 
56
61
  @property
57
62
  @pulumi.getter(name="batchInputs")
58
- def batch_inputs(self) -> Optional[Sequence[Mapping[str, Any]]]:
63
+ def batch_inputs(self) -> Optional[Sequence[Mapping[str, str]]]:
59
64
  return pulumi.get(self, "batch_inputs")
60
65
 
61
66
  @property
62
67
  @pulumi.getter(name="batchResults")
63
- def batch_results(self) -> Sequence[Mapping[str, Any]]:
68
+ def batch_results(self) -> Sequence[Mapping[str, str]]:
64
69
  return pulumi.get(self, "batch_results")
65
70
 
66
71
  @property
@@ -125,8 +130,8 @@ class AwaitableGetDecodeResult(GetDecodeResult):
125
130
  value=self.value)
126
131
 
127
132
 
128
- def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
129
- batch_results: Optional[Sequence[Mapping[str, Any]]] = None,
133
+ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
134
+ batch_results: Optional[Sequence[Mapping[str, str]]] = None,
130
135
  decoded_value: Optional[str] = None,
131
136
  namespace: Optional[str] = None,
132
137
  path: Optional[str] = None,
@@ -151,12 +156,14 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
151
156
  type="transform")
152
157
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
153
158
  path=transform.path,
159
+ name="ccn-fpe",
154
160
  type="fpe",
155
161
  template="builtin/creditcardnumber",
156
162
  tweak_source="internal",
157
163
  allowed_roles=["payments"])
158
164
  payments = vault.transform.Role("payments",
159
165
  path=ccn_fpe.path,
166
+ name="payments",
160
167
  transformations=["ccn-fpe"])
161
168
  test = vault.transform.get_decode_output(path=payments.path,
162
169
  role_name="payments",
@@ -164,12 +171,12 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
164
171
  ```
165
172
 
166
173
 
167
- :param Sequence[Mapping[str, Any]] batch_inputs: Specifies a list of items to be decoded in a single batch. If this parameter is set, the top-level parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
168
- :param Sequence[Mapping[str, Any]] batch_results: The result of decoding a batch.
174
+ :param Sequence[Mapping[str, str]] batch_inputs: Specifies a list of items to be decoded in a single batch. If this parameter is set, the top-level parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
175
+ :param Sequence[Mapping[str, str]] batch_results: The result of decoding a batch.
169
176
  :param str decoded_value: The result of decoding a value.
170
177
  :param str namespace: The namespace of the target resource.
171
178
  The value should not contain leading or trailing forward slashes.
172
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
179
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
173
180
  *Available only for Vault Enterprise*.
174
181
  :param str path: Path to where the back-end is mounted within Vault.
175
182
  :param str role_name: The name of the role.
@@ -201,11 +208,8 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
201
208
  transformation=pulumi.get(__ret__, 'transformation'),
202
209
  tweak=pulumi.get(__ret__, 'tweak'),
203
210
  value=pulumi.get(__ret__, 'value'))
204
-
205
-
206
- @_utilities.lift_output_func(get_decode)
207
- def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapping[str, Any]]]]] = None,
208
- batch_results: Optional[pulumi.Input[Optional[Sequence[Mapping[str, Any]]]]] = None,
211
+ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapping[str, str]]]]] = None,
212
+ batch_results: Optional[pulumi.Input[Optional[Sequence[Mapping[str, str]]]]] = None,
209
213
  decoded_value: Optional[pulumi.Input[Optional[str]]] = None,
210
214
  namespace: Optional[pulumi.Input[Optional[str]]] = None,
211
215
  path: Optional[pulumi.Input[str]] = None,
@@ -213,7 +217,7 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
213
217
  transformation: Optional[pulumi.Input[Optional[str]]] = None,
214
218
  tweak: Optional[pulumi.Input[Optional[str]]] = None,
215
219
  value: Optional[pulumi.Input[Optional[str]]] = None,
216
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDecodeResult]:
220
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDecodeResult]:
217
221
  """
218
222
  This data source supports the "/transform/decode/{role_name}" Vault endpoint.
219
223
 
@@ -230,12 +234,14 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
230
234
  type="transform")
231
235
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
232
236
  path=transform.path,
237
+ name="ccn-fpe",
233
238
  type="fpe",
234
239
  template="builtin/creditcardnumber",
235
240
  tweak_source="internal",
236
241
  allowed_roles=["payments"])
237
242
  payments = vault.transform.Role("payments",
238
243
  path=ccn_fpe.path,
244
+ name="payments",
239
245
  transformations=["ccn-fpe"])
240
246
  test = vault.transform.get_decode_output(path=payments.path,
241
247
  role_name="payments",
@@ -243,12 +249,12 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
243
249
  ```
244
250
 
245
251
 
246
- :param Sequence[Mapping[str, Any]] batch_inputs: Specifies a list of items to be decoded in a single batch. If this parameter is set, the top-level parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
247
- :param Sequence[Mapping[str, Any]] batch_results: The result of decoding a batch.
252
+ :param Sequence[Mapping[str, str]] batch_inputs: Specifies a list of items to be decoded in a single batch. If this parameter is set, the top-level parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
253
+ :param Sequence[Mapping[str, str]] batch_results: The result of decoding a batch.
248
254
  :param str decoded_value: The result of decoding a value.
249
255
  :param str namespace: The namespace of the target resource.
250
256
  The value should not contain leading or trailing forward slashes.
251
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
257
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
252
258
  *Available only for Vault Enterprise*.
253
259
  :param str path: Path to where the back-end is mounted within Vault.
254
260
  :param str role_name: The name of the role.
@@ -256,4 +262,26 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
256
262
  :param str tweak: The tweak value to use. Only applicable for FPE transformations
257
263
  :param str value: The value in which to decode.
258
264
  """
259
- ...
265
+ __args__ = dict()
266
+ __args__['batchInputs'] = batch_inputs
267
+ __args__['batchResults'] = batch_results
268
+ __args__['decodedValue'] = decoded_value
269
+ __args__['namespace'] = namespace
270
+ __args__['path'] = path
271
+ __args__['roleName'] = role_name
272
+ __args__['transformation'] = transformation
273
+ __args__['tweak'] = tweak
274
+ __args__['value'] = value
275
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
276
+ __ret__ = pulumi.runtime.invoke_output('vault:transform/getDecode:getDecode', __args__, opts=opts, typ=GetDecodeResult)
277
+ return __ret__.apply(lambda __response__: GetDecodeResult(
278
+ batch_inputs=pulumi.get(__response__, 'batch_inputs'),
279
+ batch_results=pulumi.get(__response__, 'batch_results'),
280
+ decoded_value=pulumi.get(__response__, 'decoded_value'),
281
+ id=pulumi.get(__response__, 'id'),
282
+ namespace=pulumi.get(__response__, 'namespace'),
283
+ path=pulumi.get(__response__, 'path'),
284
+ role_name=pulumi.get(__response__, 'role_name'),
285
+ transformation=pulumi.get(__response__, 'transformation'),
286
+ tweak=pulumi.get(__response__, 'tweak'),
287
+ value=pulumi.get(__response__, 'value')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
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__ = [
@@ -55,12 +60,12 @@ class GetEncodeResult:
55
60
 
56
61
  @property
57
62
  @pulumi.getter(name="batchInputs")
58
- def batch_inputs(self) -> Optional[Sequence[Mapping[str, Any]]]:
63
+ def batch_inputs(self) -> Optional[Sequence[Mapping[str, str]]]:
59
64
  return pulumi.get(self, "batch_inputs")
60
65
 
61
66
  @property
62
67
  @pulumi.getter(name="batchResults")
63
- def batch_results(self) -> Sequence[Mapping[str, Any]]:
68
+ def batch_results(self) -> Sequence[Mapping[str, str]]:
64
69
  return pulumi.get(self, "batch_results")
65
70
 
66
71
  @property
@@ -125,8 +130,8 @@ class AwaitableGetEncodeResult(GetEncodeResult):
125
130
  value=self.value)
126
131
 
127
132
 
128
- def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
129
- batch_results: Optional[Sequence[Mapping[str, Any]]] = None,
133
+ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
134
+ batch_results: Optional[Sequence[Mapping[str, str]]] = None,
130
135
  encoded_value: Optional[str] = None,
131
136
  namespace: Optional[str] = None,
132
137
  path: Optional[str] = None,
@@ -151,12 +156,14 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
151
156
  type="transform")
152
157
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
153
158
  path=transform.path,
159
+ name="ccn-fpe",
154
160
  type="fpe",
155
161
  template="builtin/creditcardnumber",
156
162
  tweak_source="internal",
157
163
  allowed_roles=["payments"])
158
164
  payments = vault.transform.Role("payments",
159
165
  path=ccn_fpe.path,
166
+ name="payments",
160
167
  transformations=["ccn-fpe"])
161
168
  test = vault.transform.get_encode_output(path=payments.path,
162
169
  role_name="payments",
@@ -166,12 +173,12 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
166
173
  ```
167
174
 
168
175
 
169
- :param Sequence[Mapping[str, Any]] batch_inputs: Specifies a list of items to be encoded in a single batch. If this parameter is set, the parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
170
- :param Sequence[Mapping[str, Any]] batch_results: The result of encoding a batch.
176
+ :param Sequence[Mapping[str, str]] batch_inputs: Specifies a list of items to be encoded in a single batch. If this parameter is set, the parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
177
+ :param Sequence[Mapping[str, str]] batch_results: The result of encoding a batch.
171
178
  :param str encoded_value: The result of encoding a value.
172
179
  :param str namespace: The namespace of the target resource.
173
180
  The value should not contain leading or trailing forward slashes.
174
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
181
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
175
182
  *Available only for Vault Enterprise*.
176
183
  :param str path: Path to where the back-end is mounted within Vault.
177
184
  :param str role_name: The name of the role.
@@ -203,11 +210,8 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
203
210
  transformation=pulumi.get(__ret__, 'transformation'),
204
211
  tweak=pulumi.get(__ret__, 'tweak'),
205
212
  value=pulumi.get(__ret__, 'value'))
206
-
207
-
208
- @_utilities.lift_output_func(get_encode)
209
- def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapping[str, Any]]]]] = None,
210
- batch_results: Optional[pulumi.Input[Optional[Sequence[Mapping[str, Any]]]]] = None,
213
+ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapping[str, str]]]]] = None,
214
+ batch_results: Optional[pulumi.Input[Optional[Sequence[Mapping[str, str]]]]] = None,
211
215
  encoded_value: Optional[pulumi.Input[Optional[str]]] = None,
212
216
  namespace: Optional[pulumi.Input[Optional[str]]] = None,
213
217
  path: Optional[pulumi.Input[str]] = None,
@@ -215,7 +219,7 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
215
219
  transformation: Optional[pulumi.Input[Optional[str]]] = None,
216
220
  tweak: Optional[pulumi.Input[Optional[str]]] = None,
217
221
  value: Optional[pulumi.Input[Optional[str]]] = None,
218
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEncodeResult]:
222
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEncodeResult]:
219
223
  """
220
224
  This data source supports the "/transform/encode/{role_name}" Vault endpoint.
221
225
 
@@ -232,12 +236,14 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
232
236
  type="transform")
233
237
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
234
238
  path=transform.path,
239
+ name="ccn-fpe",
235
240
  type="fpe",
236
241
  template="builtin/creditcardnumber",
237
242
  tweak_source="internal",
238
243
  allowed_roles=["payments"])
239
244
  payments = vault.transform.Role("payments",
240
245
  path=ccn_fpe.path,
246
+ name="payments",
241
247
  transformations=["ccn-fpe"])
242
248
  test = vault.transform.get_encode_output(path=payments.path,
243
249
  role_name="payments",
@@ -247,12 +253,12 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
247
253
  ```
248
254
 
249
255
 
250
- :param Sequence[Mapping[str, Any]] batch_inputs: Specifies a list of items to be encoded in a single batch. If this parameter is set, the parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
251
- :param Sequence[Mapping[str, Any]] batch_results: The result of encoding a batch.
256
+ :param Sequence[Mapping[str, str]] batch_inputs: Specifies a list of items to be encoded in a single batch. If this parameter is set, the parameters 'value', 'transformation' and 'tweak' will be ignored. Each batch item within the list can specify these parameters instead.
257
+ :param Sequence[Mapping[str, str]] batch_results: The result of encoding a batch.
252
258
  :param str encoded_value: The result of encoding a value.
253
259
  :param str namespace: The namespace of the target resource.
254
260
  The value should not contain leading or trailing forward slashes.
255
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
261
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
256
262
  *Available only for Vault Enterprise*.
257
263
  :param str path: Path to where the back-end is mounted within Vault.
258
264
  :param str role_name: The name of the role.
@@ -260,4 +266,26 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
260
266
  :param str tweak: The tweak value to use. Only applicable for FPE transformations
261
267
  :param str value: The value in which to encode.
262
268
  """
263
- ...
269
+ __args__ = dict()
270
+ __args__['batchInputs'] = batch_inputs
271
+ __args__['batchResults'] = batch_results
272
+ __args__['encodedValue'] = encoded_value
273
+ __args__['namespace'] = namespace
274
+ __args__['path'] = path
275
+ __args__['roleName'] = role_name
276
+ __args__['transformation'] = transformation
277
+ __args__['tweak'] = tweak
278
+ __args__['value'] = value
279
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
280
+ __ret__ = pulumi.runtime.invoke_output('vault:transform/getEncode:getEncode', __args__, opts=opts, typ=GetEncodeResult)
281
+ return __ret__.apply(lambda __response__: GetEncodeResult(
282
+ batch_inputs=pulumi.get(__response__, 'batch_inputs'),
283
+ batch_results=pulumi.get(__response__, 'batch_results'),
284
+ encoded_value=pulumi.get(__response__, 'encoded_value'),
285
+ id=pulumi.get(__response__, 'id'),
286
+ namespace=pulumi.get(__response__, 'namespace'),
287
+ path=pulumi.get(__response__, 'path'),
288
+ role_name=pulumi.get(__response__, 'role_name'),
289
+ transformation=pulumi.get(__response__, 'transformation'),
290
+ tweak=pulumi.get(__response__, 'tweak'),
291
+ value=pulumi.get(__response__, 'value')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
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__ = ['RoleArgs', 'Role']
@@ -24,7 +29,7 @@ class RoleArgs:
24
29
  :param pulumi.Input[str] name: The name of the role.
25
30
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
26
31
  The value should not contain leading or trailing forward slashes.
27
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
32
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
28
33
  *Available only for Vault Enterprise*.
29
34
  :param pulumi.Input[Sequence[pulumi.Input[str]]] transformations: A comma separated string or slice of transformations to use.
30
35
  """
@@ -66,7 +71,7 @@ class RoleArgs:
66
71
  """
67
72
  The namespace to provision the resource in.
68
73
  The value should not contain leading or trailing forward slashes.
69
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
74
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
70
75
  *Available only for Vault Enterprise*.
71
76
  """
72
77
  return pulumi.get(self, "namespace")
@@ -100,7 +105,7 @@ class _RoleState:
100
105
  :param pulumi.Input[str] name: The name of the role.
101
106
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
102
107
  The value should not contain leading or trailing forward slashes.
103
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
108
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
104
109
  *Available only for Vault Enterprise*.
105
110
  :param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
106
111
  :param pulumi.Input[Sequence[pulumi.Input[str]]] transformations: A comma separated string or slice of transformations to use.
@@ -132,7 +137,7 @@ class _RoleState:
132
137
  """
133
138
  The namespace to provision the resource in.
134
139
  The value should not contain leading or trailing forward slashes.
135
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
140
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
136
141
  *Available only for Vault Enterprise*.
137
142
  """
138
143
  return pulumi.get(self, "namespace")
@@ -188,11 +193,12 @@ class Role(pulumi.CustomResource):
188
193
  import pulumi
189
194
  import pulumi_vault as vault
190
195
 
191
- mount_transform = vault.Mount("mountTransform",
196
+ mount_transform = vault.Mount("mount_transform",
192
197
  path="transform",
193
198
  type="transform")
194
199
  test = vault.transform.Role("test",
195
200
  path=mount_transform.path,
201
+ name="payments",
196
202
  transformations=["ccn-fpe"])
197
203
  ```
198
204
 
@@ -201,7 +207,7 @@ class Role(pulumi.CustomResource):
201
207
  :param pulumi.Input[str] name: The name of the role.
202
208
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
203
209
  The value should not contain leading or trailing forward slashes.
204
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
210
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
205
211
  *Available only for Vault Enterprise*.
206
212
  :param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
207
213
  :param pulumi.Input[Sequence[pulumi.Input[str]]] transformations: A comma separated string or slice of transformations to use.
@@ -224,11 +230,12 @@ class Role(pulumi.CustomResource):
224
230
  import pulumi
225
231
  import pulumi_vault as vault
226
232
 
227
- mount_transform = vault.Mount("mountTransform",
233
+ mount_transform = vault.Mount("mount_transform",
228
234
  path="transform",
229
235
  type="transform")
230
236
  test = vault.transform.Role("test",
231
237
  path=mount_transform.path,
238
+ name="payments",
232
239
  transformations=["ccn-fpe"])
233
240
  ```
234
241
 
@@ -290,7 +297,7 @@ class Role(pulumi.CustomResource):
290
297
  :param pulumi.Input[str] name: The name of the role.
291
298
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
292
299
  The value should not contain leading or trailing forward slashes.
293
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
300
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
294
301
  *Available only for Vault Enterprise*.
295
302
  :param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
296
303
  :param pulumi.Input[Sequence[pulumi.Input[str]]] transformations: A comma separated string or slice of transformations to use.
@@ -319,7 +326,7 @@ class Role(pulumi.CustomResource):
319
326
  """
320
327
  The namespace to provision the resource in.
321
328
  The value should not contain leading or trailing forward slashes.
322
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
329
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
323
330
  *Available only for Vault Enterprise*.
324
331
  """
325
332
  return pulumi.get(self, "namespace")