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