pulumi-vault 6.4.0__py3-none-any.whl → 6.4.0a1723454543__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/_inputs.py +0 -560
- pulumi_vault/_utilities.py +1 -1
- pulumi_vault/ad/get_access_credentials.py +4 -19
- pulumi_vault/ad/secret_backend.py +0 -5
- pulumi_vault/ad/secret_library.py +0 -5
- pulumi_vault/ad/secret_role.py +0 -5
- pulumi_vault/alicloud/auth_backend_role.py +0 -5
- pulumi_vault/approle/auth_backend_login.py +0 -5
- pulumi_vault/approle/auth_backend_role.py +0 -5
- pulumi_vault/approle/auth_backend_role_secret_id.py +0 -99
- pulumi_vault/approle/get_auth_backend_role_id.py +4 -17
- pulumi_vault/audit.py +0 -5
- pulumi_vault/audit_request_header.py +0 -5
- pulumi_vault/auth_backend.py +0 -5
- pulumi_vault/aws/auth_backend_cert.py +0 -5
- pulumi_vault/aws/auth_backend_client.py +0 -5
- pulumi_vault/aws/auth_backend_config_identity.py +0 -5
- pulumi_vault/aws/auth_backend_identity_whitelist.py +0 -5
- pulumi_vault/aws/auth_backend_login.py +7 -12
- pulumi_vault/aws/auth_backend_role.py +0 -5
- pulumi_vault/aws/auth_backend_role_tag.py +0 -5
- pulumi_vault/aws/auth_backend_roletag_blacklist.py +0 -5
- pulumi_vault/aws/auth_backend_sts_role.py +0 -5
- pulumi_vault/aws/get_access_credentials.py +4 -31
- pulumi_vault/aws/get_static_access_credentials.py +4 -18
- pulumi_vault/aws/secret_backend.py +0 -5
- pulumi_vault/aws/secret_backend_role.py +0 -5
- pulumi_vault/aws/secret_backend_static_role.py +0 -5
- pulumi_vault/azure/_inputs.py +0 -24
- pulumi_vault/azure/auth_backend_config.py +0 -5
- pulumi_vault/azure/auth_backend_role.py +0 -5
- pulumi_vault/azure/backend.py +0 -5
- pulumi_vault/azure/backend_role.py +0 -5
- pulumi_vault/azure/get_access_credentials.py +4 -36
- pulumi_vault/azure/outputs.py +0 -5
- pulumi_vault/cert_auth_backend_role.py +0 -5
- pulumi_vault/config/__init__.pyi +0 -5
- pulumi_vault/config/_inputs.py +0 -21
- pulumi_vault/config/outputs.py +0 -5
- pulumi_vault/config/ui_custom_message.py +14 -19
- pulumi_vault/config/vars.py +0 -5
- pulumi_vault/consul/secret_backend.py +0 -5
- pulumi_vault/consul/secret_backend_role.py +0 -5
- pulumi_vault/database/_inputs.py +105 -2256
- pulumi_vault/database/outputs.py +54 -199
- pulumi_vault/database/secret_backend_connection.py +14 -19
- pulumi_vault/database/secret_backend_role.py +14 -19
- pulumi_vault/database/secret_backend_static_role.py +1 -69
- pulumi_vault/database/secrets_mount.py +14 -19
- pulumi_vault/egp_policy.py +0 -5
- pulumi_vault/gcp/_inputs.py +0 -111
- pulumi_vault/gcp/auth_backend.py +0 -5
- pulumi_vault/gcp/auth_backend_role.py +0 -5
- pulumi_vault/gcp/get_auth_backend_role.py +4 -42
- pulumi_vault/gcp/outputs.py +0 -5
- pulumi_vault/gcp/secret_backend.py +0 -5
- pulumi_vault/gcp/secret_impersonated_account.py +3 -62
- pulumi_vault/gcp/secret_roleset.py +0 -5
- pulumi_vault/gcp/secret_static_account.py +0 -5
- pulumi_vault/generic/endpoint.py +0 -5
- pulumi_vault/generic/get_secret.py +5 -25
- pulumi_vault/generic/secret.py +7 -12
- pulumi_vault/get_auth_backend.py +4 -21
- pulumi_vault/get_auth_backends.py +4 -16
- pulumi_vault/get_namespace.py +5 -18
- pulumi_vault/get_namespaces.py +4 -13
- pulumi_vault/get_nomad_access_token.py +8 -28
- pulumi_vault/get_policy_document.py +4 -15
- pulumi_vault/get_raft_autopilot_state.py +7 -26
- pulumi_vault/github/_inputs.py +0 -55
- pulumi_vault/github/auth_backend.py +0 -5
- pulumi_vault/github/outputs.py +0 -5
- pulumi_vault/github/team.py +0 -5
- pulumi_vault/github/user.py +0 -5
- pulumi_vault/identity/entity.py +0 -5
- pulumi_vault/identity/entity_alias.py +0 -5
- pulumi_vault/identity/entity_policies.py +0 -5
- pulumi_vault/identity/get_entity.py +5 -35
- pulumi_vault/identity/get_group.py +6 -42
- pulumi_vault/identity/get_oidc_client_creds.py +4 -16
- pulumi_vault/identity/get_oidc_openid_config.py +4 -26
- pulumi_vault/identity/get_oidc_public_keys.py +5 -16
- pulumi_vault/identity/group.py +0 -5
- pulumi_vault/identity/group_alias.py +0 -5
- pulumi_vault/identity/group_member_entity_ids.py +0 -5
- pulumi_vault/identity/group_member_group_ids.py +0 -5
- pulumi_vault/identity/group_policies.py +0 -5
- pulumi_vault/identity/mfa_duo.py +0 -5
- pulumi_vault/identity/mfa_login_enforcement.py +0 -5
- pulumi_vault/identity/mfa_okta.py +0 -5
- pulumi_vault/identity/mfa_pingid.py +0 -5
- pulumi_vault/identity/mfa_totp.py +0 -5
- pulumi_vault/identity/oidc.py +0 -5
- pulumi_vault/identity/oidc_assignment.py +0 -5
- pulumi_vault/identity/oidc_client.py +0 -5
- pulumi_vault/identity/oidc_key.py +0 -5
- pulumi_vault/identity/oidc_key_allowed_client_id.py +0 -5
- pulumi_vault/identity/oidc_provider.py +0 -5
- pulumi_vault/identity/oidc_role.py +0 -5
- pulumi_vault/identity/oidc_scope.py +0 -5
- pulumi_vault/identity/outputs.py +3 -8
- pulumi_vault/jwt/_inputs.py +0 -55
- pulumi_vault/jwt/auth_backend.py +0 -5
- pulumi_vault/jwt/auth_backend_role.py +28 -33
- pulumi_vault/jwt/outputs.py +0 -5
- pulumi_vault/kmip/secret_backend.py +0 -5
- pulumi_vault/kmip/secret_role.py +0 -5
- pulumi_vault/kmip/secret_scope.py +0 -5
- pulumi_vault/kubernetes/auth_backend_config.py +3 -55
- pulumi_vault/kubernetes/auth_backend_role.py +0 -5
- pulumi_vault/kubernetes/get_auth_backend_config.py +7 -59
- pulumi_vault/kubernetes/get_auth_backend_role.py +4 -39
- pulumi_vault/kubernetes/get_service_account_token.py +4 -28
- pulumi_vault/kubernetes/secret_backend.py +14 -19
- pulumi_vault/kubernetes/secret_backend_role.py +0 -5
- pulumi_vault/kv/_inputs.py +4 -36
- pulumi_vault/kv/get_secret.py +5 -20
- pulumi_vault/kv/get_secret_subkeys_v2.py +5 -24
- pulumi_vault/kv/get_secret_v2.py +8 -27
- pulumi_vault/kv/get_secrets_list.py +4 -15
- pulumi_vault/kv/get_secrets_list_v2.py +4 -18
- pulumi_vault/kv/outputs.py +3 -8
- pulumi_vault/kv/secret.py +7 -12
- pulumi_vault/kv/secret_backend_v2.py +0 -5
- pulumi_vault/kv/secret_v2.py +28 -33
- pulumi_vault/ldap/auth_backend.py +0 -52
- pulumi_vault/ldap/auth_backend_group.py +0 -5
- pulumi_vault/ldap/auth_backend_user.py +0 -5
- pulumi_vault/ldap/get_dynamic_credentials.py +4 -22
- pulumi_vault/ldap/get_static_credentials.py +4 -23
- pulumi_vault/ldap/secret_backend.py +14 -19
- pulumi_vault/ldap/secret_backend_dynamic_role.py +0 -5
- pulumi_vault/ldap/secret_backend_library_set.py +0 -5
- pulumi_vault/ldap/secret_backend_static_role.py +0 -5
- pulumi_vault/managed/_inputs.py +0 -205
- pulumi_vault/managed/keys.py +0 -5
- pulumi_vault/managed/outputs.py +0 -5
- pulumi_vault/mfa_duo.py +0 -5
- pulumi_vault/mfa_okta.py +0 -5
- pulumi_vault/mfa_pingid.py +0 -5
- pulumi_vault/mfa_totp.py +0 -5
- pulumi_vault/mongodbatlas/secret_backend.py +0 -5
- pulumi_vault/mongodbatlas/secret_role.py +0 -5
- pulumi_vault/mount.py +16 -21
- pulumi_vault/namespace.py +14 -19
- pulumi_vault/nomad_secret_backend.py +0 -5
- pulumi_vault/nomad_secret_role.py +0 -5
- pulumi_vault/okta/_inputs.py +0 -39
- pulumi_vault/okta/auth_backend.py +0 -5
- pulumi_vault/okta/auth_backend_group.py +0 -5
- pulumi_vault/okta/auth_backend_user.py +0 -5
- pulumi_vault/okta/outputs.py +0 -5
- pulumi_vault/outputs.py +0 -5
- pulumi_vault/password_policy.py +0 -5
- pulumi_vault/pkisecret/_inputs.py +8 -49
- pulumi_vault/pkisecret/backend_config_cluster.py +0 -5
- pulumi_vault/pkisecret/backend_config_est.py +14 -19
- pulumi_vault/pkisecret/get_backend_config_est.py +5 -23
- pulumi_vault/pkisecret/get_backend_issuer.py +4 -24
- pulumi_vault/pkisecret/get_backend_issuers.py +5 -18
- pulumi_vault/pkisecret/get_backend_key.py +4 -19
- pulumi_vault/pkisecret/get_backend_keys.py +5 -18
- pulumi_vault/pkisecret/outputs.py +12 -17
- pulumi_vault/pkisecret/secret_backend_cert.py +0 -5
- pulumi_vault/pkisecret/secret_backend_config_ca.py +0 -5
- pulumi_vault/pkisecret/secret_backend_config_issuers.py +0 -5
- pulumi_vault/pkisecret/secret_backend_config_urls.py +0 -5
- pulumi_vault/pkisecret/secret_backend_crl_config.py +0 -5
- pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +0 -5
- pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +0 -5
- pulumi_vault/pkisecret/secret_backend_issuer.py +0 -5
- pulumi_vault/pkisecret/secret_backend_key.py +0 -5
- pulumi_vault/pkisecret/secret_backend_role.py +0 -5
- pulumi_vault/pkisecret/secret_backend_root_cert.py +0 -5
- pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +0 -5
- pulumi_vault/pkisecret/secret_backend_sign.py +0 -5
- pulumi_vault/plugin.py +0 -5
- pulumi_vault/plugin_pinned_version.py +0 -5
- pulumi_vault/policy.py +0 -5
- pulumi_vault/provider.py +0 -5
- pulumi_vault/pulumi-plugin.json +1 -1
- pulumi_vault/quota_lease_count.py +0 -5
- pulumi_vault/quota_rate_limit.py +0 -5
- pulumi_vault/rabbitmq/_inputs.py +0 -61
- pulumi_vault/rabbitmq/outputs.py +0 -5
- pulumi_vault/rabbitmq/secret_backend.py +0 -5
- pulumi_vault/rabbitmq/secret_backend_role.py +0 -5
- pulumi_vault/raft_autopilot.py +0 -5
- pulumi_vault/raft_snapshot_agent_config.py +0 -5
- pulumi_vault/rgp_policy.py +0 -5
- pulumi_vault/saml/auth_backend.py +0 -5
- pulumi_vault/saml/auth_backend_role.py +14 -19
- pulumi_vault/secrets/_inputs.py +0 -30
- pulumi_vault/secrets/outputs.py +0 -5
- pulumi_vault/secrets/sync_association.py +0 -5
- pulumi_vault/secrets/sync_aws_destination.py +14 -19
- pulumi_vault/secrets/sync_azure_destination.py +14 -19
- pulumi_vault/secrets/sync_config.py +0 -5
- pulumi_vault/secrets/sync_gcp_destination.py +14 -19
- pulumi_vault/secrets/sync_gh_destination.py +0 -5
- pulumi_vault/secrets/sync_github_apps.py +0 -5
- pulumi_vault/secrets/sync_vercel_destination.py +0 -5
- pulumi_vault/ssh/_inputs.py +0 -22
- pulumi_vault/ssh/outputs.py +0 -5
- pulumi_vault/ssh/secret_backend_ca.py +0 -5
- pulumi_vault/ssh/secret_backend_role.py +28 -67
- pulumi_vault/terraformcloud/secret_backend.py +0 -5
- pulumi_vault/terraformcloud/secret_creds.py +0 -5
- pulumi_vault/terraformcloud/secret_role.py +0 -5
- pulumi_vault/token.py +0 -5
- pulumi_vault/tokenauth/auth_backend_role.py +14 -5
- pulumi_vault/transform/alphabet.py +0 -5
- pulumi_vault/transform/get_decode.py +14 -38
- pulumi_vault/transform/get_encode.py +14 -38
- pulumi_vault/transform/role.py +0 -5
- pulumi_vault/transform/template.py +14 -19
- pulumi_vault/transform/transformation.py +0 -5
- pulumi_vault/transit/get_decrypt.py +4 -21
- pulumi_vault/transit/get_encrypt.py +4 -23
- pulumi_vault/transit/secret_backend_key.py +7 -12
- pulumi_vault/transit/secret_cache_config.py +0 -5
- {pulumi_vault-6.4.0.dist-info → pulumi_vault-6.4.0a1723454543.dist-info}/METADATA +2 -3
- pulumi_vault-6.4.0a1723454543.dist-info/RECORD +256 -0
- {pulumi_vault-6.4.0.dist-info → pulumi_vault-6.4.0a1723454543.dist-info}/WHEEL +1 -1
- pulumi_vault-6.4.0.dist-info/RECORD +0 -256
- {pulumi_vault-6.4.0.dist-info → pulumi_vault-6.4.0a1723454543.dist-info}/top_level.txt +0 -0
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = [
|
@@ -60,12 +55,12 @@ class GetDecodeResult:
|
|
60
55
|
|
61
56
|
@property
|
62
57
|
@pulumi.getter(name="batchInputs")
|
63
|
-
def batch_inputs(self) -> Optional[Sequence[Mapping[str,
|
58
|
+
def batch_inputs(self) -> Optional[Sequence[Mapping[str, Any]]]:
|
64
59
|
return pulumi.get(self, "batch_inputs")
|
65
60
|
|
66
61
|
@property
|
67
62
|
@pulumi.getter(name="batchResults")
|
68
|
-
def batch_results(self) -> Sequence[Mapping[str,
|
63
|
+
def batch_results(self) -> Sequence[Mapping[str, Any]]:
|
69
64
|
return pulumi.get(self, "batch_results")
|
70
65
|
|
71
66
|
@property
|
@@ -130,8 +125,8 @@ class AwaitableGetDecodeResult(GetDecodeResult):
|
|
130
125
|
value=self.value)
|
131
126
|
|
132
127
|
|
133
|
-
def get_decode(batch_inputs: Optional[Sequence[Mapping[str,
|
134
|
-
batch_results: Optional[Sequence[Mapping[str,
|
128
|
+
def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
129
|
+
batch_results: Optional[Sequence[Mapping[str, Any]]] = None,
|
135
130
|
decoded_value: Optional[str] = None,
|
136
131
|
namespace: Optional[str] = None,
|
137
132
|
path: Optional[str] = None,
|
@@ -171,8 +166,8 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
|
|
171
166
|
```
|
172
167
|
|
173
168
|
|
174
|
-
:param Sequence[Mapping[str,
|
175
|
-
:param Sequence[Mapping[str,
|
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.
|
170
|
+
:param Sequence[Mapping[str, Any]] batch_results: The result of decoding a batch.
|
176
171
|
:param str decoded_value: The result of decoding a value.
|
177
172
|
:param str namespace: The namespace of the target resource.
|
178
173
|
The value should not contain leading or trailing forward slashes.
|
@@ -208,8 +203,11 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
|
|
208
203
|
transformation=pulumi.get(__ret__, 'transformation'),
|
209
204
|
tweak=pulumi.get(__ret__, 'tweak'),
|
210
205
|
value=pulumi.get(__ret__, 'value'))
|
211
|
-
|
212
|
-
|
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,
|
213
211
|
decoded_value: Optional[pulumi.Input[Optional[str]]] = None,
|
214
212
|
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
215
213
|
path: Optional[pulumi.Input[str]] = None,
|
@@ -249,8 +247,8 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
249
247
|
```
|
250
248
|
|
251
249
|
|
252
|
-
:param Sequence[Mapping[str,
|
253
|
-
:param Sequence[Mapping[str,
|
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.
|
251
|
+
:param Sequence[Mapping[str, Any]] batch_results: The result of decoding a batch.
|
254
252
|
:param str decoded_value: The result of decoding a value.
|
255
253
|
:param str namespace: The namespace of the target resource.
|
256
254
|
The value should not contain leading or trailing forward slashes.
|
@@ -262,26 +260,4 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
262
260
|
:param str tweak: The tweak value to use. Only applicable for FPE transformations
|
263
261
|
:param str value: The value in which to decode.
|
264
262
|
"""
|
265
|
-
|
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.InvokeOptions.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')))
|
263
|
+
...
|
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = [
|
@@ -60,12 +55,12 @@ class GetEncodeResult:
|
|
60
55
|
|
61
56
|
@property
|
62
57
|
@pulumi.getter(name="batchInputs")
|
63
|
-
def batch_inputs(self) -> Optional[Sequence[Mapping[str,
|
58
|
+
def batch_inputs(self) -> Optional[Sequence[Mapping[str, Any]]]:
|
64
59
|
return pulumi.get(self, "batch_inputs")
|
65
60
|
|
66
61
|
@property
|
67
62
|
@pulumi.getter(name="batchResults")
|
68
|
-
def batch_results(self) -> Sequence[Mapping[str,
|
63
|
+
def batch_results(self) -> Sequence[Mapping[str, Any]]:
|
69
64
|
return pulumi.get(self, "batch_results")
|
70
65
|
|
71
66
|
@property
|
@@ -130,8 +125,8 @@ class AwaitableGetEncodeResult(GetEncodeResult):
|
|
130
125
|
value=self.value)
|
131
126
|
|
132
127
|
|
133
|
-
def get_encode(batch_inputs: Optional[Sequence[Mapping[str,
|
134
|
-
batch_results: Optional[Sequence[Mapping[str,
|
128
|
+
def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
129
|
+
batch_results: Optional[Sequence[Mapping[str, Any]]] = None,
|
135
130
|
encoded_value: Optional[str] = None,
|
136
131
|
namespace: Optional[str] = None,
|
137
132
|
path: Optional[str] = None,
|
@@ -173,8 +168,8 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
|
|
173
168
|
```
|
174
169
|
|
175
170
|
|
176
|
-
:param Sequence[Mapping[str,
|
177
|
-
:param Sequence[Mapping[str,
|
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.
|
172
|
+
:param Sequence[Mapping[str, Any]] batch_results: The result of encoding a batch.
|
178
173
|
:param str encoded_value: The result of encoding a value.
|
179
174
|
:param str namespace: The namespace of the target resource.
|
180
175
|
The value should not contain leading or trailing forward slashes.
|
@@ -210,8 +205,11 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, str]]] = None,
|
|
210
205
|
transformation=pulumi.get(__ret__, 'transformation'),
|
211
206
|
tweak=pulumi.get(__ret__, 'tweak'),
|
212
207
|
value=pulumi.get(__ret__, 'value'))
|
213
|
-
|
214
|
-
|
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,
|
215
213
|
encoded_value: Optional[pulumi.Input[Optional[str]]] = None,
|
216
214
|
namespace: Optional[pulumi.Input[Optional[str]]] = None,
|
217
215
|
path: Optional[pulumi.Input[str]] = None,
|
@@ -253,8 +251,8 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
253
251
|
```
|
254
252
|
|
255
253
|
|
256
|
-
:param Sequence[Mapping[str,
|
257
|
-
:param Sequence[Mapping[str,
|
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.
|
255
|
+
:param Sequence[Mapping[str, Any]] batch_results: The result of encoding a batch.
|
258
256
|
:param str encoded_value: The result of encoding a value.
|
259
257
|
:param str namespace: The namespace of the target resource.
|
260
258
|
The value should not contain leading or trailing forward slashes.
|
@@ -266,26 +264,4 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
266
264
|
:param str tweak: The tweak value to use. Only applicable for FPE transformations
|
267
265
|
:param str value: The value in which to encode.
|
268
266
|
"""
|
269
|
-
|
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.InvokeOptions.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')))
|
267
|
+
...
|
pulumi_vault/transform/role.py
CHANGED
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = ['RoleArgs', 'Role']
|
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = ['TemplateArgs', 'Template']
|
@@ -21,7 +16,7 @@ class TemplateArgs:
|
|
21
16
|
def __init__(__self__, *,
|
22
17
|
path: pulumi.Input[str],
|
23
18
|
alphabet: Optional[pulumi.Input[str]] = None,
|
24
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
19
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
25
20
|
encode_format: Optional[pulumi.Input[str]] = None,
|
26
21
|
name: Optional[pulumi.Input[str]] = None,
|
27
22
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -31,7 +26,7 @@ class TemplateArgs:
|
|
31
26
|
The set of arguments for constructing a Template resource.
|
32
27
|
:param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
|
33
28
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
34
|
-
:param pulumi.Input[Mapping[str,
|
29
|
+
:param pulumi.Input[Mapping[str, Any]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
35
30
|
the decoded output. (requires Vault Enterprise 1.9+)
|
36
31
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
37
32
|
(requires Vault Enterprise 1.9+)
|
@@ -85,7 +80,7 @@ class TemplateArgs:
|
|
85
80
|
|
86
81
|
@property
|
87
82
|
@pulumi.getter(name="decodeFormats")
|
88
|
-
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str,
|
83
|
+
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
89
84
|
"""
|
90
85
|
Optional mapping of name to regular expression template, used to customize
|
91
86
|
the decoded output. (requires Vault Enterprise 1.9+)
|
@@ -93,7 +88,7 @@ class TemplateArgs:
|
|
93
88
|
return pulumi.get(self, "decode_formats")
|
94
89
|
|
95
90
|
@decode_formats.setter
|
96
|
-
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str,
|
91
|
+
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
97
92
|
pulumi.set(self, "decode_formats", value)
|
98
93
|
|
99
94
|
@property
|
@@ -165,7 +160,7 @@ class TemplateArgs:
|
|
165
160
|
class _TemplateState:
|
166
161
|
def __init__(__self__, *,
|
167
162
|
alphabet: Optional[pulumi.Input[str]] = None,
|
168
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
163
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
169
164
|
encode_format: Optional[pulumi.Input[str]] = None,
|
170
165
|
name: Optional[pulumi.Input[str]] = None,
|
171
166
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -175,7 +170,7 @@ class _TemplateState:
|
|
175
170
|
"""
|
176
171
|
Input properties used for looking up and filtering Template resources.
|
177
172
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
178
|
-
:param pulumi.Input[Mapping[str,
|
173
|
+
:param pulumi.Input[Mapping[str, Any]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
179
174
|
the decoded output. (requires Vault Enterprise 1.9+)
|
180
175
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
181
176
|
(requires Vault Enterprise 1.9+)
|
@@ -219,7 +214,7 @@ class _TemplateState:
|
|
219
214
|
|
220
215
|
@property
|
221
216
|
@pulumi.getter(name="decodeFormats")
|
222
|
-
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str,
|
217
|
+
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
223
218
|
"""
|
224
219
|
Optional mapping of name to regular expression template, used to customize
|
225
220
|
the decoded output. (requires Vault Enterprise 1.9+)
|
@@ -227,7 +222,7 @@ class _TemplateState:
|
|
227
222
|
return pulumi.get(self, "decode_formats")
|
228
223
|
|
229
224
|
@decode_formats.setter
|
230
|
-
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str,
|
225
|
+
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
231
226
|
pulumi.set(self, "decode_formats", value)
|
232
227
|
|
233
228
|
@property
|
@@ -313,7 +308,7 @@ class Template(pulumi.CustomResource):
|
|
313
308
|
resource_name: str,
|
314
309
|
opts: Optional[pulumi.ResourceOptions] = None,
|
315
310
|
alphabet: Optional[pulumi.Input[str]] = None,
|
316
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
311
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
317
312
|
encode_format: Optional[pulumi.Input[str]] = None,
|
318
313
|
name: Optional[pulumi.Input[str]] = None,
|
319
314
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -365,7 +360,7 @@ class Template(pulumi.CustomResource):
|
|
365
360
|
:param str resource_name: The name of the resource.
|
366
361
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
367
362
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
368
|
-
:param pulumi.Input[Mapping[str,
|
363
|
+
:param pulumi.Input[Mapping[str, Any]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
369
364
|
the decoded output. (requires Vault Enterprise 1.9+)
|
370
365
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
371
366
|
(requires Vault Enterprise 1.9+)
|
@@ -441,7 +436,7 @@ class Template(pulumi.CustomResource):
|
|
441
436
|
resource_name: str,
|
442
437
|
opts: Optional[pulumi.ResourceOptions] = None,
|
443
438
|
alphabet: Optional[pulumi.Input[str]] = None,
|
444
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
439
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
445
440
|
encode_format: Optional[pulumi.Input[str]] = None,
|
446
441
|
name: Optional[pulumi.Input[str]] = None,
|
447
442
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -478,7 +473,7 @@ class Template(pulumi.CustomResource):
|
|
478
473
|
id: pulumi.Input[str],
|
479
474
|
opts: Optional[pulumi.ResourceOptions] = None,
|
480
475
|
alphabet: Optional[pulumi.Input[str]] = None,
|
481
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
476
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
482
477
|
encode_format: Optional[pulumi.Input[str]] = None,
|
483
478
|
name: Optional[pulumi.Input[str]] = None,
|
484
479
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -493,7 +488,7 @@ class Template(pulumi.CustomResource):
|
|
493
488
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
494
489
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
495
490
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
496
|
-
:param pulumi.Input[Mapping[str,
|
491
|
+
:param pulumi.Input[Mapping[str, Any]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
497
492
|
the decoded output. (requires Vault Enterprise 1.9+)
|
498
493
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
499
494
|
(requires Vault Enterprise 1.9+)
|
@@ -530,7 +525,7 @@ class Template(pulumi.CustomResource):
|
|
530
525
|
|
531
526
|
@property
|
532
527
|
@pulumi.getter(name="decodeFormats")
|
533
|
-
def decode_formats(self) -> pulumi.Output[Optional[Mapping[str,
|
528
|
+
def decode_formats(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
534
529
|
"""
|
535
530
|
Optional mapping of name to regular expression template, used to customize
|
536
531
|
the decoded output. (requires Vault Enterprise 1.9+)
|
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = ['TransformationArgs', 'Transformation']
|
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = [
|
@@ -143,6 +138,9 @@ def get_decrypt(backend: Optional[str] = None,
|
|
143
138
|
key=pulumi.get(__ret__, 'key'),
|
144
139
|
namespace=pulumi.get(__ret__, 'namespace'),
|
145
140
|
plaintext=pulumi.get(__ret__, 'plaintext'))
|
141
|
+
|
142
|
+
|
143
|
+
@_utilities.lift_output_func(get_decrypt)
|
146
144
|
def get_decrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
147
145
|
ciphertext: Optional[pulumi.Input[str]] = None,
|
148
146
|
context: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -163,19 +161,4 @@ def get_decrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
|
163
161
|
ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==")
|
164
162
|
```
|
165
163
|
"""
|
166
|
-
|
167
|
-
__args__['backend'] = backend
|
168
|
-
__args__['ciphertext'] = ciphertext
|
169
|
-
__args__['context'] = context
|
170
|
-
__args__['key'] = key
|
171
|
-
__args__['namespace'] = namespace
|
172
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
173
|
-
__ret__ = pulumi.runtime.invoke_output('vault:transit/getDecrypt:getDecrypt', __args__, opts=opts, typ=GetDecryptResult)
|
174
|
-
return __ret__.apply(lambda __response__: GetDecryptResult(
|
175
|
-
backend=pulumi.get(__response__, 'backend'),
|
176
|
-
ciphertext=pulumi.get(__response__, 'ciphertext'),
|
177
|
-
context=pulumi.get(__response__, 'context'),
|
178
|
-
id=pulumi.get(__response__, 'id'),
|
179
|
-
key=pulumi.get(__response__, 'key'),
|
180
|
-
namespace=pulumi.get(__response__, 'namespace'),
|
181
|
-
plaintext=pulumi.get(__response__, 'plaintext')))
|
164
|
+
...
|
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = [
|
@@ -144,6 +139,9 @@ def get_encrypt(backend: Optional[str] = None,
|
|
144
139
|
key_version=pulumi.get(__ret__, 'key_version'),
|
145
140
|
namespace=pulumi.get(__ret__, 'namespace'),
|
146
141
|
plaintext=pulumi.get(__ret__, 'plaintext'))
|
142
|
+
|
143
|
+
|
144
|
+
@_utilities.lift_output_func(get_encrypt)
|
147
145
|
def get_encrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
148
146
|
context: Optional[pulumi.Input[Optional[str]]] = None,
|
149
147
|
key: Optional[pulumi.Input[str]] = None,
|
@@ -154,21 +152,4 @@ def get_encrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
|
154
152
|
"""
|
155
153
|
This is a data source which can be used to encrypt plaintext using a Vault Transit key.
|
156
154
|
"""
|
157
|
-
|
158
|
-
__args__['backend'] = backend
|
159
|
-
__args__['context'] = context
|
160
|
-
__args__['key'] = key
|
161
|
-
__args__['keyVersion'] = key_version
|
162
|
-
__args__['namespace'] = namespace
|
163
|
-
__args__['plaintext'] = plaintext
|
164
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
165
|
-
__ret__ = pulumi.runtime.invoke_output('vault:transit/getEncrypt:getEncrypt', __args__, opts=opts, typ=GetEncryptResult)
|
166
|
-
return __ret__.apply(lambda __response__: GetEncryptResult(
|
167
|
-
backend=pulumi.get(__response__, 'backend'),
|
168
|
-
ciphertext=pulumi.get(__response__, 'ciphertext'),
|
169
|
-
context=pulumi.get(__response__, 'context'),
|
170
|
-
id=pulumi.get(__response__, 'id'),
|
171
|
-
key=pulumi.get(__response__, 'key'),
|
172
|
-
key_version=pulumi.get(__response__, 'key_version'),
|
173
|
-
namespace=pulumi.get(__response__, 'namespace'),
|
174
|
-
plaintext=pulumi.get(__response__, 'plaintext')))
|
155
|
+
...
|
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = ['SecretBackendKeyArgs', 'SecretBackendKey']
|
@@ -254,7 +249,7 @@ class _SecretBackendKeyState:
|
|
254
249
|
derived: Optional[pulumi.Input[bool]] = None,
|
255
250
|
exportable: Optional[pulumi.Input[bool]] = None,
|
256
251
|
key_size: Optional[pulumi.Input[int]] = None,
|
257
|
-
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
252
|
+
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None,
|
258
253
|
latest_version: Optional[pulumi.Input[int]] = None,
|
259
254
|
min_available_version: Optional[pulumi.Input[int]] = None,
|
260
255
|
min_decryption_version: Optional[pulumi.Input[int]] = None,
|
@@ -278,7 +273,7 @@ class _SecretBackendKeyState:
|
|
278
273
|
:param pulumi.Input[bool] derived: Specifies if key derivation is to be used. If enabled, all encrypt/decrypt requests to this key must provide a context which is used for key derivation.
|
279
274
|
:param pulumi.Input[bool] exportable: Enables keys to be exportable. This allows for all valid private keys in the keyring to be exported. Once set, this cannot be disabled.
|
280
275
|
:param pulumi.Input[int] key_size: The key size in bytes for algorithms that allow variable key sizes. Currently only applicable to HMAC, where it must be between 32 and 512 bytes.
|
281
|
-
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
276
|
+
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] keys: List of key versions in the keyring. This attribute is zero-indexed and will contain a map of values depending on the `type` of the encryption key.
|
282
277
|
* for key types `aes128-gcm96`, `aes256-gcm96` and `chacha20-poly1305`, each key version will be a map of a single value `id` which is just a hash of the key's metadata.
|
283
278
|
* for key types `ed25519`, `ecdsa-p256`, `ecdsa-p384`, `ecdsa-p521`, `rsa-2048`, `rsa-3072` and `rsa-4096`, each key version will be a map of the following:
|
284
279
|
:param pulumi.Input[int] latest_version: Latest key version available. This value is 1-indexed, so if `latest_version` is `1`, then the key's information can be referenced from `keys` by selecting element `0`
|
@@ -438,7 +433,7 @@ class _SecretBackendKeyState:
|
|
438
433
|
|
439
434
|
@property
|
440
435
|
@pulumi.getter
|
441
|
-
def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
436
|
+
def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]:
|
442
437
|
"""
|
443
438
|
List of key versions in the keyring. This attribute is zero-indexed and will contain a map of values depending on the `type` of the encryption key.
|
444
439
|
* for key types `aes128-gcm96`, `aes256-gcm96` and `chacha20-poly1305`, each key version will be a map of a single value `id` which is just a hash of the key's metadata.
|
@@ -447,7 +442,7 @@ class _SecretBackendKeyState:
|
|
447
442
|
return pulumi.get(self, "keys")
|
448
443
|
|
449
444
|
@keys.setter
|
450
|
-
def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
445
|
+
def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]]):
|
451
446
|
pulumi.set(self, "keys", value)
|
452
447
|
|
453
448
|
@property
|
@@ -767,7 +762,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
767
762
|
derived: Optional[pulumi.Input[bool]] = None,
|
768
763
|
exportable: Optional[pulumi.Input[bool]] = None,
|
769
764
|
key_size: Optional[pulumi.Input[int]] = None,
|
770
|
-
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
765
|
+
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]]] = None,
|
771
766
|
latest_version: Optional[pulumi.Input[int]] = None,
|
772
767
|
min_available_version: Optional[pulumi.Input[int]] = None,
|
773
768
|
min_decryption_version: Optional[pulumi.Input[int]] = None,
|
@@ -796,7 +791,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
796
791
|
:param pulumi.Input[bool] derived: Specifies if key derivation is to be used. If enabled, all encrypt/decrypt requests to this key must provide a context which is used for key derivation.
|
797
792
|
:param pulumi.Input[bool] exportable: Enables keys to be exportable. This allows for all valid private keys in the keyring to be exported. Once set, this cannot be disabled.
|
798
793
|
:param pulumi.Input[int] key_size: The key size in bytes for algorithms that allow variable key sizes. Currently only applicable to HMAC, where it must be between 32 and 512 bytes.
|
799
|
-
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
794
|
+
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str, Any]]]] keys: List of key versions in the keyring. This attribute is zero-indexed and will contain a map of values depending on the `type` of the encryption key.
|
800
795
|
* for key types `aes128-gcm96`, `aes256-gcm96` and `chacha20-poly1305`, each key version will be a map of a single value `id` which is just a hash of the key's metadata.
|
801
796
|
* for key types `ed25519`, `ecdsa-p256`, `ecdsa-p384`, `ecdsa-p521`, `rsa-2048`, `rsa-3072` and `rsa-4096`, each key version will be a map of the following:
|
802
797
|
:param pulumi.Input[int] latest_version: Latest key version available. This value is 1-indexed, so if `latest_version` is `1`, then the key's information can be referenced from `keys` by selecting element `0`
|
@@ -909,7 +904,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
909
904
|
|
910
905
|
@property
|
911
906
|
@pulumi.getter
|
912
|
-
def keys(self) -> pulumi.Output[Sequence[Mapping[str,
|
907
|
+
def keys(self) -> pulumi.Output[Sequence[Mapping[str, Any]]]:
|
913
908
|
"""
|
914
909
|
List of key versions in the keyring. This attribute is zero-indexed and will contain a map of values depending on the `type` of the encryption key.
|
915
910
|
* for key types `aes128-gcm96`, `aes256-gcm96` and `chacha20-poly1305`, each key version will be a map of a single value `id` which is just a hash of the key's metadata.
|
@@ -4,14 +4,9 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
-
import sys
|
8
7
|
import pulumi
|
9
8
|
import pulumi.runtime
|
10
9
|
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
|
15
10
|
from .. import _utilities
|
16
11
|
|
17
12
|
__all__ = ['SecretCacheConfigArgs', 'SecretCacheConfig']
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pulumi_vault
|
3
|
-
Version: 6.4.
|
3
|
+
Version: 6.4.0a1723454543
|
4
4
|
Summary: A Pulumi package for creating and managing HashiCorp Vault cloud resources.
|
5
5
|
License: Apache-2.0
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|
@@ -9,9 +9,8 @@ Keywords: pulumi,vault
|
|
9
9
|
Requires-Python: >=3.8
|
10
10
|
Description-Content-Type: text/markdown
|
11
11
|
Requires-Dist: parver >=0.2.1
|
12
|
-
Requires-Dist: pulumi <4.0.0,>=3.
|
12
|
+
Requires-Dist: pulumi <4.0.0,>=3.0.0
|
13
13
|
Requires-Dist: semver >=2.8.1
|
14
|
-
Requires-Dist: typing-extensions >=4.11 ; python_version < "3.11"
|
15
14
|
|
16
15
|
[](https://travis-ci.com/pulumi/pulumi-vault)
|
17
16
|
|