pulumi-vault 5.19.0a1705474292__py3-none-any.whl → 5.20.0__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 (48) hide show
  1. pulumi_vault/__init__.py +59 -0
  2. pulumi_vault/_inputs.py +380 -0
  3. pulumi_vault/_utilities.py +2 -2
  4. pulumi_vault/aws/secret_backend.py +188 -0
  5. pulumi_vault/aws/secret_backend_static_role.py +2 -2
  6. pulumi_vault/azure/backend.py +7 -21
  7. pulumi_vault/azure/backend_role.py +111 -0
  8. pulumi_vault/config/__init__.pyi +0 -3
  9. pulumi_vault/config/outputs.py +380 -0
  10. pulumi_vault/config/vars.py +0 -3
  11. pulumi_vault/consul/secret_backend.py +7 -35
  12. pulumi_vault/database/_inputs.py +536 -0
  13. pulumi_vault/database/outputs.py +483 -3
  14. pulumi_vault/gcp/_inputs.py +162 -4
  15. pulumi_vault/gcp/auth_backend.py +64 -3
  16. pulumi_vault/gcp/outputs.py +161 -4
  17. pulumi_vault/get_raft_autopilot_state.py +0 -12
  18. pulumi_vault/identity/group_alias.py +6 -6
  19. pulumi_vault/kubernetes/auth_backend_config.py +7 -7
  20. pulumi_vault/kubernetes/secret_backend_role.py +8 -4
  21. pulumi_vault/kv/_inputs.py +12 -0
  22. pulumi_vault/kv/outputs.py +12 -0
  23. pulumi_vault/ldap/secret_backend_dynamic_role.py +2 -2
  24. pulumi_vault/ldap/secret_backend_static_role.py +2 -2
  25. pulumi_vault/managed/_inputs.py +12 -0
  26. pulumi_vault/managed/keys.py +20 -0
  27. pulumi_vault/managed/outputs.py +12 -0
  28. pulumi_vault/mongodbatlas/secret_role.py +2 -2
  29. pulumi_vault/namespace.py +46 -14
  30. pulumi_vault/pkisecret/secret_backend_config_issuers.py +0 -6
  31. pulumi_vault/pkisecret/secret_backend_issuer.py +0 -10
  32. pulumi_vault/pkisecret/secret_backend_role.py +54 -7
  33. pulumi_vault/rabbitmq/_inputs.py +36 -0
  34. pulumi_vault/rabbitmq/outputs.py +36 -0
  35. pulumi_vault/saml/auth_backend_role.py +7 -14
  36. pulumi_vault/secrets/__init__.py +14 -0
  37. pulumi_vault/secrets/sync_association.py +464 -0
  38. pulumi_vault/secrets/sync_aws_destination.py +564 -0
  39. pulumi_vault/secrets/sync_azure_destination.py +674 -0
  40. pulumi_vault/secrets/sync_config.py +297 -0
  41. pulumi_vault/secrets/sync_gcp_destination.py +438 -0
  42. pulumi_vault/secrets/sync_gh_destination.py +511 -0
  43. pulumi_vault/secrets/sync_vercel_destination.py +541 -0
  44. pulumi_vault/ssh/secret_backend_role.py +7 -14
  45. {pulumi_vault-5.19.0a1705474292.dist-info → pulumi_vault-5.20.0.dist-info}/METADATA +2 -2
  46. {pulumi_vault-5.19.0a1705474292.dist-info → pulumi_vault-5.20.0.dist-info}/RECORD +48 -40
  47. {pulumi_vault-5.19.0a1705474292.dist-info → pulumi_vault-5.20.0.dist-info}/WHEEL +0 -0
  48. {pulumi_vault-5.19.0a1705474292.dist-info → pulumi_vault-5.20.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,8 @@ class BackendRoleArgs:
25
25
  max_ttl: Optional[pulumi.Input[str]] = None,
26
26
  namespace: Optional[pulumi.Input[str]] = None,
27
27
  permanently_delete: Optional[pulumi.Input[bool]] = None,
28
+ sign_in_audience: Optional[pulumi.Input[str]] = None,
29
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
28
30
  ttl: Optional[pulumi.Input[str]] = None):
29
31
  """
30
32
  The set of arguments for constructing a BackendRole resource.
@@ -43,6 +45,9 @@ class BackendRoleArgs:
43
45
  *Available only for Vault Enterprise*.
44
46
  :param pulumi.Input[bool] permanently_delete: Indicates whether the applications and service principals created by Vault will be permanently
45
47
  deleted when the corresponding leases expire. Defaults to `false`. For Vault v1.12+.
48
+ :param pulumi.Input[str] sign_in_audience: Specifies the security principal types that are allowed to sign in to the application.
49
+ Valid values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. Requires Vault 1.16+.
50
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of Azure tags to attach to an application. Requires Vault 1.16+.
46
51
  :param pulumi.Input[str] ttl: Specifies the default TTL for service principals generated using this role.
47
52
  Accepts time suffixed strings ("1h") or an integer number of seconds. Defaults to the system/engine default TTL time.
48
53
  """
@@ -63,6 +68,10 @@ class BackendRoleArgs:
63
68
  pulumi.set(__self__, "namespace", namespace)
64
69
  if permanently_delete is not None:
65
70
  pulumi.set(__self__, "permanently_delete", permanently_delete)
71
+ if sign_in_audience is not None:
72
+ pulumi.set(__self__, "sign_in_audience", sign_in_audience)
73
+ if tags is not None:
74
+ pulumi.set(__self__, "tags", tags)
66
75
  if ttl is not None:
67
76
  pulumi.set(__self__, "ttl", ttl)
68
77
 
@@ -180,6 +189,31 @@ class BackendRoleArgs:
180
189
  def permanently_delete(self, value: Optional[pulumi.Input[bool]]):
181
190
  pulumi.set(self, "permanently_delete", value)
182
191
 
192
+ @property
193
+ @pulumi.getter(name="signInAudience")
194
+ def sign_in_audience(self) -> Optional[pulumi.Input[str]]:
195
+ """
196
+ Specifies the security principal types that are allowed to sign in to the application.
197
+ Valid values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. Requires Vault 1.16+.
198
+ """
199
+ return pulumi.get(self, "sign_in_audience")
200
+
201
+ @sign_in_audience.setter
202
+ def sign_in_audience(self, value: Optional[pulumi.Input[str]]):
203
+ pulumi.set(self, "sign_in_audience", value)
204
+
205
+ @property
206
+ @pulumi.getter
207
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
208
+ """
209
+ A list of Azure tags to attach to an application. Requires Vault 1.16+.
210
+ """
211
+ return pulumi.get(self, "tags")
212
+
213
+ @tags.setter
214
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
215
+ pulumi.set(self, "tags", value)
216
+
183
217
  @property
184
218
  @pulumi.getter
185
219
  def ttl(self) -> Optional[pulumi.Input[str]]:
@@ -206,6 +240,8 @@ class _BackendRoleState:
206
240
  namespace: Optional[pulumi.Input[str]] = None,
207
241
  permanently_delete: Optional[pulumi.Input[bool]] = None,
208
242
  role: Optional[pulumi.Input[str]] = None,
243
+ sign_in_audience: Optional[pulumi.Input[str]] = None,
244
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
209
245
  ttl: Optional[pulumi.Input[str]] = None):
210
246
  """
211
247
  Input properties used for looking up and filtering BackendRole resources.
@@ -224,6 +260,9 @@ class _BackendRoleState:
224
260
  :param pulumi.Input[bool] permanently_delete: Indicates whether the applications and service principals created by Vault will be permanently
225
261
  deleted when the corresponding leases expire. Defaults to `false`. For Vault v1.12+.
226
262
  :param pulumi.Input[str] role: Name of the Azure role
263
+ :param pulumi.Input[str] sign_in_audience: Specifies the security principal types that are allowed to sign in to the application.
264
+ Valid values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. Requires Vault 1.16+.
265
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of Azure tags to attach to an application. Requires Vault 1.16+.
227
266
  :param pulumi.Input[str] ttl: Specifies the default TTL for service principals generated using this role.
228
267
  Accepts time suffixed strings ("1h") or an integer number of seconds. Defaults to the system/engine default TTL time.
229
268
  """
@@ -245,6 +284,10 @@ class _BackendRoleState:
245
284
  pulumi.set(__self__, "permanently_delete", permanently_delete)
246
285
  if role is not None:
247
286
  pulumi.set(__self__, "role", role)
287
+ if sign_in_audience is not None:
288
+ pulumi.set(__self__, "sign_in_audience", sign_in_audience)
289
+ if tags is not None:
290
+ pulumi.set(__self__, "tags", tags)
248
291
  if ttl is not None:
249
292
  pulumi.set(__self__, "ttl", ttl)
250
293
 
@@ -362,6 +405,31 @@ class _BackendRoleState:
362
405
  def role(self, value: Optional[pulumi.Input[str]]):
363
406
  pulumi.set(self, "role", value)
364
407
 
408
+ @property
409
+ @pulumi.getter(name="signInAudience")
410
+ def sign_in_audience(self) -> Optional[pulumi.Input[str]]:
411
+ """
412
+ Specifies the security principal types that are allowed to sign in to the application.
413
+ Valid values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. Requires Vault 1.16+.
414
+ """
415
+ return pulumi.get(self, "sign_in_audience")
416
+
417
+ @sign_in_audience.setter
418
+ def sign_in_audience(self, value: Optional[pulumi.Input[str]]):
419
+ pulumi.set(self, "sign_in_audience", value)
420
+
421
+ @property
422
+ @pulumi.getter
423
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
424
+ """
425
+ A list of Azure tags to attach to an application. Requires Vault 1.16+.
426
+ """
427
+ return pulumi.get(self, "tags")
428
+
429
+ @tags.setter
430
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
431
+ pulumi.set(self, "tags", value)
432
+
365
433
  @property
366
434
  @pulumi.getter
367
435
  def ttl(self) -> Optional[pulumi.Input[str]]:
@@ -390,6 +458,8 @@ class BackendRole(pulumi.CustomResource):
390
458
  namespace: Optional[pulumi.Input[str]] = None,
391
459
  permanently_delete: Optional[pulumi.Input[bool]] = None,
392
460
  role: Optional[pulumi.Input[str]] = None,
461
+ sign_in_audience: Optional[pulumi.Input[str]] = None,
462
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
393
463
  ttl: Optional[pulumi.Input[str]] = None,
394
464
  __props__=None):
395
465
  """
@@ -407,6 +477,11 @@ class BackendRole(pulumi.CustomResource):
407
477
  generated_role = vault.azure.BackendRole("generatedRole",
408
478
  backend=azure.path,
409
479
  role="generated_role",
480
+ sign_in_audience="AzureADMyOrg",
481
+ tags=[
482
+ "team:engineering",
483
+ "environment:development",
484
+ ],
410
485
  ttl="300",
411
486
  max_ttl="600",
412
487
  azure_roles=[vault.azure.BackendRoleAzureRoleArgs(
@@ -438,6 +513,9 @@ class BackendRole(pulumi.CustomResource):
438
513
  :param pulumi.Input[bool] permanently_delete: Indicates whether the applications and service principals created by Vault will be permanently
439
514
  deleted when the corresponding leases expire. Defaults to `false`. For Vault v1.12+.
440
515
  :param pulumi.Input[str] role: Name of the Azure role
516
+ :param pulumi.Input[str] sign_in_audience: Specifies the security principal types that are allowed to sign in to the application.
517
+ Valid values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. Requires Vault 1.16+.
518
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of Azure tags to attach to an application. Requires Vault 1.16+.
441
519
  :param pulumi.Input[str] ttl: Specifies the default TTL for service principals generated using this role.
442
520
  Accepts time suffixed strings ("1h") or an integer number of seconds. Defaults to the system/engine default TTL time.
443
521
  """
@@ -462,6 +540,11 @@ class BackendRole(pulumi.CustomResource):
462
540
  generated_role = vault.azure.BackendRole("generatedRole",
463
541
  backend=azure.path,
464
542
  role="generated_role",
543
+ sign_in_audience="AzureADMyOrg",
544
+ tags=[
545
+ "team:engineering",
546
+ "environment:development",
547
+ ],
465
548
  ttl="300",
466
549
  max_ttl="600",
467
550
  azure_roles=[vault.azure.BackendRoleAzureRoleArgs(
@@ -500,6 +583,8 @@ class BackendRole(pulumi.CustomResource):
500
583
  namespace: Optional[pulumi.Input[str]] = None,
501
584
  permanently_delete: Optional[pulumi.Input[bool]] = None,
502
585
  role: Optional[pulumi.Input[str]] = None,
586
+ sign_in_audience: Optional[pulumi.Input[str]] = None,
587
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
503
588
  ttl: Optional[pulumi.Input[str]] = None,
504
589
  __props__=None):
505
590
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -521,6 +606,8 @@ class BackendRole(pulumi.CustomResource):
521
606
  if role is None and not opts.urn:
522
607
  raise TypeError("Missing required property 'role'")
523
608
  __props__.__dict__["role"] = role
609
+ __props__.__dict__["sign_in_audience"] = sign_in_audience
610
+ __props__.__dict__["tags"] = tags
524
611
  __props__.__dict__["ttl"] = ttl
525
612
  super(BackendRole, __self__).__init__(
526
613
  'vault:azure/backendRole:BackendRole',
@@ -541,6 +628,8 @@ class BackendRole(pulumi.CustomResource):
541
628
  namespace: Optional[pulumi.Input[str]] = None,
542
629
  permanently_delete: Optional[pulumi.Input[bool]] = None,
543
630
  role: Optional[pulumi.Input[str]] = None,
631
+ sign_in_audience: Optional[pulumi.Input[str]] = None,
632
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
544
633
  ttl: Optional[pulumi.Input[str]] = None) -> 'BackendRole':
545
634
  """
546
635
  Get an existing BackendRole resource's state with the given name, id, and optional extra
@@ -564,6 +653,9 @@ class BackendRole(pulumi.CustomResource):
564
653
  :param pulumi.Input[bool] permanently_delete: Indicates whether the applications and service principals created by Vault will be permanently
565
654
  deleted when the corresponding leases expire. Defaults to `false`. For Vault v1.12+.
566
655
  :param pulumi.Input[str] role: Name of the Azure role
656
+ :param pulumi.Input[str] sign_in_audience: Specifies the security principal types that are allowed to sign in to the application.
657
+ Valid values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. Requires Vault 1.16+.
658
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: A list of Azure tags to attach to an application. Requires Vault 1.16+.
567
659
  :param pulumi.Input[str] ttl: Specifies the default TTL for service principals generated using this role.
568
660
  Accepts time suffixed strings ("1h") or an integer number of seconds. Defaults to the system/engine default TTL time.
569
661
  """
@@ -580,6 +672,8 @@ class BackendRole(pulumi.CustomResource):
580
672
  __props__.__dict__["namespace"] = namespace
581
673
  __props__.__dict__["permanently_delete"] = permanently_delete
582
674
  __props__.__dict__["role"] = role
675
+ __props__.__dict__["sign_in_audience"] = sign_in_audience
676
+ __props__.__dict__["tags"] = tags
583
677
  __props__.__dict__["ttl"] = ttl
584
678
  return BackendRole(resource_name, opts=opts, __props__=__props__)
585
679
 
@@ -661,6 +755,23 @@ class BackendRole(pulumi.CustomResource):
661
755
  """
662
756
  return pulumi.get(self, "role")
663
757
 
758
+ @property
759
+ @pulumi.getter(name="signInAudience")
760
+ def sign_in_audience(self) -> pulumi.Output[Optional[str]]:
761
+ """
762
+ Specifies the security principal types that are allowed to sign in to the application.
763
+ Valid values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. Requires Vault 1.16+.
764
+ """
765
+ return pulumi.get(self, "sign_in_audience")
766
+
767
+ @property
768
+ @pulumi.getter
769
+ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
770
+ """
771
+ A list of Azure tags to attach to an application. Requires Vault 1.16+.
772
+ """
773
+ return pulumi.get(self, "tags")
774
+
664
775
  @property
665
776
  @pulumi.getter
666
777
  def ttl(self) -> pulumi.Output[Optional[str]]:
@@ -11,9 +11,6 @@ from .. import _utilities
11
11
  from . import outputs
12
12
 
13
13
  addAddressToEnv: Optional[str]
14
- """
15
- If true, adds the value of the `address` argument to the Terraform process environment.
16
- """
17
14
 
18
15
  address: Optional[str]
19
16
  """