pulumi-vault 6.2.0a1713339773__py3-none-any.whl → 6.2.0a1713905519__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 (180) hide show
  1. pulumi_vault/_inputs.py +0 -20
  2. pulumi_vault/ad/secret_backend.py +2 -6
  3. pulumi_vault/ad/secret_library.py +2 -4
  4. pulumi_vault/ad/secret_role.py +0 -4
  5. pulumi_vault/alicloud/auth_backend_role.py +69 -192
  6. pulumi_vault/approle/auth_backend_login.py +0 -4
  7. pulumi_vault/approle/auth_backend_role.py +63 -186
  8. pulumi_vault/approle/auth_backend_role_secret_id.py +0 -4
  9. pulumi_vault/approle/get_auth_backend_role_id.py +0 -4
  10. pulumi_vault/audit.py +12 -20
  11. pulumi_vault/audit_request_header.py +6 -6
  12. pulumi_vault/aws/auth_backend_client.py +6 -10
  13. pulumi_vault/aws/auth_backend_config_identity.py +0 -4
  14. pulumi_vault/aws/auth_backend_identity_whitelist.py +6 -10
  15. pulumi_vault/aws/auth_backend_role.py +63 -186
  16. pulumi_vault/aws/auth_backend_roletag_blacklist.py +6 -10
  17. pulumi_vault/aws/auth_backend_sts_role.py +0 -4
  18. pulumi_vault/aws/secret_backend_role.py +2 -4
  19. pulumi_vault/aws/secret_backend_static_role.py +2 -4
  20. pulumi_vault/azure/auth_backend_config.py +6 -10
  21. pulumi_vault/azure/auth_backend_role.py +63 -186
  22. pulumi_vault/azure/backend.py +16 -24
  23. pulumi_vault/azure/backend_role.py +14 -18
  24. pulumi_vault/azure/get_access_credentials.py +0 -4
  25. pulumi_vault/cert_auth_backend_role.py +75 -208
  26. pulumi_vault/consul/secret_backend.py +10 -18
  27. pulumi_vault/consul/secret_backend_role.py +2 -4
  28. pulumi_vault/database/_inputs.py +522 -784
  29. pulumi_vault/database/outputs.py +522 -784
  30. pulumi_vault/database/secret_backend_connection.py +2 -4
  31. pulumi_vault/database/secret_backend_role.py +4 -4
  32. pulumi_vault/database/secret_backend_static_role.py +10 -8
  33. pulumi_vault/database/secrets_mount.py +4 -4
  34. pulumi_vault/egp_policy.py +4 -8
  35. pulumi_vault/gcp/auth_backend.py +0 -36
  36. pulumi_vault/gcp/auth_backend_role.py +63 -264
  37. pulumi_vault/gcp/get_auth_backend_role.py +0 -4
  38. pulumi_vault/gcp/secret_backend.py +4 -6
  39. pulumi_vault/gcp/secret_impersonated_account.py +12 -14
  40. pulumi_vault/gcp/secret_roleset.py +4 -6
  41. pulumi_vault/gcp/secret_static_account.py +14 -16
  42. pulumi_vault/generic/endpoint.py +4 -8
  43. pulumi_vault/generic/get_secret.py +40 -4
  44. pulumi_vault/get_auth_backend.py +0 -4
  45. pulumi_vault/get_auth_backends.py +0 -8
  46. pulumi_vault/get_namespace.py +0 -12
  47. pulumi_vault/get_namespaces.py +4 -12
  48. pulumi_vault/get_nomad_access_token.py +0 -4
  49. pulumi_vault/get_policy_document.py +8 -8
  50. pulumi_vault/get_raft_autopilot_state.py +0 -4
  51. pulumi_vault/github/auth_backend.py +0 -4
  52. pulumi_vault/github/team.py +2 -6
  53. pulumi_vault/github/user.py +2 -6
  54. pulumi_vault/identity/entity.py +6 -8
  55. pulumi_vault/identity/entity_alias.py +6 -8
  56. pulumi_vault/identity/entity_policies.py +12 -12
  57. pulumi_vault/identity/get_entity.py +0 -4
  58. pulumi_vault/identity/get_group.py +0 -4
  59. pulumi_vault/identity/get_oidc_client_creds.py +2 -4
  60. pulumi_vault/identity/get_oidc_openid_config.py +10 -6
  61. pulumi_vault/identity/get_oidc_public_keys.py +10 -6
  62. pulumi_vault/identity/group.py +38 -42
  63. pulumi_vault/identity/group_alias.py +2 -4
  64. pulumi_vault/identity/group_member_entity_ids.py +12 -16
  65. pulumi_vault/identity/group_member_group_ids.py +24 -20
  66. pulumi_vault/identity/group_policies.py +4 -8
  67. pulumi_vault/identity/mfa_duo.py +4 -8
  68. pulumi_vault/identity/mfa_login_enforcement.py +8 -8
  69. pulumi_vault/identity/mfa_okta.py +4 -8
  70. pulumi_vault/identity/mfa_pingid.py +0 -4
  71. pulumi_vault/identity/mfa_totp.py +0 -4
  72. pulumi_vault/identity/oidc.py +0 -4
  73. pulumi_vault/identity/oidc_assignment.py +10 -6
  74. pulumi_vault/identity/oidc_client.py +10 -10
  75. pulumi_vault/identity/oidc_key.py +16 -12
  76. pulumi_vault/identity/oidc_key_allowed_client_id.py +16 -12
  77. pulumi_vault/identity/oidc_provider.py +22 -16
  78. pulumi_vault/identity/oidc_role.py +28 -20
  79. pulumi_vault/identity/oidc_scope.py +6 -8
  80. pulumi_vault/jwt/auth_backend.py +20 -32
  81. pulumi_vault/jwt/auth_backend_role.py +63 -190
  82. pulumi_vault/kmip/secret_backend.py +10 -14
  83. pulumi_vault/kmip/secret_role.py +0 -4
  84. pulumi_vault/kmip/secret_scope.py +0 -4
  85. pulumi_vault/kubernetes/auth_backend_config.py +0 -4
  86. pulumi_vault/kubernetes/auth_backend_role.py +56 -172
  87. pulumi_vault/kubernetes/get_service_account_token.py +8 -8
  88. pulumi_vault/kubernetes/secret_backend.py +6 -8
  89. pulumi_vault/kubernetes/secret_backend_role.py +24 -24
  90. pulumi_vault/kv/get_secret.py +0 -4
  91. pulumi_vault/kv/get_secret_subkeys_v2.py +4 -6
  92. pulumi_vault/kv/get_secret_v2.py +58 -0
  93. pulumi_vault/kv/get_secrets_list.py +4 -8
  94. pulumi_vault/kv/get_secrets_list_v2.py +14 -12
  95. pulumi_vault/kv/secret.py +0 -4
  96. pulumi_vault/kv/secret_backend_v2.py +0 -4
  97. pulumi_vault/kv/secret_v2.py +2 -4
  98. pulumi_vault/ldap/auth_backend.py +66 -161
  99. pulumi_vault/ldap/auth_backend_group.py +0 -4
  100. pulumi_vault/ldap/auth_backend_user.py +0 -4
  101. pulumi_vault/ldap/secret_backend.py +4 -8
  102. pulumi_vault/ldap/secret_backend_dynamic_role.py +0 -4
  103. pulumi_vault/ldap/secret_backend_library_set.py +2 -4
  104. pulumi_vault/ldap/secret_backend_static_role.py +0 -4
  105. pulumi_vault/managed/_inputs.py +84 -132
  106. pulumi_vault/managed/keys.py +7 -28
  107. pulumi_vault/managed/outputs.py +84 -132
  108. pulumi_vault/mfa_duo.py +4 -6
  109. pulumi_vault/mfa_okta.py +4 -6
  110. pulumi_vault/mfa_pingid.py +4 -6
  111. pulumi_vault/mfa_totp.py +10 -12
  112. pulumi_vault/mongodbatlas/secret_backend.py +0 -4
  113. pulumi_vault/mongodbatlas/secret_role.py +2 -4
  114. pulumi_vault/mount.py +26 -42
  115. pulumi_vault/nomad_secret_backend.py +4 -8
  116. pulumi_vault/nomad_secret_role.py +0 -4
  117. pulumi_vault/okta/_inputs.py +8 -8
  118. pulumi_vault/okta/auth_backend.py +6 -10
  119. pulumi_vault/okta/auth_backend_group.py +0 -4
  120. pulumi_vault/okta/auth_backend_user.py +0 -4
  121. pulumi_vault/okta/outputs.py +8 -8
  122. pulumi_vault/outputs.py +0 -20
  123. pulumi_vault/password_policy.py +6 -8
  124. pulumi_vault/pkisecret/backend_config_cluster.py +0 -4
  125. pulumi_vault/pkisecret/get_backend_issuer.py +36 -0
  126. pulumi_vault/pkisecret/get_backend_issuers.py +0 -4
  127. pulumi_vault/pkisecret/get_backend_key.py +2 -6
  128. pulumi_vault/pkisecret/get_backend_keys.py +0 -4
  129. pulumi_vault/pkisecret/secret_backend_cert.py +6 -8
  130. pulumi_vault/pkisecret/secret_backend_config_ca.py +4 -8
  131. pulumi_vault/pkisecret/secret_backend_config_issuers.py +0 -4
  132. pulumi_vault/pkisecret/secret_backend_config_urls.py +0 -4
  133. pulumi_vault/pkisecret/secret_backend_crl_config.py +2 -6
  134. pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +4 -8
  135. pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +10 -14
  136. pulumi_vault/pkisecret/secret_backend_issuer.py +0 -4
  137. pulumi_vault/pkisecret/secret_backend_role.py +2 -4
  138. pulumi_vault/pkisecret/secret_backend_root_cert.py +4 -8
  139. pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +6 -10
  140. pulumi_vault/pkisecret/secret_backend_sign.py +6 -8
  141. pulumi_vault/quota_lease_count.py +6 -8
  142. pulumi_vault/quota_rate_limit.py +2 -4
  143. pulumi_vault/rabbitmq/secret_backend.py +4 -8
  144. pulumi_vault/rabbitmq/secret_backend_role.py +2 -4
  145. pulumi_vault/raft_autopilot.py +0 -4
  146. pulumi_vault/raft_snapshot_agent_config.py +109 -304
  147. pulumi_vault/rgp_policy.py +2 -6
  148. pulumi_vault/saml/auth_backend.py +8 -12
  149. pulumi_vault/saml/auth_backend_role.py +64 -178
  150. pulumi_vault/secrets/sync_association.py +12 -10
  151. pulumi_vault/secrets/sync_aws_destination.py +6 -8
  152. pulumi_vault/secrets/sync_azure_destination.py +10 -12
  153. pulumi_vault/secrets/sync_config.py +2 -6
  154. pulumi_vault/secrets/sync_gcp_destination.py +6 -6
  155. pulumi_vault/secrets/sync_gh_destination.py +6 -8
  156. pulumi_vault/secrets/sync_github_apps.py +8 -8
  157. pulumi_vault/secrets/sync_vercel_destination.py +6 -8
  158. pulumi_vault/ssh/_inputs.py +6 -32
  159. pulumi_vault/ssh/outputs.py +6 -32
  160. pulumi_vault/ssh/secret_backend_ca.py +0 -4
  161. pulumi_vault/ssh/secret_backend_role.py +4 -4
  162. pulumi_vault/terraformcloud/secret_backend.py +0 -4
  163. pulumi_vault/terraformcloud/secret_creds.py +2 -4
  164. pulumi_vault/terraformcloud/secret_role.py +2 -4
  165. pulumi_vault/token.py +14 -18
  166. pulumi_vault/tokenauth/auth_backend_role.py +64 -180
  167. pulumi_vault/transform/alphabet.py +4 -6
  168. pulumi_vault/transform/get_decode.py +4 -4
  169. pulumi_vault/transform/get_encode.py +4 -4
  170. pulumi_vault/transform/role.py +4 -6
  171. pulumi_vault/transform/template.py +4 -4
  172. pulumi_vault/transit/get_decrypt.py +4 -20
  173. pulumi_vault/transit/get_encrypt.py +0 -14
  174. pulumi_vault/transit/secret_backend_key.py +6 -6
  175. pulumi_vault/transit/secret_cache_config.py +0 -4
  176. {pulumi_vault-6.2.0a1713339773.dist-info → pulumi_vault-6.2.0a1713905519.dist-info}/METADATA +1 -1
  177. pulumi_vault-6.2.0a1713905519.dist-info/RECORD +252 -0
  178. pulumi_vault-6.2.0a1713339773.dist-info/RECORD +0 -252
  179. {pulumi_vault-6.2.0a1713339773.dist-info → pulumi_vault-6.2.0a1713905519.dist-info}/WHEEL +0 -0
  180. {pulumi_vault-6.2.0a1713339773.dist-info → pulumi_vault-6.2.0a1713905519.dist-info}/top_level.txt +0 -0
@@ -183,19 +183,18 @@ class Alphabet(pulumi.CustomResource):
183
183
 
184
184
  ## Example Usage
185
185
 
186
- <!--Start PulumiCodeChooser -->
187
186
  ```python
188
187
  import pulumi
189
188
  import pulumi_vault as vault
190
189
 
191
- mount_transform = vault.Mount("mountTransform",
190
+ mount_transform = vault.Mount("mount_transform",
192
191
  path="transform",
193
192
  type="transform")
194
193
  test = vault.transform.Alphabet("test",
195
194
  path=mount_transform.path,
195
+ name="numerics",
196
196
  alphabet="0123456789")
197
197
  ```
198
- <!--End PulumiCodeChooser -->
199
198
 
200
199
  :param str resource_name: The name of the resource.
201
200
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -220,19 +219,18 @@ class Alphabet(pulumi.CustomResource):
220
219
 
221
220
  ## Example Usage
222
221
 
223
- <!--Start PulumiCodeChooser -->
224
222
  ```python
225
223
  import pulumi
226
224
  import pulumi_vault as vault
227
225
 
228
- mount_transform = vault.Mount("mountTransform",
226
+ mount_transform = vault.Mount("mount_transform",
229
227
  path="transform",
230
228
  type="transform")
231
229
  test = vault.transform.Alphabet("test",
232
230
  path=mount_transform.path,
231
+ name="numerics",
233
232
  alphabet="0123456789")
234
233
  ```
235
- <!--End PulumiCodeChooser -->
236
234
 
237
235
  :param str resource_name: The name of the resource.
238
236
  :param AlphabetArgs args: The arguments to use to populate this resource's properties.
@@ -142,7 +142,6 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
142
142
 
143
143
  ## Example Usage
144
144
 
145
- <!--Start PulumiCodeChooser -->
146
145
  ```python
147
146
  import pulumi
148
147
  import pulumi_vault as vault
@@ -152,18 +151,19 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
152
151
  type="transform")
153
152
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
154
153
  path=transform.path,
154
+ name="ccn-fpe",
155
155
  type="fpe",
156
156
  template="builtin/creditcardnumber",
157
157
  tweak_source="internal",
158
158
  allowed_roles=["payments"])
159
159
  payments = vault.transform.Role("payments",
160
160
  path=ccn_fpe.path,
161
+ name="payments",
161
162
  transformations=["ccn-fpe"])
162
163
  test = vault.transform.get_decode_output(path=payments.path,
163
164
  role_name="payments",
164
165
  value="9300-3376-4943-8903")
165
166
  ```
166
- <!--End PulumiCodeChooser -->
167
167
 
168
168
 
169
169
  :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.
@@ -223,7 +223,6 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
223
223
 
224
224
  ## Example Usage
225
225
 
226
- <!--Start PulumiCodeChooser -->
227
226
  ```python
228
227
  import pulumi
229
228
  import pulumi_vault as vault
@@ -233,18 +232,19 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
233
232
  type="transform")
234
233
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
235
234
  path=transform.path,
235
+ name="ccn-fpe",
236
236
  type="fpe",
237
237
  template="builtin/creditcardnumber",
238
238
  tweak_source="internal",
239
239
  allowed_roles=["payments"])
240
240
  payments = vault.transform.Role("payments",
241
241
  path=ccn_fpe.path,
242
+ name="payments",
242
243
  transformations=["ccn-fpe"])
243
244
  test = vault.transform.get_decode_output(path=payments.path,
244
245
  role_name="payments",
245
246
  value="9300-3376-4943-8903")
246
247
  ```
247
- <!--End PulumiCodeChooser -->
248
248
 
249
249
 
250
250
  :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.
@@ -142,7 +142,6 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
142
142
 
143
143
  ## Example Usage
144
144
 
145
- <!--Start PulumiCodeChooser -->
146
145
  ```python
147
146
  import pulumi
148
147
  import pulumi_vault as vault
@@ -152,12 +151,14 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
152
151
  type="transform")
153
152
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
154
153
  path=transform.path,
154
+ name="ccn-fpe",
155
155
  type="fpe",
156
156
  template="builtin/creditcardnumber",
157
157
  tweak_source="internal",
158
158
  allowed_roles=["payments"])
159
159
  payments = vault.transform.Role("payments",
160
160
  path=ccn_fpe.path,
161
+ name="payments",
161
162
  transformations=["ccn-fpe"])
162
163
  test = vault.transform.get_encode_output(path=payments.path,
163
164
  role_name="payments",
@@ -165,7 +166,6 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
165
166
  "value": "1111-2222-3333-4444",
166
167
  }])
167
168
  ```
168
- <!--End PulumiCodeChooser -->
169
169
 
170
170
 
171
171
  :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.
@@ -225,7 +225,6 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
225
225
 
226
226
  ## Example Usage
227
227
 
228
- <!--Start PulumiCodeChooser -->
229
228
  ```python
230
229
  import pulumi
231
230
  import pulumi_vault as vault
@@ -235,12 +234,14 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
235
234
  type="transform")
236
235
  ccn_fpe = vault.transform.Transformation("ccn-fpe",
237
236
  path=transform.path,
237
+ name="ccn-fpe",
238
238
  type="fpe",
239
239
  template="builtin/creditcardnumber",
240
240
  tweak_source="internal",
241
241
  allowed_roles=["payments"])
242
242
  payments = vault.transform.Role("payments",
243
243
  path=ccn_fpe.path,
244
+ name="payments",
244
245
  transformations=["ccn-fpe"])
245
246
  test = vault.transform.get_encode_output(path=payments.path,
246
247
  role_name="payments",
@@ -248,7 +249,6 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
248
249
  "value": "1111-2222-3333-4444",
249
250
  }])
250
251
  ```
251
- <!--End PulumiCodeChooser -->
252
252
 
253
253
 
254
254
  :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.
@@ -184,19 +184,18 @@ class Role(pulumi.CustomResource):
184
184
 
185
185
  ## Example Usage
186
186
 
187
- <!--Start PulumiCodeChooser -->
188
187
  ```python
189
188
  import pulumi
190
189
  import pulumi_vault as vault
191
190
 
192
- mount_transform = vault.Mount("mountTransform",
191
+ mount_transform = vault.Mount("mount_transform",
193
192
  path="transform",
194
193
  type="transform")
195
194
  test = vault.transform.Role("test",
196
195
  path=mount_transform.path,
196
+ name="payments",
197
197
  transformations=["ccn-fpe"])
198
198
  ```
199
- <!--End PulumiCodeChooser -->
200
199
 
201
200
  :param str resource_name: The name of the resource.
202
201
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -222,19 +221,18 @@ class Role(pulumi.CustomResource):
222
221
 
223
222
  ## Example Usage
224
223
 
225
- <!--Start PulumiCodeChooser -->
226
224
  ```python
227
225
  import pulumi
228
226
  import pulumi_vault as vault
229
227
 
230
- mount_transform = vault.Mount("mountTransform",
228
+ mount_transform = vault.Mount("mount_transform",
231
229
  path="transform",
232
230
  type="transform")
233
231
  test = vault.transform.Role("test",
234
232
  path=mount_transform.path,
233
+ name="payments",
235
234
  transformations=["ccn-fpe"])
236
235
  ```
237
- <!--End PulumiCodeChooser -->
238
236
 
239
237
  :param str resource_name: The name of the resource.
240
238
  :param RoleArgs args: The arguments to use to populate this resource's properties.
@@ -334,7 +334,6 @@ class Template(pulumi.CustomResource):
334
334
  backslashes must be escaped to appear correctly in Vault. For further
335
335
  assistance escaping your own custom regex, see String Literals.
336
336
 
337
- <!--Start PulumiCodeChooser -->
338
337
  ```python
339
338
  import pulumi
340
339
  import pulumi_vault as vault
@@ -344,9 +343,11 @@ class Template(pulumi.CustomResource):
344
343
  type="transform")
345
344
  numerics = vault.transform.Alphabet("numerics",
346
345
  path=transform.path,
346
+ name="numerics",
347
347
  alphabet="0123456789")
348
348
  test = vault.transform.Template("test",
349
349
  path=numerics.path,
350
+ name="ccn",
350
351
  type="regex",
351
352
  pattern="(\\\\d{4})[- ](\\\\d{4})[- ](\\\\d{4})[- ](\\\\d{4})",
352
353
  alphabet="numerics",
@@ -355,7 +356,6 @@ class Template(pulumi.CustomResource):
355
356
  "last-four-digits": "$4",
356
357
  })
357
358
  ```
358
- <!--End PulumiCodeChooser -->
359
359
 
360
360
  :param str resource_name: The name of the resource.
361
361
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -397,7 +397,6 @@ class Template(pulumi.CustomResource):
397
397
  backslashes must be escaped to appear correctly in Vault. For further
398
398
  assistance escaping your own custom regex, see String Literals.
399
399
 
400
- <!--Start PulumiCodeChooser -->
401
400
  ```python
402
401
  import pulumi
403
402
  import pulumi_vault as vault
@@ -407,9 +406,11 @@ class Template(pulumi.CustomResource):
407
406
  type="transform")
408
407
  numerics = vault.transform.Alphabet("numerics",
409
408
  path=transform.path,
409
+ name="numerics",
410
410
  alphabet="0123456789")
411
411
  test = vault.transform.Template("test",
412
412
  path=numerics.path,
413
+ name="ccn",
413
414
  type="regex",
414
415
  pattern="(\\\\d{4})[- ](\\\\d{4})[- ](\\\\d{4})[- ](\\\\d{4})",
415
416
  alphabet="numerics",
@@ -418,7 +419,6 @@ class Template(pulumi.CustomResource):
418
419
  "last-four-digits": "$4",
419
420
  })
420
421
  ```
421
- <!--End PulumiCodeChooser -->
422
422
 
423
423
  :param str resource_name: The name of the resource.
424
424
  :param TemplateArgs args: The arguments to use to populate this resource's properties.
@@ -112,22 +112,14 @@ def get_decrypt(backend: Optional[str] = None,
112
112
 
113
113
  ## Example Usage
114
114
 
115
- <!--Start PulumiCodeChooser -->
116
115
  ```python
117
116
  import pulumi
118
117
  import pulumi_vault as vault
119
118
 
120
119
  test = vault.transit.get_decrypt(backend="transit",
121
- ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==",
122
- key="test")
120
+ key="test",
121
+ ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==")
123
122
  ```
124
- <!--End PulumiCodeChooser -->
125
-
126
-
127
- :param str backend: The path the transit secret backend is mounted at, with no leading or trailing `/`.
128
- :param str ciphertext: Ciphertext to be decoded.
129
- :param str context: Context for key derivation. This is required if key derivation is enabled for this key.
130
- :param str key: Specifies the name of the transit key to decrypt against.
131
123
  """
132
124
  __args__ = dict()
133
125
  __args__['backend'] = backend
@@ -160,21 +152,13 @@ def get_decrypt_output(backend: Optional[pulumi.Input[str]] = None,
160
152
 
161
153
  ## Example Usage
162
154
 
163
- <!--Start PulumiCodeChooser -->
164
155
  ```python
165
156
  import pulumi
166
157
  import pulumi_vault as vault
167
158
 
168
159
  test = vault.transit.get_decrypt(backend="transit",
169
- ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==",
170
- key="test")
160
+ key="test",
161
+ ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==")
171
162
  ```
172
- <!--End PulumiCodeChooser -->
173
-
174
-
175
- :param str backend: The path the transit secret backend is mounted at, with no leading or trailing `/`.
176
- :param str ciphertext: Ciphertext to be decoded.
177
- :param str context: Context for key derivation. This is required if key derivation is enabled for this key.
178
- :param str key: Specifies the name of the transit key to decrypt against.
179
163
  """
180
164
  ...
@@ -119,13 +119,6 @@ def get_encrypt(backend: Optional[str] = None,
119
119
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEncryptResult:
120
120
  """
121
121
  This is a data source which can be used to encrypt plaintext using a Vault Transit key.
122
-
123
-
124
- :param str backend: The path the transit secret backend is mounted at, with no leading or trailing `/`.
125
- :param str context: Context for key derivation. This is required if key derivation is enabled for this key.
126
- :param str key: Specifies the name of the transit key to encrypt against.
127
- :param int key_version: The version of the key to use for encryption. If not set, uses the latest version. Must be greater than or equal to the key's `min_encryption_version`, if set.
128
- :param str plaintext: Plaintext to be encoded.
129
122
  """
130
123
  __args__ = dict()
131
124
  __args__['backend'] = backend
@@ -158,12 +151,5 @@ def get_encrypt_output(backend: Optional[pulumi.Input[str]] = None,
158
151
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEncryptResult]:
159
152
  """
160
153
  This is a data source which can be used to encrypt plaintext using a Vault Transit key.
161
-
162
-
163
- :param str backend: The path the transit secret backend is mounted at, with no leading or trailing `/`.
164
- :param str context: Context for key derivation. This is required if key derivation is enabled for this key.
165
- :param str key: Specifies the name of the transit key to encrypt against.
166
- :param int key_version: The version of the key to use for encryption. If not set, uses the latest version. Must be greater than or equal to the key's `min_encryption_version`, if set.
167
- :param str plaintext: Plaintext to be encoded.
168
154
  """
169
155
  ...
@@ -606,7 +606,6 @@ class SecretBackendKey(pulumi.CustomResource):
606
606
 
607
607
  ## Example Usage
608
608
 
609
- <!--Start PulumiCodeChooser -->
610
609
  ```python
611
610
  import pulumi
612
611
  import pulumi_vault as vault
@@ -617,9 +616,10 @@ class SecretBackendKey(pulumi.CustomResource):
617
616
  description="Example description",
618
617
  default_lease_ttl_seconds=3600,
619
618
  max_lease_ttl_seconds=86400)
620
- key = vault.transit.SecretBackendKey("key", backend=transit.path)
619
+ key = vault.transit.SecretBackendKey("key",
620
+ backend=transit.path,
621
+ name="my_key")
621
622
  ```
622
- <!--End PulumiCodeChooser -->
623
623
 
624
624
  ## Import
625
625
 
@@ -662,7 +662,6 @@ class SecretBackendKey(pulumi.CustomResource):
662
662
 
663
663
  ## Example Usage
664
664
 
665
- <!--Start PulumiCodeChooser -->
666
665
  ```python
667
666
  import pulumi
668
667
  import pulumi_vault as vault
@@ -673,9 +672,10 @@ class SecretBackendKey(pulumi.CustomResource):
673
672
  description="Example description",
674
673
  default_lease_ttl_seconds=3600,
675
674
  max_lease_ttl_seconds=86400)
676
- key = vault.transit.SecretBackendKey("key", backend=transit.path)
675
+ key = vault.transit.SecretBackendKey("key",
676
+ backend=transit.path,
677
+ name="my_key")
677
678
  ```
678
- <!--End PulumiCodeChooser -->
679
679
 
680
680
  ## Import
681
681
 
@@ -147,7 +147,6 @@ class SecretCacheConfig(pulumi.CustomResource):
147
147
 
148
148
  ## Example Usage
149
149
 
150
- <!--Start PulumiCodeChooser -->
151
150
  ```python
152
151
  import pulumi
153
152
  import pulumi_vault as vault
@@ -162,7 +161,6 @@ class SecretCacheConfig(pulumi.CustomResource):
162
161
  backend=transit.path,
163
162
  size=500)
164
163
  ```
165
- <!--End PulumiCodeChooser -->
166
164
 
167
165
  :param str resource_name: The name of the resource.
168
166
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -184,7 +182,6 @@ class SecretCacheConfig(pulumi.CustomResource):
184
182
 
185
183
  ## Example Usage
186
184
 
187
- <!--Start PulumiCodeChooser -->
188
185
  ```python
189
186
  import pulumi
190
187
  import pulumi_vault as vault
@@ -199,7 +196,6 @@ class SecretCacheConfig(pulumi.CustomResource):
199
196
  backend=transit.path,
200
197
  size=500)
201
198
  ```
202
- <!--End PulumiCodeChooser -->
203
199
 
204
200
  :param str resource_name: The name of the resource.
205
201
  :param SecretCacheConfigArgs args: The arguments to use to populate this resource's properties.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_vault
3
- Version: 6.2.0a1713339773
3
+ Version: 6.2.0a1713905519
4
4
  Summary: A Pulumi package for creating and managing HashiCorp Vault cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io