pulumi-vault 5.21.0a1711033014__py3-none-any.whl → 6.0.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 (163) hide show
  1. pulumi_vault/__init__.py +24 -0
  2. pulumi_vault/ad/get_access_credentials.py +2 -2
  3. pulumi_vault/ad/secret_backend.py +7 -138
  4. pulumi_vault/ad/secret_library.py +7 -7
  5. pulumi_vault/ad/secret_role.py +7 -7
  6. pulumi_vault/approle/auth_backend_login.py +7 -7
  7. pulumi_vault/approle/auth_backend_role.py +7 -7
  8. pulumi_vault/approle/auth_backend_role_secret_id.py +7 -7
  9. pulumi_vault/audit.py +7 -7
  10. pulumi_vault/auth_backend.py +7 -7
  11. pulumi_vault/aws/auth_backend_cert.py +7 -7
  12. pulumi_vault/aws/auth_backend_client.py +7 -7
  13. pulumi_vault/aws/auth_backend_config_identity.py +7 -7
  14. pulumi_vault/aws/auth_backend_identity_whitelist.py +7 -7
  15. pulumi_vault/aws/auth_backend_login.py +7 -7
  16. pulumi_vault/aws/auth_backend_role.py +7 -7
  17. pulumi_vault/aws/auth_backend_role_tag.py +7 -7
  18. pulumi_vault/aws/auth_backend_roletag_blacklist.py +7 -7
  19. pulumi_vault/aws/auth_backend_sts_role.py +7 -7
  20. pulumi_vault/aws/get_access_credentials.py +2 -2
  21. pulumi_vault/aws/secret_backend.py +7 -7
  22. pulumi_vault/aws/secret_backend_role.py +7 -7
  23. pulumi_vault/aws/secret_backend_static_role.py +7 -7
  24. pulumi_vault/azure/auth_backend_config.py +7 -7
  25. pulumi_vault/azure/auth_backend_role.py +7 -7
  26. pulumi_vault/azure/backend.py +7 -7
  27. pulumi_vault/azure/backend_role.py +7 -7
  28. pulumi_vault/azure/get_access_credentials.py +2 -2
  29. pulumi_vault/cert_auth_backend_role.py +7 -63
  30. pulumi_vault/config/_inputs.py +52 -0
  31. pulumi_vault/config/outputs.py +30 -0
  32. pulumi_vault/config/ui_custom_message.py +524 -0
  33. pulumi_vault/consul/secret_backend.py +7 -7
  34. pulumi_vault/consul/secret_backend_role.py +7 -76
  35. pulumi_vault/egp_policy.py +7 -7
  36. pulumi_vault/gcp/auth_backend.py +7 -7
  37. pulumi_vault/gcp/auth_backend_role.py +7 -7
  38. pulumi_vault/gcp/secret_backend.py +7 -7
  39. pulumi_vault/gcp/secret_roleset.py +7 -7
  40. pulumi_vault/gcp/secret_static_account.py +7 -7
  41. pulumi_vault/generic/endpoint.py +7 -7
  42. pulumi_vault/generic/get_secret.py +2 -2
  43. pulumi_vault/generic/secret.py +7 -7
  44. pulumi_vault/get_auth_backend.py +2 -2
  45. pulumi_vault/get_auth_backends.py +20 -2
  46. pulumi_vault/get_nomad_access_token.py +2 -2
  47. pulumi_vault/get_raft_autopilot_state.py +2 -2
  48. pulumi_vault/github/auth_backend.py +7 -7
  49. pulumi_vault/github/team.py +7 -7
  50. pulumi_vault/github/user.py +7 -7
  51. pulumi_vault/identity/entity.py +7 -7
  52. pulumi_vault/identity/entity_alias.py +7 -7
  53. pulumi_vault/identity/entity_policies.py +7 -7
  54. pulumi_vault/identity/get_entity.py +2 -2
  55. pulumi_vault/identity/get_group.py +2 -2
  56. pulumi_vault/identity/get_oidc_client_creds.py +2 -2
  57. pulumi_vault/identity/get_oidc_openid_config.py +2 -2
  58. pulumi_vault/identity/get_oidc_public_keys.py +2 -2
  59. pulumi_vault/identity/group.py +7 -7
  60. pulumi_vault/identity/group_alias.py +7 -7
  61. pulumi_vault/identity/group_member_entity_ids.py +7 -58
  62. pulumi_vault/identity/group_member_group_ids.py +7 -7
  63. pulumi_vault/identity/group_policies.py +7 -7
  64. pulumi_vault/identity/oidc.py +7 -7
  65. pulumi_vault/identity/oidc_assignment.py +7 -7
  66. pulumi_vault/identity/oidc_client.py +19 -15
  67. pulumi_vault/identity/oidc_key.py +7 -7
  68. pulumi_vault/identity/oidc_key_allowed_client_id.py +7 -7
  69. pulumi_vault/identity/oidc_provider.py +7 -7
  70. pulumi_vault/identity/oidc_role.py +7 -7
  71. pulumi_vault/identity/oidc_scope.py +7 -7
  72. pulumi_vault/jwt/auth_backend.py +7 -7
  73. pulumi_vault/jwt/auth_backend_role.py +7 -7
  74. pulumi_vault/kmip/secret_backend.py +7 -7
  75. pulumi_vault/kmip/secret_role.py +7 -7
  76. pulumi_vault/kmip/secret_scope.py +7 -7
  77. pulumi_vault/kubernetes/auth_backend_role.py +7 -7
  78. pulumi_vault/kubernetes/get_service_account_token.py +2 -2
  79. pulumi_vault/kubernetes/secret_backend.py +7 -7
  80. pulumi_vault/kubernetes/secret_backend_role.py +7 -7
  81. pulumi_vault/kv/get_secret.py +2 -2
  82. pulumi_vault/kv/get_secret_subkeys_v2.py +2 -2
  83. pulumi_vault/kv/get_secret_v2.py +5 -2
  84. pulumi_vault/kv/get_secrets_list.py +2 -2
  85. pulumi_vault/kv/get_secrets_list_v2.py +2 -2
  86. pulumi_vault/kv/secret.py +7 -7
  87. pulumi_vault/kv/secret_backend_v2.py +7 -7
  88. pulumi_vault/kv/secret_v2.py +7 -7
  89. pulumi_vault/ldap/auth_backend.py +7 -7
  90. pulumi_vault/ldap/auth_backend_group.py +7 -7
  91. pulumi_vault/ldap/auth_backend_user.py +7 -7
  92. pulumi_vault/ldap/secret_backend.py +61 -76
  93. pulumi_vault/ldap/secret_backend_dynamic_role.py +7 -7
  94. pulumi_vault/ldap/secret_backend_library_set.py +7 -7
  95. pulumi_vault/ldap/secret_backend_static_role.py +62 -8
  96. pulumi_vault/mfa_duo.py +7 -7
  97. pulumi_vault/mfa_okta.py +7 -7
  98. pulumi_vault/mfa_pingid.py +7 -7
  99. pulumi_vault/mfa_totp.py +7 -7
  100. pulumi_vault/mongodbatlas/secret_backend.py +7 -7
  101. pulumi_vault/mongodbatlas/secret_role.py +7 -7
  102. pulumi_vault/mount.py +11 -7
  103. pulumi_vault/namespace.py +7 -7
  104. pulumi_vault/nomad_secret_backend.py +7 -7
  105. pulumi_vault/nomad_secret_role.py +7 -7
  106. pulumi_vault/okta/auth_backend.py +7 -7
  107. pulumi_vault/okta/auth_backend_group.py +7 -7
  108. pulumi_vault/okta/auth_backend_user.py +7 -7
  109. pulumi_vault/password_policy.py +7 -7
  110. pulumi_vault/pkisecret/__init__.py +1 -0
  111. pulumi_vault/pkisecret/backend_config_cluster.py +368 -0
  112. pulumi_vault/pkisecret/get_backend_issuer.py +2 -2
  113. pulumi_vault/pkisecret/get_backend_issuers.py +2 -2
  114. pulumi_vault/pkisecret/get_backend_key.py +2 -2
  115. pulumi_vault/pkisecret/get_backend_keys.py +2 -2
  116. pulumi_vault/pkisecret/secret_backend_cert.py +7 -7
  117. pulumi_vault/pkisecret/secret_backend_config_ca.py +7 -7
  118. pulumi_vault/pkisecret/secret_backend_config_issuers.py +7 -7
  119. pulumi_vault/pkisecret/secret_backend_config_urls.py +54 -7
  120. pulumi_vault/pkisecret/secret_backend_crl_config.py +7 -7
  121. pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +7 -7
  122. pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +7 -7
  123. pulumi_vault/pkisecret/secret_backend_issuer.py +7 -7
  124. pulumi_vault/pkisecret/secret_backend_key.py +7 -7
  125. pulumi_vault/pkisecret/secret_backend_role.py +7 -7
  126. pulumi_vault/pkisecret/secret_backend_root_cert.py +7 -44
  127. pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +7 -52
  128. pulumi_vault/pkisecret/secret_backend_sign.py +7 -52
  129. pulumi_vault/policy.py +7 -7
  130. pulumi_vault/rabbitmq/secret_backend.py +7 -7
  131. pulumi_vault/rabbitmq/secret_backend_role.py +7 -7
  132. pulumi_vault/raft_autopilot.py +7 -7
  133. pulumi_vault/raft_snapshot_agent_config.py +7 -7
  134. pulumi_vault/rgp_policy.py +7 -7
  135. pulumi_vault/saml/auth_backend.py +7 -7
  136. pulumi_vault/saml/auth_backend_role.py +7 -7
  137. pulumi_vault/secrets/__init__.py +1 -0
  138. pulumi_vault/secrets/sync_association.py +7 -7
  139. pulumi_vault/secrets/sync_aws_destination.py +161 -7
  140. pulumi_vault/secrets/sync_azure_destination.py +7 -7
  141. pulumi_vault/secrets/sync_gcp_destination.py +77 -7
  142. pulumi_vault/secrets/sync_gh_destination.py +122 -7
  143. pulumi_vault/secrets/sync_github_apps.py +370 -0
  144. pulumi_vault/secrets/sync_vercel_destination.py +7 -7
  145. pulumi_vault/ssh/secret_backend_ca.py +7 -7
  146. pulumi_vault/ssh/secret_backend_role.py +7 -83
  147. pulumi_vault/terraformcloud/secret_creds.py +7 -7
  148. pulumi_vault/terraformcloud/secret_role.py +7 -7
  149. pulumi_vault/token.py +7 -7
  150. pulumi_vault/tokenauth/auth_backend_role.py +7 -7
  151. pulumi_vault/transform/alphabet.py +7 -7
  152. pulumi_vault/transform/get_decode.py +2 -2
  153. pulumi_vault/transform/get_encode.py +2 -2
  154. pulumi_vault/transform/role.py +7 -7
  155. pulumi_vault/transform/template.py +7 -7
  156. pulumi_vault/transform/transformation.py +7 -7
  157. pulumi_vault/transit/secret_backend_key.py +7 -84
  158. pulumi_vault/transit/secret_cache_config.py +7 -7
  159. {pulumi_vault-5.21.0a1711033014.dist-info → pulumi_vault-6.0.0.dist-info}/METADATA +2 -2
  160. pulumi_vault-6.0.0.dist-info/RECORD +248 -0
  161. pulumi_vault-5.21.0a1711033014.dist-info/RECORD +0 -244
  162. {pulumi_vault-5.21.0a1711033014.dist-info → pulumi_vault-6.0.0.dist-info}/WHEEL +0 -0
  163. {pulumi_vault-5.21.0a1711033014.dist-info → pulumi_vault-6.0.0.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,7 @@ class SyncGcpDestinationArgs:
18
18
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
19
19
  name: Optional[pulumi.Input[str]] = None,
20
20
  namespace: Optional[pulumi.Input[str]] = None,
21
+ project_id: Optional[pulumi.Input[str]] = None,
21
22
  secret_name_template: Optional[pulumi.Input[str]] = None):
22
23
  """
23
24
  The set of arguments for constructing a SyncGcpDestination resource.
@@ -28,7 +29,11 @@ class SyncGcpDestinationArgs:
28
29
  :param pulumi.Input[str] name: Unique name of the GCP destination.
29
30
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
30
31
  The value should not contain leading or trailing forward slashes.
31
- 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).
33
+ :param pulumi.Input[str] project_id: The target project to manage secrets in. If set,
34
+ overrides the project ID derived from the service account JSON credentials or application
35
+ default credentials. The service account must be [authorized](https://cloud.google.com/iam/docs/service-account-overview#locations)
36
+ to perform Secret Manager actions in the target project.
32
37
  :param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
33
38
  Supports a subset of the Go Template syntax.
34
39
  """
@@ -40,6 +45,8 @@ class SyncGcpDestinationArgs:
40
45
  pulumi.set(__self__, "name", name)
41
46
  if namespace is not None:
42
47
  pulumi.set(__self__, "namespace", namespace)
48
+ if project_id is not None:
49
+ pulumi.set(__self__, "project_id", project_id)
43
50
  if secret_name_template is not None:
44
51
  pulumi.set(__self__, "secret_name_template", secret_name_template)
45
52
 
@@ -87,7 +94,7 @@ class SyncGcpDestinationArgs:
87
94
  """
88
95
  The namespace to provision the resource in.
89
96
  The value should not contain leading or trailing forward slashes.
90
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
97
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
91
98
  """
92
99
  return pulumi.get(self, "namespace")
93
100
 
@@ -95,6 +102,21 @@ class SyncGcpDestinationArgs:
95
102
  def namespace(self, value: Optional[pulumi.Input[str]]):
96
103
  pulumi.set(self, "namespace", value)
97
104
 
105
+ @property
106
+ @pulumi.getter(name="projectId")
107
+ def project_id(self) -> Optional[pulumi.Input[str]]:
108
+ """
109
+ The target project to manage secrets in. If set,
110
+ overrides the project ID derived from the service account JSON credentials or application
111
+ default credentials. The service account must be [authorized](https://cloud.google.com/iam/docs/service-account-overview#locations)
112
+ to perform Secret Manager actions in the target project.
113
+ """
114
+ return pulumi.get(self, "project_id")
115
+
116
+ @project_id.setter
117
+ def project_id(self, value: Optional[pulumi.Input[str]]):
118
+ pulumi.set(self, "project_id", value)
119
+
98
120
  @property
99
121
  @pulumi.getter(name="secretNameTemplate")
100
122
  def secret_name_template(self) -> Optional[pulumi.Input[str]]:
@@ -116,6 +138,7 @@ class _SyncGcpDestinationState:
116
138
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
117
139
  name: Optional[pulumi.Input[str]] = None,
118
140
  namespace: Optional[pulumi.Input[str]] = None,
141
+ project_id: Optional[pulumi.Input[str]] = None,
119
142
  secret_name_template: Optional[pulumi.Input[str]] = None,
120
143
  type: Optional[pulumi.Input[str]] = None):
121
144
  """
@@ -127,7 +150,11 @@ class _SyncGcpDestinationState:
127
150
  :param pulumi.Input[str] name: Unique name of the GCP destination.
128
151
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
129
152
  The value should not contain leading or trailing forward slashes.
130
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
153
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
154
+ :param pulumi.Input[str] project_id: The target project to manage secrets in. If set,
155
+ overrides the project ID derived from the service account JSON credentials or application
156
+ default credentials. The service account must be [authorized](https://cloud.google.com/iam/docs/service-account-overview#locations)
157
+ to perform Secret Manager actions in the target project.
131
158
  :param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
132
159
  Supports a subset of the Go Template syntax.
133
160
  :param pulumi.Input[str] type: The type of the secrets destination (`gcp-sm`).
@@ -140,6 +167,8 @@ class _SyncGcpDestinationState:
140
167
  pulumi.set(__self__, "name", name)
141
168
  if namespace is not None:
142
169
  pulumi.set(__self__, "namespace", namespace)
170
+ if project_id is not None:
171
+ pulumi.set(__self__, "project_id", project_id)
143
172
  if secret_name_template is not None:
144
173
  pulumi.set(__self__, "secret_name_template", secret_name_template)
145
174
  if type is not None:
@@ -189,7 +218,7 @@ class _SyncGcpDestinationState:
189
218
  """
190
219
  The namespace to provision the resource in.
191
220
  The value should not contain leading or trailing forward slashes.
192
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
221
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
193
222
  """
194
223
  return pulumi.get(self, "namespace")
195
224
 
@@ -197,6 +226,21 @@ class _SyncGcpDestinationState:
197
226
  def namespace(self, value: Optional[pulumi.Input[str]]):
198
227
  pulumi.set(self, "namespace", value)
199
228
 
229
+ @property
230
+ @pulumi.getter(name="projectId")
231
+ def project_id(self) -> Optional[pulumi.Input[str]]:
232
+ """
233
+ The target project to manage secrets in. If set,
234
+ overrides the project ID derived from the service account JSON credentials or application
235
+ default credentials. The service account must be [authorized](https://cloud.google.com/iam/docs/service-account-overview#locations)
236
+ to perform Secret Manager actions in the target project.
237
+ """
238
+ return pulumi.get(self, "project_id")
239
+
240
+ @project_id.setter
241
+ def project_id(self, value: Optional[pulumi.Input[str]]):
242
+ pulumi.set(self, "project_id", value)
243
+
200
244
  @property
201
245
  @pulumi.getter(name="secretNameTemplate")
202
246
  def secret_name_template(self) -> Optional[pulumi.Input[str]]:
@@ -232,6 +276,7 @@ class SyncGcpDestination(pulumi.CustomResource):
232
276
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
233
277
  name: Optional[pulumi.Input[str]] = None,
234
278
  namespace: Optional[pulumi.Input[str]] = None,
279
+ project_id: Optional[pulumi.Input[str]] = None,
235
280
  secret_name_template: Optional[pulumi.Input[str]] = None,
236
281
  __props__=None):
237
282
  """
@@ -243,6 +288,7 @@ class SyncGcpDestination(pulumi.CustomResource):
243
288
  import pulumi_vault as vault
244
289
 
245
290
  gcp = vault.secrets.SyncGcpDestination("gcp",
291
+ project_id="gcp-project-id",
246
292
  credentials=(lambda path: open(path).read())(var["credentials_file"]),
247
293
  secret_name_template="vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
248
294
  custom_tags={
@@ -268,7 +314,11 @@ class SyncGcpDestination(pulumi.CustomResource):
268
314
  :param pulumi.Input[str] name: Unique name of the GCP destination.
269
315
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
270
316
  The value should not contain leading or trailing forward slashes.
271
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
317
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
318
+ :param pulumi.Input[str] project_id: The target project to manage secrets in. If set,
319
+ overrides the project ID derived from the service account JSON credentials or application
320
+ default credentials. The service account must be [authorized](https://cloud.google.com/iam/docs/service-account-overview#locations)
321
+ to perform Secret Manager actions in the target project.
272
322
  :param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
273
323
  Supports a subset of the Go Template syntax.
274
324
  """
@@ -287,6 +337,7 @@ class SyncGcpDestination(pulumi.CustomResource):
287
337
  import pulumi_vault as vault
288
338
 
289
339
  gcp = vault.secrets.SyncGcpDestination("gcp",
340
+ project_id="gcp-project-id",
290
341
  credentials=(lambda path: open(path).read())(var["credentials_file"]),
291
342
  secret_name_template="vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}",
292
343
  custom_tags={
@@ -322,6 +373,7 @@ class SyncGcpDestination(pulumi.CustomResource):
322
373
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
323
374
  name: Optional[pulumi.Input[str]] = None,
324
375
  namespace: Optional[pulumi.Input[str]] = None,
376
+ project_id: Optional[pulumi.Input[str]] = None,
325
377
  secret_name_template: Optional[pulumi.Input[str]] = None,
326
378
  __props__=None):
327
379
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -336,6 +388,7 @@ class SyncGcpDestination(pulumi.CustomResource):
336
388
  __props__.__dict__["custom_tags"] = custom_tags
337
389
  __props__.__dict__["name"] = name
338
390
  __props__.__dict__["namespace"] = namespace
391
+ __props__.__dict__["project_id"] = project_id
339
392
  __props__.__dict__["secret_name_template"] = secret_name_template
340
393
  __props__.__dict__["type"] = None
341
394
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials"])
@@ -354,6 +407,7 @@ class SyncGcpDestination(pulumi.CustomResource):
354
407
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
355
408
  name: Optional[pulumi.Input[str]] = None,
356
409
  namespace: Optional[pulumi.Input[str]] = None,
410
+ project_id: Optional[pulumi.Input[str]] = None,
357
411
  secret_name_template: Optional[pulumi.Input[str]] = None,
358
412
  type: Optional[pulumi.Input[str]] = None) -> 'SyncGcpDestination':
359
413
  """
@@ -370,7 +424,11 @@ class SyncGcpDestination(pulumi.CustomResource):
370
424
  :param pulumi.Input[str] name: Unique name of the GCP destination.
371
425
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
372
426
  The value should not contain leading or trailing forward slashes.
373
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
427
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
428
+ :param pulumi.Input[str] project_id: The target project to manage secrets in. If set,
429
+ overrides the project ID derived from the service account JSON credentials or application
430
+ default credentials. The service account must be [authorized](https://cloud.google.com/iam/docs/service-account-overview#locations)
431
+ to perform Secret Manager actions in the target project.
374
432
  :param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
375
433
  Supports a subset of the Go Template syntax.
376
434
  :param pulumi.Input[str] type: The type of the secrets destination (`gcp-sm`).
@@ -383,6 +441,7 @@ class SyncGcpDestination(pulumi.CustomResource):
383
441
  __props__.__dict__["custom_tags"] = custom_tags
384
442
  __props__.__dict__["name"] = name
385
443
  __props__.__dict__["namespace"] = namespace
444
+ __props__.__dict__["project_id"] = project_id
386
445
  __props__.__dict__["secret_name_template"] = secret_name_template
387
446
  __props__.__dict__["type"] = type
388
447
  return SyncGcpDestination(resource_name, opts=opts, __props__=__props__)
@@ -419,10 +478,21 @@ class SyncGcpDestination(pulumi.CustomResource):
419
478
  """
420
479
  The namespace to provision the resource in.
421
480
  The value should not contain leading or trailing forward slashes.
422
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
481
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
423
482
  """
424
483
  return pulumi.get(self, "namespace")
425
484
 
485
+ @property
486
+ @pulumi.getter(name="projectId")
487
+ def project_id(self) -> pulumi.Output[Optional[str]]:
488
+ """
489
+ The target project to manage secrets in. If set,
490
+ overrides the project ID derived from the service account JSON credentials or application
491
+ default credentials. The service account must be [authorized](https://cloud.google.com/iam/docs/service-account-overview#locations)
492
+ to perform Secret Manager actions in the target project.
493
+ """
494
+ return pulumi.get(self, "project_id")
495
+
426
496
  @property
427
497
  @pulumi.getter(name="secretNameTemplate")
428
498
  def secret_name_template(self) -> pulumi.Output[str]:
@@ -15,6 +15,8 @@ __all__ = ['SyncGhDestinationArgs', 'SyncGhDestination']
15
15
  class SyncGhDestinationArgs:
16
16
  def __init__(__self__, *,
17
17
  access_token: Optional[pulumi.Input[str]] = None,
18
+ app_name: Optional[pulumi.Input[str]] = None,
19
+ installation_id: Optional[pulumi.Input[int]] = None,
18
20
  name: Optional[pulumi.Input[str]] = None,
19
21
  namespace: Optional[pulumi.Input[str]] = None,
20
22
  repository_name: Optional[pulumi.Input[str]] = None,
@@ -25,10 +27,15 @@ class SyncGhDestinationArgs:
25
27
  :param pulumi.Input[str] access_token: Fine-grained or personal access token.
26
28
  Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment
27
29
  variable.
30
+ :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
31
+ on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
32
+ Takes precedence over the `access_token` field.
33
+ :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
34
+ was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
28
35
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
29
36
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
30
37
  The value should not contain leading or trailing forward slashes.
31
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
38
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
32
39
  :param pulumi.Input[str] repository_name: Name of the repository.
33
40
  Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment
34
41
  variable.
@@ -40,6 +47,10 @@ class SyncGhDestinationArgs:
40
47
  """
41
48
  if access_token is not None:
42
49
  pulumi.set(__self__, "access_token", access_token)
50
+ if app_name is not None:
51
+ pulumi.set(__self__, "app_name", app_name)
52
+ if installation_id is not None:
53
+ pulumi.set(__self__, "installation_id", installation_id)
43
54
  if name is not None:
44
55
  pulumi.set(__self__, "name", name)
45
56
  if namespace is not None:
@@ -65,6 +76,33 @@ class SyncGhDestinationArgs:
65
76
  def access_token(self, value: Optional[pulumi.Input[str]]):
66
77
  pulumi.set(self, "access_token", value)
67
78
 
79
+ @property
80
+ @pulumi.getter(name="appName")
81
+ def app_name(self) -> Optional[pulumi.Input[str]]:
82
+ """
83
+ The user-defined name of the GitHub App configuration. This is a reference to the name used
84
+ on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
85
+ Takes precedence over the `access_token` field.
86
+ """
87
+ return pulumi.get(self, "app_name")
88
+
89
+ @app_name.setter
90
+ def app_name(self, value: Optional[pulumi.Input[str]]):
91
+ pulumi.set(self, "app_name", value)
92
+
93
+ @property
94
+ @pulumi.getter(name="installationId")
95
+ def installation_id(self) -> Optional[pulumi.Input[int]]:
96
+ """
97
+ The ID of the installation generated by GitHub when the app referenced by the `app_name`
98
+ was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
99
+ """
100
+ return pulumi.get(self, "installation_id")
101
+
102
+ @installation_id.setter
103
+ def installation_id(self, value: Optional[pulumi.Input[int]]):
104
+ pulumi.set(self, "installation_id", value)
105
+
68
106
  @property
69
107
  @pulumi.getter
70
108
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -83,7 +121,7 @@ class SyncGhDestinationArgs:
83
121
  """
84
122
  The namespace to provision the resource in.
85
123
  The value should not contain leading or trailing forward slashes.
86
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
124
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
87
125
  """
88
126
  return pulumi.get(self, "namespace")
89
127
 
@@ -137,6 +175,8 @@ class SyncGhDestinationArgs:
137
175
  class _SyncGhDestinationState:
138
176
  def __init__(__self__, *,
139
177
  access_token: Optional[pulumi.Input[str]] = None,
178
+ app_name: Optional[pulumi.Input[str]] = None,
179
+ installation_id: Optional[pulumi.Input[int]] = None,
140
180
  name: Optional[pulumi.Input[str]] = None,
141
181
  namespace: Optional[pulumi.Input[str]] = None,
142
182
  repository_name: Optional[pulumi.Input[str]] = None,
@@ -148,10 +188,15 @@ class _SyncGhDestinationState:
148
188
  :param pulumi.Input[str] access_token: Fine-grained or personal access token.
149
189
  Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment
150
190
  variable.
191
+ :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
192
+ on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
193
+ Takes precedence over the `access_token` field.
194
+ :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
195
+ was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
151
196
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
152
197
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
153
198
  The value should not contain leading or trailing forward slashes.
154
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
199
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
155
200
  :param pulumi.Input[str] repository_name: Name of the repository.
156
201
  Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment
157
202
  variable.
@@ -164,6 +209,10 @@ class _SyncGhDestinationState:
164
209
  """
165
210
  if access_token is not None:
166
211
  pulumi.set(__self__, "access_token", access_token)
212
+ if app_name is not None:
213
+ pulumi.set(__self__, "app_name", app_name)
214
+ if installation_id is not None:
215
+ pulumi.set(__self__, "installation_id", installation_id)
167
216
  if name is not None:
168
217
  pulumi.set(__self__, "name", name)
169
218
  if namespace is not None:
@@ -191,6 +240,33 @@ class _SyncGhDestinationState:
191
240
  def access_token(self, value: Optional[pulumi.Input[str]]):
192
241
  pulumi.set(self, "access_token", value)
193
242
 
243
+ @property
244
+ @pulumi.getter(name="appName")
245
+ def app_name(self) -> Optional[pulumi.Input[str]]:
246
+ """
247
+ The user-defined name of the GitHub App configuration. This is a reference to the name used
248
+ on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
249
+ Takes precedence over the `access_token` field.
250
+ """
251
+ return pulumi.get(self, "app_name")
252
+
253
+ @app_name.setter
254
+ def app_name(self, value: Optional[pulumi.Input[str]]):
255
+ pulumi.set(self, "app_name", value)
256
+
257
+ @property
258
+ @pulumi.getter(name="installationId")
259
+ def installation_id(self) -> Optional[pulumi.Input[int]]:
260
+ """
261
+ The ID of the installation generated by GitHub when the app referenced by the `app_name`
262
+ was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
263
+ """
264
+ return pulumi.get(self, "installation_id")
265
+
266
+ @installation_id.setter
267
+ def installation_id(self, value: Optional[pulumi.Input[int]]):
268
+ pulumi.set(self, "installation_id", value)
269
+
194
270
  @property
195
271
  @pulumi.getter
196
272
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -209,7 +285,7 @@ class _SyncGhDestinationState:
209
285
  """
210
286
  The namespace to provision the resource in.
211
287
  The value should not contain leading or trailing forward slashes.
212
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
288
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
213
289
  """
214
290
  return pulumi.get(self, "namespace")
215
291
 
@@ -277,6 +353,8 @@ class SyncGhDestination(pulumi.CustomResource):
277
353
  resource_name: str,
278
354
  opts: Optional[pulumi.ResourceOptions] = None,
279
355
  access_token: Optional[pulumi.Input[str]] = None,
356
+ app_name: Optional[pulumi.Input[str]] = None,
357
+ installation_id: Optional[pulumi.Input[int]] = None,
280
358
  name: Optional[pulumi.Input[str]] = None,
281
359
  namespace: Optional[pulumi.Input[str]] = None,
282
360
  repository_name: Optional[pulumi.Input[str]] = None,
@@ -312,10 +390,15 @@ class SyncGhDestination(pulumi.CustomResource):
312
390
  :param pulumi.Input[str] access_token: Fine-grained or personal access token.
313
391
  Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment
314
392
  variable.
393
+ :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
394
+ on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
395
+ Takes precedence over the `access_token` field.
396
+ :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
397
+ was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
315
398
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
316
399
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
317
400
  The value should not contain leading or trailing forward slashes.
318
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
401
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
319
402
  :param pulumi.Input[str] repository_name: Name of the repository.
320
403
  Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment
321
404
  variable.
@@ -371,6 +454,8 @@ class SyncGhDestination(pulumi.CustomResource):
371
454
  resource_name: str,
372
455
  opts: Optional[pulumi.ResourceOptions] = None,
373
456
  access_token: Optional[pulumi.Input[str]] = None,
457
+ app_name: Optional[pulumi.Input[str]] = None,
458
+ installation_id: Optional[pulumi.Input[int]] = None,
374
459
  name: Optional[pulumi.Input[str]] = None,
375
460
  namespace: Optional[pulumi.Input[str]] = None,
376
461
  repository_name: Optional[pulumi.Input[str]] = None,
@@ -386,6 +471,8 @@ class SyncGhDestination(pulumi.CustomResource):
386
471
  __props__ = SyncGhDestinationArgs.__new__(SyncGhDestinationArgs)
387
472
 
388
473
  __props__.__dict__["access_token"] = None if access_token is None else pulumi.Output.secret(access_token)
474
+ __props__.__dict__["app_name"] = app_name
475
+ __props__.__dict__["installation_id"] = installation_id
389
476
  __props__.__dict__["name"] = name
390
477
  __props__.__dict__["namespace"] = namespace
391
478
  __props__.__dict__["repository_name"] = repository_name
@@ -405,6 +492,8 @@ class SyncGhDestination(pulumi.CustomResource):
405
492
  id: pulumi.Input[str],
406
493
  opts: Optional[pulumi.ResourceOptions] = None,
407
494
  access_token: Optional[pulumi.Input[str]] = None,
495
+ app_name: Optional[pulumi.Input[str]] = None,
496
+ installation_id: Optional[pulumi.Input[int]] = None,
408
497
  name: Optional[pulumi.Input[str]] = None,
409
498
  namespace: Optional[pulumi.Input[str]] = None,
410
499
  repository_name: Optional[pulumi.Input[str]] = None,
@@ -421,10 +510,15 @@ class SyncGhDestination(pulumi.CustomResource):
421
510
  :param pulumi.Input[str] access_token: Fine-grained or personal access token.
422
511
  Can be omitted and directly provided to Vault using the `GITHUB_ACCESS_TOKEN` environment
423
512
  variable.
513
+ :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
514
+ on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
515
+ Takes precedence over the `access_token` field.
516
+ :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
517
+ was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
424
518
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
425
519
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
426
520
  The value should not contain leading or trailing forward slashes.
427
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
521
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
428
522
  :param pulumi.Input[str] repository_name: Name of the repository.
429
523
  Can be omitted and directly provided to Vault using the `GITHUB_REPOSITORY_NAME` environment
430
524
  variable.
@@ -440,6 +534,8 @@ class SyncGhDestination(pulumi.CustomResource):
440
534
  __props__ = _SyncGhDestinationState.__new__(_SyncGhDestinationState)
441
535
 
442
536
  __props__.__dict__["access_token"] = access_token
537
+ __props__.__dict__["app_name"] = app_name
538
+ __props__.__dict__["installation_id"] = installation_id
443
539
  __props__.__dict__["name"] = name
444
540
  __props__.__dict__["namespace"] = namespace
445
541
  __props__.__dict__["repository_name"] = repository_name
@@ -458,6 +554,25 @@ class SyncGhDestination(pulumi.CustomResource):
458
554
  """
459
555
  return pulumi.get(self, "access_token")
460
556
 
557
+ @property
558
+ @pulumi.getter(name="appName")
559
+ def app_name(self) -> pulumi.Output[Optional[str]]:
560
+ """
561
+ The user-defined name of the GitHub App configuration. This is a reference to the name used
562
+ on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
563
+ Takes precedence over the `access_token` field.
564
+ """
565
+ return pulumi.get(self, "app_name")
566
+
567
+ @property
568
+ @pulumi.getter(name="installationId")
569
+ def installation_id(self) -> pulumi.Output[Optional[int]]:
570
+ """
571
+ The ID of the installation generated by GitHub when the app referenced by the `app_name`
572
+ was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
573
+ """
574
+ return pulumi.get(self, "installation_id")
575
+
461
576
  @property
462
577
  @pulumi.getter
463
578
  def name(self) -> pulumi.Output[str]:
@@ -472,7 +587,7 @@ class SyncGhDestination(pulumi.CustomResource):
472
587
  """
473
588
  The namespace to provision the resource in.
474
589
  The value should not contain leading or trailing forward slashes.
475
- The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
590
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
476
591
  """
477
592
  return pulumi.get(self, "namespace")
478
593