pulumi-vault 5.21.0a1709368526__py3-none-any.whl → 5.21.0a1710888431__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.
- pulumi_vault/ad/get_access_credentials.py +4 -2
- pulumi_vault/ad/secret_backend.py +6 -2
- pulumi_vault/ad/secret_library.py +6 -2
- pulumi_vault/ad/secret_role.py +6 -2
- pulumi_vault/alicloud/auth_backend_role.py +6 -2
- pulumi_vault/approle/auth_backend_login.py +4 -0
- pulumi_vault/approle/auth_backend_role.py +6 -2
- pulumi_vault/approle/auth_backend_role_secret_id.py +4 -0
- pulumi_vault/approle/get_auth_backend_role_id.py +4 -0
- pulumi_vault/audit.py +14 -2
- pulumi_vault/audit_request_header.py +4 -0
- pulumi_vault/auth_backend.py +2 -2
- pulumi_vault/aws/auth_backend_cert.py +6 -2
- pulumi_vault/aws/auth_backend_client.py +6 -2
- pulumi_vault/aws/auth_backend_config_identity.py +6 -2
- pulumi_vault/aws/auth_backend_identity_whitelist.py +6 -2
- pulumi_vault/aws/auth_backend_role.py +6 -2
- pulumi_vault/aws/auth_backend_roletag_blacklist.py +4 -0
- pulumi_vault/aws/auth_backend_sts_role.py +6 -2
- pulumi_vault/aws/get_access_credentials.py +4 -2
- pulumi_vault/aws/secret_backend.py +2 -2
- pulumi_vault/aws/secret_backend_role.py +6 -2
- pulumi_vault/aws/secret_backend_static_role.py +10 -4
- pulumi_vault/azure/auth_backend_config.py +6 -2
- pulumi_vault/azure/auth_backend_role.py +6 -2
- pulumi_vault/azure/backend.py +12 -0
- pulumi_vault/azure/backend_role.py +4 -0
- pulumi_vault/azure/get_access_credentials.py +6 -0
- pulumi_vault/cert_auth_backend_role.py +4 -0
- pulumi_vault/consul/secret_backend.py +14 -2
- pulumi_vault/consul/secret_backend_role.py +8 -2
- pulumi_vault/database/secret_backend_connection.py +6 -2
- pulumi_vault/database/secret_backend_role.py +6 -2
- pulumi_vault/database/secret_backend_static_role.py +6 -2
- pulumi_vault/database/secrets_mount.py +6 -2
- pulumi_vault/egp_policy.py +4 -0
- pulumi_vault/gcp/auth_backend.py +6 -2
- pulumi_vault/gcp/auth_backend_role.py +6 -2
- pulumi_vault/gcp/get_auth_backend_role.py +4 -0
- pulumi_vault/gcp/secret_backend.py +4 -0
- pulumi_vault/gcp/secret_impersonated_account.py +6 -2
- pulumi_vault/gcp/secret_roleset.py +6 -2
- pulumi_vault/gcp/secret_static_account.py +6 -2
- pulumi_vault/generic/endpoint.py +6 -0
- pulumi_vault/generic/get_secret.py +6 -6
- pulumi_vault/generic/secret.py +2 -2
- pulumi_vault/get_auth_backend.py +4 -0
- pulumi_vault/get_auth_backends.py +22 -2
- pulumi_vault/get_nomad_access_token.py +4 -0
- pulumi_vault/get_policy_document.py +4 -0
- pulumi_vault/get_raft_autopilot_state.py +4 -0
- pulumi_vault/github/auth_backend.py +6 -2
- pulumi_vault/github/team.py +6 -2
- pulumi_vault/github/user.py +6 -2
- pulumi_vault/identity/entity.py +6 -2
- pulumi_vault/identity/entity_alias.py +6 -2
- pulumi_vault/identity/entity_policies.py +12 -0
- pulumi_vault/identity/get_entity.py +6 -0
- pulumi_vault/identity/get_group.py +6 -0
- pulumi_vault/identity/get_oidc_client_creds.py +4 -0
- pulumi_vault/identity/get_oidc_openid_config.py +4 -0
- pulumi_vault/identity/get_oidc_public_keys.py +4 -0
- pulumi_vault/identity/group.py +20 -2
- pulumi_vault/identity/group_alias.py +6 -2
- pulumi_vault/identity/group_member_entity_ids.py +12 -0
- pulumi_vault/identity/group_member_group_ids.py +12 -0
- pulumi_vault/identity/group_policies.py +12 -0
- pulumi_vault/identity/mfa_duo.py +6 -2
- pulumi_vault/identity/mfa_login_enforcement.py +6 -2
- pulumi_vault/identity/mfa_okta.py +6 -2
- pulumi_vault/identity/mfa_pingid.py +6 -2
- pulumi_vault/identity/mfa_totp.py +6 -2
- pulumi_vault/identity/oidc.py +4 -0
- pulumi_vault/identity/oidc_assignment.py +6 -2
- pulumi_vault/identity/oidc_client.py +6 -2
- pulumi_vault/identity/oidc_key.py +6 -2
- pulumi_vault/identity/oidc_key_allowed_client_id.py +4 -0
- pulumi_vault/identity/oidc_provider.py +6 -2
- pulumi_vault/identity/oidc_role.py +10 -2
- pulumi_vault/identity/oidc_scope.py +6 -2
- pulumi_vault/jwt/auth_backend.py +18 -6
- pulumi_vault/jwt/auth_backend_role.py +10 -2
- pulumi_vault/kmip/secret_backend.py +6 -2
- pulumi_vault/kmip/secret_role.py +6 -2
- pulumi_vault/kmip/secret_scope.py +6 -2
- pulumi_vault/kubernetes/auth_backend_config.py +6 -2
- pulumi_vault/kubernetes/auth_backend_role.py +6 -2
- pulumi_vault/kubernetes/get_service_account_token.py +4 -0
- pulumi_vault/kubernetes/secret_backend.py +6 -2
- pulumi_vault/kubernetes/secret_backend_role.py +14 -2
- pulumi_vault/kv/get_secret.py +6 -0
- pulumi_vault/kv/get_secret_subkeys_v2.py +6 -0
- pulumi_vault/kv/get_secret_v2.py +2 -6
- pulumi_vault/kv/get_secrets_list.py +6 -0
- pulumi_vault/kv/get_secrets_list_v2.py +6 -0
- pulumi_vault/kv/secret.py +8 -2
- pulumi_vault/kv/secret_backend_v2.py +12 -4
- pulumi_vault/kv/secret_v2.py +8 -2
- pulumi_vault/ldap/auth_backend.py +6 -2
- pulumi_vault/ldap/auth_backend_group.py +6 -2
- pulumi_vault/ldap/auth_backend_user.py +6 -2
- pulumi_vault/ldap/secret_backend.py +6 -2
- pulumi_vault/ldap/secret_backend_dynamic_role.py +10 -4
- pulumi_vault/ldap/secret_backend_library_set.py +6 -2
- pulumi_vault/ldap/secret_backend_static_role.py +10 -4
- pulumi_vault/managed/keys.py +2 -14
- pulumi_vault/mfa_duo.py +6 -2
- pulumi_vault/mfa_okta.py +6 -2
- pulumi_vault/mfa_pingid.py +6 -2
- pulumi_vault/mfa_totp.py +6 -2
- pulumi_vault/mongodbatlas/secret_backend.py +6 -2
- pulumi_vault/mongodbatlas/secret_role.py +10 -4
- pulumi_vault/mount.py +18 -2
- pulumi_vault/namespace.py +42 -62
- pulumi_vault/nomad_secret_backend.py +6 -2
- pulumi_vault/nomad_secret_role.py +6 -2
- pulumi_vault/okta/auth_backend.py +6 -2
- pulumi_vault/okta/auth_backend_group.py +6 -2
- pulumi_vault/okta/auth_backend_user.py +6 -2
- pulumi_vault/password_policy.py +6 -2
- pulumi_vault/pkisecret/get_backend_issuer.py +4 -2
- pulumi_vault/pkisecret/get_backend_issuers.py +4 -0
- pulumi_vault/pkisecret/get_backend_key.py +4 -0
- pulumi_vault/pkisecret/get_backend_keys.py +4 -0
- pulumi_vault/pkisecret/secret_backend_cert.py +4 -0
- pulumi_vault/pkisecret/secret_backend_config_ca.py +4 -0
- pulumi_vault/pkisecret/secret_backend_config_issuers.py +6 -2
- pulumi_vault/pkisecret/secret_backend_config_urls.py +12 -4
- pulumi_vault/pkisecret/secret_backend_crl_config.py +4 -0
- pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +4 -0
- pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +4 -0
- pulumi_vault/pkisecret/secret_backend_issuer.py +6 -2
- pulumi_vault/pkisecret/secret_backend_key.py +2 -2
- pulumi_vault/pkisecret/secret_backend_role.py +6 -2
- pulumi_vault/pkisecret/secret_backend_root_cert.py +4 -0
- pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +6 -0
- pulumi_vault/pkisecret/secret_backend_sign.py +6 -0
- pulumi_vault/policy.py +2 -2
- pulumi_vault/quota_lease_count.py +6 -2
- pulumi_vault/quota_rate_limit.py +6 -2
- pulumi_vault/rabbitmq/secret_backend.py +6 -2
- pulumi_vault/rabbitmq/secret_backend_role.py +6 -2
- pulumi_vault/raft_autopilot.py +6 -2
- pulumi_vault/raft_snapshot_agent_config.py +111 -16
- pulumi_vault/rgp_policy.py +4 -0
- pulumi_vault/saml/auth_backend.py +6 -2
- pulumi_vault/saml/auth_backend_role.py +6 -2
- pulumi_vault/secrets/sync_association.py +4 -0
- pulumi_vault/secrets/sync_aws_destination.py +6 -2
- pulumi_vault/secrets/sync_azure_destination.py +6 -2
- pulumi_vault/secrets/sync_config.py +6 -2
- pulumi_vault/secrets/sync_gcp_destination.py +6 -2
- pulumi_vault/secrets/sync_gh_destination.py +6 -2
- pulumi_vault/secrets/sync_vercel_destination.py +6 -2
- pulumi_vault/ssh/_inputs.py +4 -0
- pulumi_vault/ssh/outputs.py +4 -0
- pulumi_vault/ssh/secret_backend_ca.py +6 -2
- pulumi_vault/ssh/secret_backend_role.py +6 -2
- pulumi_vault/terraformcloud/secret_backend.py +6 -2
- pulumi_vault/terraformcloud/secret_creds.py +4 -0
- pulumi_vault/terraformcloud/secret_role.py +6 -2
- pulumi_vault/token.py +6 -2
- pulumi_vault/tokenauth/auth_backend_role.py +6 -2
- pulumi_vault/transform/alphabet.py +4 -0
- pulumi_vault/transform/get_decode.py +4 -0
- pulumi_vault/transform/get_encode.py +4 -0
- pulumi_vault/transform/role.py +4 -0
- pulumi_vault/transform/template.py +4 -0
- pulumi_vault/transit/get_decrypt.py +4 -0
- pulumi_vault/transit/secret_backend_key.py +8 -2
- pulumi_vault/transit/secret_cache_config.py +4 -0
- {pulumi_vault-5.21.0a1709368526.dist-info → pulumi_vault-5.21.0a1710888431.dist-info}/METADATA +1 -1
- pulumi_vault-5.21.0a1710888431.dist-info/RECORD +244 -0
- {pulumi_vault-5.21.0a1709368526.dist-info → pulumi_vault-5.21.0a1710888431.dist-info}/WHEEL +1 -1
- pulumi_vault-5.21.0a1709368526.dist-info/RECORD +0 -244
- {pulumi_vault-5.21.0a1709368526.dist-info → pulumi_vault-5.21.0a1710888431.dist-info}/top_level.txt +0 -0
@@ -300,6 +300,7 @@ class SyncVercelDestination(pulumi.CustomResource):
|
|
300
300
|
"""
|
301
301
|
## Example Usage
|
302
302
|
|
303
|
+
<!--Start PulumiCodeChooser -->
|
303
304
|
```python
|
304
305
|
import pulumi
|
305
306
|
import pulumi_vault as vault
|
@@ -314,13 +315,14 @@ class SyncVercelDestination(pulumi.CustomResource):
|
|
314
315
|
],
|
315
316
|
secret_name_template="vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}")
|
316
317
|
```
|
318
|
+
<!--End PulumiCodeChooser -->
|
317
319
|
|
318
320
|
## Import
|
319
321
|
|
320
322
|
GitHub Secrets sync destinations can be imported using the `name`, e.g.
|
321
323
|
|
322
324
|
```sh
|
323
|
-
|
325
|
+
$ pulumi import vault:secrets/syncVercelDestination:SyncVercelDestination vercel vercel-dest
|
324
326
|
```
|
325
327
|
|
326
328
|
:param str resource_name: The name of the resource.
|
@@ -347,6 +349,7 @@ class SyncVercelDestination(pulumi.CustomResource):
|
|
347
349
|
"""
|
348
350
|
## Example Usage
|
349
351
|
|
352
|
+
<!--Start PulumiCodeChooser -->
|
350
353
|
```python
|
351
354
|
import pulumi
|
352
355
|
import pulumi_vault as vault
|
@@ -361,13 +364,14 @@ class SyncVercelDestination(pulumi.CustomResource):
|
|
361
364
|
],
|
362
365
|
secret_name_template="vault_{{ .MountAccessor | lowercase }}_{{ .SecretPath | lowercase }}")
|
363
366
|
```
|
367
|
+
<!--End PulumiCodeChooser -->
|
364
368
|
|
365
369
|
## Import
|
366
370
|
|
367
371
|
GitHub Secrets sync destinations can be imported using the `name`, e.g.
|
368
372
|
|
369
373
|
```sh
|
370
|
-
|
374
|
+
$ pulumi import vault:secrets/syncVercelDestination:SyncVercelDestination vercel vercel-dest
|
371
375
|
```
|
372
376
|
|
373
377
|
:param str resource_name: The name of the resource.
|
pulumi_vault/ssh/_inputs.py
CHANGED
@@ -26,9 +26,11 @@ class SecretBackendRoleAllowedUserKeyConfigArgs:
|
|
26
26
|
|
27
27
|
Example configuration blocks that might be included in the `ssh.SecretBackendRole`
|
28
28
|
|
29
|
+
<!--Start PulumiCodeChooser -->
|
29
30
|
```python
|
30
31
|
import pulumi
|
31
32
|
```
|
33
|
+
<!--End PulumiCodeChooser -->
|
32
34
|
:param pulumi.Input[str] type: The SSH public key type.
|
33
35
|
*Supported key types are:*
|
34
36
|
`rsa`, `ecdsa`, `ec`, `dsa`, `ed25519`, `ssh-rsa`, `ssh-dss`, `ssh-ed25519`,
|
@@ -48,9 +50,11 @@ class SecretBackendRoleAllowedUserKeyConfigArgs:
|
|
48
50
|
|
49
51
|
Example configuration blocks that might be included in the `ssh.SecretBackendRole`
|
50
52
|
|
53
|
+
<!--Start PulumiCodeChooser -->
|
51
54
|
```python
|
52
55
|
import pulumi
|
53
56
|
```
|
57
|
+
<!--End PulumiCodeChooser -->
|
54
58
|
"""
|
55
59
|
return pulumi.get(self, "lengths")
|
56
60
|
|
pulumi_vault/ssh/outputs.py
CHANGED
@@ -26,9 +26,11 @@ class SecretBackendRoleAllowedUserKeyConfig(dict):
|
|
26
26
|
|
27
27
|
Example configuration blocks that might be included in the `ssh.SecretBackendRole`
|
28
28
|
|
29
|
+
<!--Start PulumiCodeChooser -->
|
29
30
|
```python
|
30
31
|
import pulumi
|
31
32
|
```
|
33
|
+
<!--End PulumiCodeChooser -->
|
32
34
|
:param str type: The SSH public key type.
|
33
35
|
*Supported key types are:*
|
34
36
|
`rsa`, `ecdsa`, `ec`, `dsa`, `ed25519`, `ssh-rsa`, `ssh-dss`, `ssh-ed25519`,
|
@@ -48,9 +50,11 @@ class SecretBackendRoleAllowedUserKeyConfig(dict):
|
|
48
50
|
|
49
51
|
Example configuration blocks that might be included in the `ssh.SecretBackendRole`
|
50
52
|
|
53
|
+
<!--Start PulumiCodeChooser -->
|
51
54
|
```python
|
52
55
|
import pulumi
|
53
56
|
```
|
57
|
+
<!--End PulumiCodeChooser -->
|
54
58
|
"""
|
55
59
|
return pulumi.get(self, "lengths")
|
56
60
|
|
@@ -216,6 +216,7 @@ class SecretBackendCa(pulumi.CustomResource):
|
|
216
216
|
|
217
217
|
## Example Usage
|
218
218
|
|
219
|
+
<!--Start PulumiCodeChooser -->
|
219
220
|
```python
|
220
221
|
import pulumi
|
221
222
|
import pulumi_vault as vault
|
@@ -223,13 +224,14 @@ class SecretBackendCa(pulumi.CustomResource):
|
|
223
224
|
example = vault.Mount("example", type="ssh")
|
224
225
|
foo = vault.ssh.SecretBackendCa("foo", backend=example.path)
|
225
226
|
```
|
227
|
+
<!--End PulumiCodeChooser -->
|
226
228
|
|
227
229
|
## Import
|
228
230
|
|
229
231
|
SSH secret backend CAs can be imported using the `path`, e.g.
|
230
232
|
|
231
233
|
```sh
|
232
|
-
|
234
|
+
$ pulumi import vault:ssh/secretBackendCa:SecretBackendCa foo ssh
|
233
235
|
```
|
234
236
|
|
235
237
|
:param str resource_name: The name of the resource.
|
@@ -255,6 +257,7 @@ class SecretBackendCa(pulumi.CustomResource):
|
|
255
257
|
|
256
258
|
## Example Usage
|
257
259
|
|
260
|
+
<!--Start PulumiCodeChooser -->
|
258
261
|
```python
|
259
262
|
import pulumi
|
260
263
|
import pulumi_vault as vault
|
@@ -262,13 +265,14 @@ class SecretBackendCa(pulumi.CustomResource):
|
|
262
265
|
example = vault.Mount("example", type="ssh")
|
263
266
|
foo = vault.ssh.SecretBackendCa("foo", backend=example.path)
|
264
267
|
```
|
268
|
+
<!--End PulumiCodeChooser -->
|
265
269
|
|
266
270
|
## Import
|
267
271
|
|
268
272
|
SSH secret backend CAs can be imported using the `path`, e.g.
|
269
273
|
|
270
274
|
```sh
|
271
|
-
|
275
|
+
$ pulumi import vault:ssh/secretBackendCa:SecretBackendCa foo ssh
|
272
276
|
```
|
273
277
|
|
274
278
|
:param str resource_name: The name of the resource.
|
@@ -974,6 +974,7 @@ class SecretBackendRole(pulumi.CustomResource):
|
|
974
974
|
|
975
975
|
## Example Usage
|
976
976
|
|
977
|
+
<!--Start PulumiCodeChooser -->
|
977
978
|
```python
|
978
979
|
import pulumi
|
979
980
|
import pulumi_vault as vault
|
@@ -990,13 +991,14 @@ class SecretBackendRole(pulumi.CustomResource):
|
|
990
991
|
allowed_users="default,baz",
|
991
992
|
cidr_list="0.0.0.0/0")
|
992
993
|
```
|
994
|
+
<!--End PulumiCodeChooser -->
|
993
995
|
|
994
996
|
## Import
|
995
997
|
|
996
998
|
SSH secret backend roles can be imported using the `path`, e.g.
|
997
999
|
|
998
1000
|
```sh
|
999
|
-
|
1001
|
+
$ pulumi import vault:ssh/secretBackendRole:SecretBackendRole foo ssh/roles/my-role
|
1000
1002
|
```
|
1001
1003
|
|
1002
1004
|
:param str resource_name: The name of the resource.
|
@@ -1049,6 +1051,7 @@ class SecretBackendRole(pulumi.CustomResource):
|
|
1049
1051
|
|
1050
1052
|
## Example Usage
|
1051
1053
|
|
1054
|
+
<!--Start PulumiCodeChooser -->
|
1052
1055
|
```python
|
1053
1056
|
import pulumi
|
1054
1057
|
import pulumi_vault as vault
|
@@ -1065,13 +1068,14 @@ class SecretBackendRole(pulumi.CustomResource):
|
|
1065
1068
|
allowed_users="default,baz",
|
1066
1069
|
cidr_list="0.0.0.0/0")
|
1067
1070
|
```
|
1071
|
+
<!--End PulumiCodeChooser -->
|
1068
1072
|
|
1069
1073
|
## Import
|
1070
1074
|
|
1071
1075
|
SSH secret backend roles can be imported using the `path`, e.g.
|
1072
1076
|
|
1073
1077
|
```sh
|
1074
|
-
|
1078
|
+
$ pulumi import vault:ssh/secretBackendRole:SecretBackendRole foo ssh/roles/my-role
|
1075
1079
|
```
|
1076
1080
|
|
1077
1081
|
:param str resource_name: The name of the resource.
|
@@ -353,6 +353,7 @@ class SecretBackend(pulumi.CustomResource):
|
|
353
353
|
"""
|
354
354
|
## Example Usage
|
355
355
|
|
356
|
+
<!--Start PulumiCodeChooser -->
|
356
357
|
```python
|
357
358
|
import pulumi
|
358
359
|
import pulumi_vault as vault
|
@@ -362,13 +363,14 @@ class SecretBackend(pulumi.CustomResource):
|
|
362
363
|
description="Manages the Terraform Cloud backend",
|
363
364
|
token="V0idfhi2iksSDU234ucdbi2nidsi...")
|
364
365
|
```
|
366
|
+
<!--End PulumiCodeChooser -->
|
365
367
|
|
366
368
|
## Import
|
367
369
|
|
368
370
|
Terraform Cloud secret backends can be imported using the `backend`, e.g.
|
369
371
|
|
370
372
|
```sh
|
371
|
-
|
373
|
+
$ pulumi import vault:terraformcloud/secretBackend:SecretBackend example terraform
|
372
374
|
```
|
373
375
|
|
374
376
|
:param str resource_name: The name of the resource.
|
@@ -397,6 +399,7 @@ class SecretBackend(pulumi.CustomResource):
|
|
397
399
|
"""
|
398
400
|
## Example Usage
|
399
401
|
|
402
|
+
<!--Start PulumiCodeChooser -->
|
400
403
|
```python
|
401
404
|
import pulumi
|
402
405
|
import pulumi_vault as vault
|
@@ -406,13 +409,14 @@ class SecretBackend(pulumi.CustomResource):
|
|
406
409
|
description="Manages the Terraform Cloud backend",
|
407
410
|
token="V0idfhi2iksSDU234ucdbi2nidsi...")
|
408
411
|
```
|
412
|
+
<!--End PulumiCodeChooser -->
|
409
413
|
|
410
414
|
## Import
|
411
415
|
|
412
416
|
Terraform Cloud secret backends can be imported using the `backend`, e.g.
|
413
417
|
|
414
418
|
```sh
|
415
|
-
|
419
|
+
$ pulumi import vault:terraformcloud/secretBackend:SecretBackend example terraform
|
416
420
|
```
|
417
421
|
|
418
422
|
:param str resource_name: The name of the resource.
|
@@ -231,6 +231,7 @@ class SecretCreds(pulumi.CustomResource):
|
|
231
231
|
"""
|
232
232
|
## Example Usage
|
233
233
|
|
234
|
+
<!--Start PulumiCodeChooser -->
|
234
235
|
```python
|
235
236
|
import pulumi
|
236
237
|
import pulumi_vault as vault
|
@@ -247,6 +248,7 @@ class SecretCreds(pulumi.CustomResource):
|
|
247
248
|
backend=test.backend,
|
248
249
|
role=example.name)
|
249
250
|
```
|
251
|
+
<!--End PulumiCodeChooser -->
|
250
252
|
|
251
253
|
:param str resource_name: The name of the resource.
|
252
254
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -266,6 +268,7 @@ class SecretCreds(pulumi.CustomResource):
|
|
266
268
|
"""
|
267
269
|
## Example Usage
|
268
270
|
|
271
|
+
<!--Start PulumiCodeChooser -->
|
269
272
|
```python
|
270
273
|
import pulumi
|
271
274
|
import pulumi_vault as vault
|
@@ -282,6 +285,7 @@ class SecretCreds(pulumi.CustomResource):
|
|
282
285
|
backend=test.backend,
|
283
286
|
role=example.name)
|
284
287
|
```
|
288
|
+
<!--End PulumiCodeChooser -->
|
285
289
|
|
286
290
|
:param str resource_name: The name of the resource.
|
287
291
|
:param SecretCredsArgs args: The arguments to use to populate this resource's properties.
|
@@ -312,6 +312,7 @@ class SecretRole(pulumi.CustomResource):
|
|
312
312
|
"""
|
313
313
|
## Example Usage
|
314
314
|
|
315
|
+
<!--Start PulumiCodeChooser -->
|
315
316
|
```python
|
316
317
|
import pulumi
|
317
318
|
import pulumi_vault as vault
|
@@ -325,13 +326,14 @@ class SecretRole(pulumi.CustomResource):
|
|
325
326
|
organization="example-organization-name",
|
326
327
|
team_id="team-ieF4isC...")
|
327
328
|
```
|
329
|
+
<!--End PulumiCodeChooser -->
|
328
330
|
|
329
331
|
## Import
|
330
332
|
|
331
333
|
Terraform Cloud secret backend roles can be imported using the `backend`, `/roles/`, and the `name` e.g.
|
332
334
|
|
333
335
|
```sh
|
334
|
-
|
336
|
+
$ pulumi import vault:terraformcloud/secretRole:SecretRole example terraform/roles/my-role
|
335
337
|
```
|
336
338
|
|
337
339
|
:param str resource_name: The name of the resource.
|
@@ -357,6 +359,7 @@ class SecretRole(pulumi.CustomResource):
|
|
357
359
|
"""
|
358
360
|
## Example Usage
|
359
361
|
|
362
|
+
<!--Start PulumiCodeChooser -->
|
360
363
|
```python
|
361
364
|
import pulumi
|
362
365
|
import pulumi_vault as vault
|
@@ -370,13 +373,14 @@ class SecretRole(pulumi.CustomResource):
|
|
370
373
|
organization="example-organization-name",
|
371
374
|
team_id="team-ieF4isC...")
|
372
375
|
```
|
376
|
+
<!--End PulumiCodeChooser -->
|
373
377
|
|
374
378
|
## Import
|
375
379
|
|
376
380
|
Terraform Cloud secret backend roles can be imported using the `backend`, `/roles/`, and the `name` e.g.
|
377
381
|
|
378
382
|
```sh
|
379
|
-
|
383
|
+
$ pulumi import vault:terraformcloud/secretRole:SecretRole example terraform/roles/my-role
|
380
384
|
```
|
381
385
|
|
382
386
|
:param str resource_name: The name of the resource.
|
pulumi_vault/token.py
CHANGED
@@ -623,6 +623,7 @@ class Token(pulumi.CustomResource):
|
|
623
623
|
"""
|
624
624
|
## Example Usage
|
625
625
|
|
626
|
+
<!--Start PulumiCodeChooser -->
|
626
627
|
```python
|
627
628
|
import pulumi
|
628
629
|
import pulumi_vault as vault
|
@@ -641,13 +642,14 @@ class Token(pulumi.CustomResource):
|
|
641
642
|
role_name="app",
|
642
643
|
ttl="24h")
|
643
644
|
```
|
645
|
+
<!--End PulumiCodeChooser -->
|
644
646
|
|
645
647
|
## Import
|
646
648
|
|
647
649
|
Tokens can be imported using its `id` as accessor id, e.g.
|
648
650
|
|
649
651
|
```sh
|
650
|
-
|
652
|
+
$ pulumi import vault:index/token:Token example <accessor_id>
|
651
653
|
```
|
652
654
|
|
653
655
|
:param str resource_name: The name of the resource.
|
@@ -680,6 +682,7 @@ class Token(pulumi.CustomResource):
|
|
680
682
|
"""
|
681
683
|
## Example Usage
|
682
684
|
|
685
|
+
<!--Start PulumiCodeChooser -->
|
683
686
|
```python
|
684
687
|
import pulumi
|
685
688
|
import pulumi_vault as vault
|
@@ -698,13 +701,14 @@ class Token(pulumi.CustomResource):
|
|
698
701
|
role_name="app",
|
699
702
|
ttl="24h")
|
700
703
|
```
|
704
|
+
<!--End PulumiCodeChooser -->
|
701
705
|
|
702
706
|
## Import
|
703
707
|
|
704
708
|
Tokens can be imported using its `id` as accessor id, e.g.
|
705
709
|
|
706
710
|
```sh
|
707
|
-
|
711
|
+
$ pulumi import vault:index/token:Token example <accessor_id>
|
708
712
|
```
|
709
713
|
|
710
714
|
:param str resource_name: The name of the resource.
|
@@ -750,6 +750,7 @@ class AuthBackendRole(pulumi.CustomResource):
|
|
750
750
|
|
751
751
|
## Example Usage
|
752
752
|
|
753
|
+
<!--Start PulumiCodeChooser -->
|
753
754
|
```python
|
754
755
|
import pulumi
|
755
756
|
import pulumi_vault as vault
|
@@ -768,13 +769,14 @@ class AuthBackendRole(pulumi.CustomResource):
|
|
768
769
|
token_explicit_max_ttl=115200,
|
769
770
|
token_period=86400)
|
770
771
|
```
|
772
|
+
<!--End PulumiCodeChooser -->
|
771
773
|
|
772
774
|
## Import
|
773
775
|
|
774
776
|
Token auth backend roles can be imported with `auth/token/roles/` followed by the `role_name`, e.g.
|
775
777
|
|
776
778
|
```sh
|
777
|
-
|
779
|
+
$ pulumi import vault:tokenauth/authBackendRole:AuthBackendRole example auth/token/roles/my-role
|
778
780
|
```
|
779
781
|
|
780
782
|
:param str resource_name: The name of the resource.
|
@@ -833,6 +835,7 @@ class AuthBackendRole(pulumi.CustomResource):
|
|
833
835
|
|
834
836
|
## Example Usage
|
835
837
|
|
838
|
+
<!--Start PulumiCodeChooser -->
|
836
839
|
```python
|
837
840
|
import pulumi
|
838
841
|
import pulumi_vault as vault
|
@@ -851,13 +854,14 @@ class AuthBackendRole(pulumi.CustomResource):
|
|
851
854
|
token_explicit_max_ttl=115200,
|
852
855
|
token_period=86400)
|
853
856
|
```
|
857
|
+
<!--End PulumiCodeChooser -->
|
854
858
|
|
855
859
|
## Import
|
856
860
|
|
857
861
|
Token auth backend roles can be imported with `auth/token/roles/` followed by the `role_name`, e.g.
|
858
862
|
|
859
863
|
```sh
|
860
|
-
|
864
|
+
$ pulumi import vault:tokenauth/authBackendRole:AuthBackendRole example auth/token/roles/my-role
|
861
865
|
```
|
862
866
|
|
863
867
|
:param str resource_name: The name of the resource.
|
@@ -183,6 +183,7 @@ class Alphabet(pulumi.CustomResource):
|
|
183
183
|
|
184
184
|
## Example Usage
|
185
185
|
|
186
|
+
<!--Start PulumiCodeChooser -->
|
186
187
|
```python
|
187
188
|
import pulumi
|
188
189
|
import pulumi_vault as vault
|
@@ -194,6 +195,7 @@ class Alphabet(pulumi.CustomResource):
|
|
194
195
|
path=mount_transform.path,
|
195
196
|
alphabet="0123456789")
|
196
197
|
```
|
198
|
+
<!--End PulumiCodeChooser -->
|
197
199
|
|
198
200
|
:param str resource_name: The name of the resource.
|
199
201
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -218,6 +220,7 @@ class Alphabet(pulumi.CustomResource):
|
|
218
220
|
|
219
221
|
## Example Usage
|
220
222
|
|
223
|
+
<!--Start PulumiCodeChooser -->
|
221
224
|
```python
|
222
225
|
import pulumi
|
223
226
|
import pulumi_vault as vault
|
@@ -229,6 +232,7 @@ class Alphabet(pulumi.CustomResource):
|
|
229
232
|
path=mount_transform.path,
|
230
233
|
alphabet="0123456789")
|
231
234
|
```
|
235
|
+
<!--End PulumiCodeChooser -->
|
232
236
|
|
233
237
|
:param str resource_name: The name of the resource.
|
234
238
|
:param AlphabetArgs args: The arguments to use to populate this resource's properties.
|
@@ -142,6 +142,7 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
|
142
142
|
|
143
143
|
## Example Usage
|
144
144
|
|
145
|
+
<!--Start PulumiCodeChooser -->
|
145
146
|
```python
|
146
147
|
import pulumi
|
147
148
|
import pulumi_vault as vault
|
@@ -162,6 +163,7 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
|
162
163
|
role_name="payments",
|
163
164
|
value="9300-3376-4943-8903")
|
164
165
|
```
|
166
|
+
<!--End PulumiCodeChooser -->
|
165
167
|
|
166
168
|
|
167
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.
|
@@ -221,6 +223,7 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
221
223
|
|
222
224
|
## Example Usage
|
223
225
|
|
226
|
+
<!--Start PulumiCodeChooser -->
|
224
227
|
```python
|
225
228
|
import pulumi
|
226
229
|
import pulumi_vault as vault
|
@@ -241,6 +244,7 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
241
244
|
role_name="payments",
|
242
245
|
value="9300-3376-4943-8903")
|
243
246
|
```
|
247
|
+
<!--End PulumiCodeChooser -->
|
244
248
|
|
245
249
|
|
246
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,6 +142,7 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
|
142
142
|
|
143
143
|
## Example Usage
|
144
144
|
|
145
|
+
<!--Start PulumiCodeChooser -->
|
145
146
|
```python
|
146
147
|
import pulumi
|
147
148
|
import pulumi_vault as vault
|
@@ -164,6 +165,7 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
|
164
165
|
"value": "1111-2222-3333-4444",
|
165
166
|
}])
|
166
167
|
```
|
168
|
+
<!--End PulumiCodeChooser -->
|
167
169
|
|
168
170
|
|
169
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.
|
@@ -223,6 +225,7 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
223
225
|
|
224
226
|
## Example Usage
|
225
227
|
|
228
|
+
<!--Start PulumiCodeChooser -->
|
226
229
|
```python
|
227
230
|
import pulumi
|
228
231
|
import pulumi_vault as vault
|
@@ -245,6 +248,7 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
245
248
|
"value": "1111-2222-3333-4444",
|
246
249
|
}])
|
247
250
|
```
|
251
|
+
<!--End PulumiCodeChooser -->
|
248
252
|
|
249
253
|
|
250
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.
|
pulumi_vault/transform/role.py
CHANGED
@@ -184,6 +184,7 @@ class Role(pulumi.CustomResource):
|
|
184
184
|
|
185
185
|
## Example Usage
|
186
186
|
|
187
|
+
<!--Start PulumiCodeChooser -->
|
187
188
|
```python
|
188
189
|
import pulumi
|
189
190
|
import pulumi_vault as vault
|
@@ -195,6 +196,7 @@ class Role(pulumi.CustomResource):
|
|
195
196
|
path=mount_transform.path,
|
196
197
|
transformations=["ccn-fpe"])
|
197
198
|
```
|
199
|
+
<!--End PulumiCodeChooser -->
|
198
200
|
|
199
201
|
:param str resource_name: The name of the resource.
|
200
202
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -220,6 +222,7 @@ class Role(pulumi.CustomResource):
|
|
220
222
|
|
221
223
|
## Example Usage
|
222
224
|
|
225
|
+
<!--Start PulumiCodeChooser -->
|
223
226
|
```python
|
224
227
|
import pulumi
|
225
228
|
import pulumi_vault as vault
|
@@ -231,6 +234,7 @@ class Role(pulumi.CustomResource):
|
|
231
234
|
path=mount_transform.path,
|
232
235
|
transformations=["ccn-fpe"])
|
233
236
|
```
|
237
|
+
<!--End PulumiCodeChooser -->
|
234
238
|
|
235
239
|
:param str resource_name: The name of the resource.
|
236
240
|
:param RoleArgs args: The arguments to use to populate this resource's properties.
|
@@ -334,6 +334,7 @@ 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 -->
|
337
338
|
```python
|
338
339
|
import pulumi
|
339
340
|
import pulumi_vault as vault
|
@@ -354,6 +355,7 @@ class Template(pulumi.CustomResource):
|
|
354
355
|
"last-four-digits": "$4",
|
355
356
|
})
|
356
357
|
```
|
358
|
+
<!--End PulumiCodeChooser -->
|
357
359
|
|
358
360
|
:param str resource_name: The name of the resource.
|
359
361
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -395,6 +397,7 @@ class Template(pulumi.CustomResource):
|
|
395
397
|
backslashes must be escaped to appear correctly in Vault. For further
|
396
398
|
assistance escaping your own custom regex, see String Literals.
|
397
399
|
|
400
|
+
<!--Start PulumiCodeChooser -->
|
398
401
|
```python
|
399
402
|
import pulumi
|
400
403
|
import pulumi_vault as vault
|
@@ -415,6 +418,7 @@ class Template(pulumi.CustomResource):
|
|
415
418
|
"last-four-digits": "$4",
|
416
419
|
})
|
417
420
|
```
|
421
|
+
<!--End PulumiCodeChooser -->
|
418
422
|
|
419
423
|
:param str resource_name: The name of the resource.
|
420
424
|
:param TemplateArgs args: The arguments to use to populate this resource's properties.
|
@@ -112,6 +112,7 @@ def get_decrypt(backend: Optional[str] = None,
|
|
112
112
|
|
113
113
|
## Example Usage
|
114
114
|
|
115
|
+
<!--Start PulumiCodeChooser -->
|
115
116
|
```python
|
116
117
|
import pulumi
|
117
118
|
import pulumi_vault as vault
|
@@ -120,6 +121,7 @@ def get_decrypt(backend: Optional[str] = None,
|
|
120
121
|
ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==",
|
121
122
|
key="test")
|
122
123
|
```
|
124
|
+
<!--End PulumiCodeChooser -->
|
123
125
|
|
124
126
|
|
125
127
|
:param str backend: The path the transit secret backend is mounted at, with no leading or trailing `/`.
|
@@ -158,6 +160,7 @@ def get_decrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
|
158
160
|
|
159
161
|
## Example Usage
|
160
162
|
|
163
|
+
<!--Start PulumiCodeChooser -->
|
161
164
|
```python
|
162
165
|
import pulumi
|
163
166
|
import pulumi_vault as vault
|
@@ -166,6 +169,7 @@ def get_decrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
|
166
169
|
ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==",
|
167
170
|
key="test")
|
168
171
|
```
|
172
|
+
<!--End PulumiCodeChooser -->
|
169
173
|
|
170
174
|
|
171
175
|
:param str backend: The path the transit secret backend is mounted at, with no leading or trailing `/`.
|
@@ -655,6 +655,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
655
655
|
|
656
656
|
## Example Usage
|
657
657
|
|
658
|
+
<!--Start PulumiCodeChooser -->
|
658
659
|
```python
|
659
660
|
import pulumi
|
660
661
|
import pulumi_vault as vault
|
@@ -667,6 +668,8 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
667
668
|
max_lease_ttl_seconds=86400)
|
668
669
|
key = vault.transit.SecretBackendKey("key", backend=transit.path)
|
669
670
|
```
|
671
|
+
<!--End PulumiCodeChooser -->
|
672
|
+
|
670
673
|
## Deprecations
|
671
674
|
|
672
675
|
* `auto_rotate_interval` - Replaced by `auto_rotate_period`.
|
@@ -676,7 +679,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
676
679
|
Transit secret backend keys can be imported using the `path`, e.g.
|
677
680
|
|
678
681
|
```sh
|
679
|
-
|
682
|
+
$ pulumi import vault:transit/secretBackendKey:SecretBackendKey key transit/keys/my_key
|
680
683
|
```
|
681
684
|
|
682
685
|
:param str resource_name: The name of the resource.
|
@@ -714,6 +717,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
714
717
|
|
715
718
|
## Example Usage
|
716
719
|
|
720
|
+
<!--Start PulumiCodeChooser -->
|
717
721
|
```python
|
718
722
|
import pulumi
|
719
723
|
import pulumi_vault as vault
|
@@ -726,6 +730,8 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
726
730
|
max_lease_ttl_seconds=86400)
|
727
731
|
key = vault.transit.SecretBackendKey("key", backend=transit.path)
|
728
732
|
```
|
733
|
+
<!--End PulumiCodeChooser -->
|
734
|
+
|
729
735
|
## Deprecations
|
730
736
|
|
731
737
|
* `auto_rotate_interval` - Replaced by `auto_rotate_period`.
|
@@ -735,7 +741,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
735
741
|
Transit secret backend keys can be imported using the `path`, e.g.
|
736
742
|
|
737
743
|
```sh
|
738
|
-
|
744
|
+
$ pulumi import vault:transit/secretBackendKey:SecretBackendKey key transit/keys/my_key
|
739
745
|
```
|
740
746
|
|
741
747
|
:param str resource_name: The name of the resource.
|