pulumi-vault 6.3.0a1723010642__py3-none-any.whl → 6.3.1__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 +560 -0
- pulumi_vault/_utilities.py +1 -1
- pulumi_vault/ad/get_access_credentials.py +19 -4
- pulumi_vault/ad/secret_backend.py +5 -0
- pulumi_vault/ad/secret_library.py +5 -0
- pulumi_vault/ad/secret_role.py +5 -0
- pulumi_vault/alicloud/auth_backend_role.py +5 -0
- pulumi_vault/approle/auth_backend_login.py +5 -0
- pulumi_vault/approle/auth_backend_role.py +5 -0
- pulumi_vault/approle/auth_backend_role_secret_id.py +5 -0
- pulumi_vault/approle/get_auth_backend_role_id.py +17 -4
- pulumi_vault/audit.py +5 -0
- pulumi_vault/audit_request_header.py +5 -0
- pulumi_vault/auth_backend.py +10 -5
- pulumi_vault/aws/auth_backend_cert.py +5 -0
- pulumi_vault/aws/auth_backend_client.py +5 -0
- pulumi_vault/aws/auth_backend_config_identity.py +5 -0
- pulumi_vault/aws/auth_backend_identity_whitelist.py +5 -0
- pulumi_vault/aws/auth_backend_login.py +12 -7
- pulumi_vault/aws/auth_backend_role.py +5 -0
- pulumi_vault/aws/auth_backend_role_tag.py +5 -0
- pulumi_vault/aws/auth_backend_roletag_blacklist.py +5 -0
- pulumi_vault/aws/auth_backend_sts_role.py +5 -0
- pulumi_vault/aws/get_access_credentials.py +31 -4
- pulumi_vault/aws/get_static_access_credentials.py +18 -4
- pulumi_vault/aws/secret_backend.py +5 -0
- pulumi_vault/aws/secret_backend_role.py +120 -0
- pulumi_vault/aws/secret_backend_static_role.py +5 -0
- pulumi_vault/azure/_inputs.py +24 -0
- pulumi_vault/azure/auth_backend_config.py +5 -0
- pulumi_vault/azure/auth_backend_role.py +5 -0
- pulumi_vault/azure/backend.py +5 -0
- pulumi_vault/azure/backend_role.py +23 -18
- pulumi_vault/azure/get_access_credentials.py +36 -4
- pulumi_vault/azure/outputs.py +5 -0
- pulumi_vault/cert_auth_backend_role.py +5 -0
- pulumi_vault/config/__init__.pyi +5 -0
- pulumi_vault/config/_inputs.py +21 -0
- pulumi_vault/config/outputs.py +5 -0
- pulumi_vault/config/ui_custom_message.py +24 -19
- pulumi_vault/config/vars.py +5 -0
- pulumi_vault/consul/secret_backend.py +5 -0
- pulumi_vault/consul/secret_backend_role.py +5 -0
- pulumi_vault/database/_inputs.py +2091 -140
- pulumi_vault/database/outputs.py +59 -54
- pulumi_vault/database/secret_backend_connection.py +115 -110
- pulumi_vault/database/secret_backend_role.py +25 -20
- pulumi_vault/database/secret_backend_static_role.py +11 -6
- pulumi_vault/database/secrets_mount.py +139 -134
- pulumi_vault/egp_policy.py +5 -0
- pulumi_vault/gcp/_inputs.py +111 -0
- pulumi_vault/gcp/auth_backend.py +15 -10
- pulumi_vault/gcp/auth_backend_role.py +5 -0
- pulumi_vault/gcp/get_auth_backend_role.py +42 -4
- pulumi_vault/gcp/outputs.py +5 -0
- pulumi_vault/gcp/secret_backend.py +5 -0
- pulumi_vault/gcp/secret_impersonated_account.py +5 -0
- pulumi_vault/gcp/secret_roleset.py +18 -13
- pulumi_vault/gcp/secret_static_account.py +18 -13
- pulumi_vault/generic/endpoint.py +5 -0
- pulumi_vault/generic/get_secret.py +25 -5
- pulumi_vault/generic/secret.py +12 -7
- pulumi_vault/get_auth_backend.py +21 -4
- pulumi_vault/get_auth_backends.py +16 -4
- pulumi_vault/get_namespace.py +18 -5
- pulumi_vault/get_namespaces.py +13 -4
- pulumi_vault/get_nomad_access_token.py +28 -8
- pulumi_vault/get_policy_document.py +27 -16
- pulumi_vault/get_raft_autopilot_state.py +26 -7
- pulumi_vault/github/_inputs.py +55 -0
- pulumi_vault/github/auth_backend.py +10 -5
- pulumi_vault/github/outputs.py +5 -0
- pulumi_vault/github/team.py +5 -0
- pulumi_vault/github/user.py +5 -0
- pulumi_vault/identity/entity.py +5 -0
- pulumi_vault/identity/entity_alias.py +5 -0
- pulumi_vault/identity/entity_policies.py +5 -0
- pulumi_vault/identity/get_entity.py +37 -7
- pulumi_vault/identity/get_group.py +42 -6
- pulumi_vault/identity/get_oidc_client_creds.py +16 -4
- pulumi_vault/identity/get_oidc_openid_config.py +26 -4
- pulumi_vault/identity/get_oidc_public_keys.py +16 -5
- pulumi_vault/identity/group.py +5 -0
- pulumi_vault/identity/group_alias.py +5 -0
- pulumi_vault/identity/group_member_entity_ids.py +5 -0
- pulumi_vault/identity/group_member_group_ids.py +5 -0
- pulumi_vault/identity/group_policies.py +5 -0
- pulumi_vault/identity/mfa_duo.py +5 -0
- pulumi_vault/identity/mfa_login_enforcement.py +5 -0
- pulumi_vault/identity/mfa_okta.py +5 -0
- pulumi_vault/identity/mfa_pingid.py +5 -0
- pulumi_vault/identity/mfa_totp.py +5 -0
- pulumi_vault/identity/oidc.py +5 -0
- pulumi_vault/identity/oidc_assignment.py +5 -0
- pulumi_vault/identity/oidc_client.py +5 -0
- pulumi_vault/identity/oidc_key.py +5 -0
- pulumi_vault/identity/oidc_key_allowed_client_id.py +5 -0
- pulumi_vault/identity/oidc_provider.py +5 -0
- pulumi_vault/identity/oidc_role.py +5 -0
- pulumi_vault/identity/oidc_scope.py +5 -0
- pulumi_vault/identity/outputs.py +8 -3
- pulumi_vault/jwt/_inputs.py +55 -0
- pulumi_vault/jwt/auth_backend.py +14 -9
- pulumi_vault/jwt/auth_backend_role.py +33 -28
- pulumi_vault/jwt/outputs.py +5 -0
- pulumi_vault/kmip/secret_backend.py +5 -0
- pulumi_vault/kmip/secret_role.py +5 -0
- pulumi_vault/kmip/secret_scope.py +5 -0
- pulumi_vault/kubernetes/auth_backend_config.py +5 -0
- pulumi_vault/kubernetes/auth_backend_role.py +5 -0
- pulumi_vault/kubernetes/get_auth_backend_config.py +26 -4
- pulumi_vault/kubernetes/get_auth_backend_role.py +39 -4
- pulumi_vault/kubernetes/get_service_account_token.py +28 -4
- pulumi_vault/kubernetes/secret_backend.py +19 -14
- pulumi_vault/kubernetes/secret_backend_role.py +5 -0
- pulumi_vault/kv/_inputs.py +36 -4
- pulumi_vault/kv/get_secret.py +20 -5
- pulumi_vault/kv/get_secret_subkeys_v2.py +24 -5
- pulumi_vault/kv/get_secret_v2.py +27 -6
- pulumi_vault/kv/get_secrets_list.py +15 -4
- pulumi_vault/kv/get_secrets_list_v2.py +18 -4
- pulumi_vault/kv/outputs.py +8 -3
- pulumi_vault/kv/secret.py +12 -7
- pulumi_vault/kv/secret_backend_v2.py +5 -0
- pulumi_vault/kv/secret_v2.py +46 -41
- pulumi_vault/ldap/auth_backend.py +5 -0
- pulumi_vault/ldap/auth_backend_group.py +5 -0
- pulumi_vault/ldap/auth_backend_user.py +5 -0
- pulumi_vault/ldap/get_dynamic_credentials.py +22 -4
- pulumi_vault/ldap/get_static_credentials.py +23 -4
- pulumi_vault/ldap/secret_backend.py +19 -14
- pulumi_vault/ldap/secret_backend_dynamic_role.py +5 -0
- pulumi_vault/ldap/secret_backend_library_set.py +5 -0
- pulumi_vault/ldap/secret_backend_static_role.py +5 -0
- pulumi_vault/managed/_inputs.py +205 -0
- pulumi_vault/managed/keys.py +20 -15
- pulumi_vault/managed/outputs.py +5 -0
- pulumi_vault/mfa_duo.py +5 -0
- pulumi_vault/mfa_okta.py +5 -0
- pulumi_vault/mfa_pingid.py +5 -0
- pulumi_vault/mfa_totp.py +5 -0
- pulumi_vault/mongodbatlas/secret_backend.py +5 -0
- pulumi_vault/mongodbatlas/secret_role.py +5 -0
- pulumi_vault/mount.py +35 -23
- pulumi_vault/namespace.py +19 -14
- pulumi_vault/nomad_secret_backend.py +5 -0
- pulumi_vault/nomad_secret_role.py +5 -0
- pulumi_vault/okta/_inputs.py +39 -0
- pulumi_vault/okta/auth_backend.py +31 -26
- pulumi_vault/okta/auth_backend_group.py +5 -0
- pulumi_vault/okta/auth_backend_user.py +5 -0
- pulumi_vault/okta/outputs.py +5 -0
- pulumi_vault/outputs.py +5 -0
- pulumi_vault/password_policy.py +5 -0
- pulumi_vault/pkisecret/_inputs.py +49 -8
- pulumi_vault/pkisecret/backend_config_cluster.py +5 -0
- pulumi_vault/pkisecret/backend_config_est.py +24 -19
- pulumi_vault/pkisecret/get_backend_config_est.py +23 -5
- pulumi_vault/pkisecret/get_backend_issuer.py +24 -4
- pulumi_vault/pkisecret/get_backend_issuers.py +18 -5
- pulumi_vault/pkisecret/get_backend_key.py +19 -4
- pulumi_vault/pkisecret/get_backend_keys.py +18 -5
- pulumi_vault/pkisecret/outputs.py +17 -12
- pulumi_vault/pkisecret/secret_backend_cert.py +5 -0
- pulumi_vault/pkisecret/secret_backend_config_ca.py +5 -0
- pulumi_vault/pkisecret/secret_backend_config_issuers.py +5 -0
- pulumi_vault/pkisecret/secret_backend_config_urls.py +5 -0
- pulumi_vault/pkisecret/secret_backend_crl_config.py +5 -0
- pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +5 -0
- pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +5 -0
- pulumi_vault/pkisecret/secret_backend_issuer.py +5 -0
- pulumi_vault/pkisecret/secret_backend_key.py +5 -0
- pulumi_vault/pkisecret/secret_backend_role.py +10 -5
- pulumi_vault/pkisecret/secret_backend_root_cert.py +5 -0
- pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +5 -0
- pulumi_vault/pkisecret/secret_backend_sign.py +5 -0
- pulumi_vault/plugin.py +5 -0
- pulumi_vault/plugin_pinned_version.py +5 -0
- pulumi_vault/policy.py +5 -0
- pulumi_vault/provider.py +47 -42
- pulumi_vault/pulumi-plugin.json +1 -1
- pulumi_vault/quota_lease_count.py +5 -0
- pulumi_vault/quota_rate_limit.py +5 -0
- pulumi_vault/rabbitmq/_inputs.py +61 -0
- pulumi_vault/rabbitmq/outputs.py +5 -0
- pulumi_vault/rabbitmq/secret_backend.py +5 -0
- pulumi_vault/rabbitmq/secret_backend_role.py +43 -38
- pulumi_vault/raft_autopilot.py +5 -0
- pulumi_vault/raft_snapshot_agent_config.py +5 -0
- pulumi_vault/rgp_policy.py +5 -0
- pulumi_vault/saml/auth_backend.py +5 -0
- pulumi_vault/saml/auth_backend_role.py +19 -14
- pulumi_vault/secrets/_inputs.py +30 -0
- pulumi_vault/secrets/outputs.py +5 -0
- pulumi_vault/secrets/sync_association.py +7 -2
- pulumi_vault/secrets/sync_aws_destination.py +19 -14
- pulumi_vault/secrets/sync_azure_destination.py +19 -14
- pulumi_vault/secrets/sync_config.py +5 -0
- pulumi_vault/secrets/sync_gcp_destination.py +19 -14
- pulumi_vault/secrets/sync_gh_destination.py +5 -0
- pulumi_vault/secrets/sync_github_apps.py +5 -0
- pulumi_vault/secrets/sync_vercel_destination.py +5 -0
- pulumi_vault/ssh/_inputs.py +22 -0
- pulumi_vault/ssh/outputs.py +5 -0
- pulumi_vault/ssh/secret_backend_ca.py +5 -0
- pulumi_vault/ssh/secret_backend_role.py +38 -33
- pulumi_vault/terraformcloud/secret_backend.py +5 -0
- pulumi_vault/terraformcloud/secret_creds.py +5 -0
- pulumi_vault/terraformcloud/secret_role.py +5 -0
- pulumi_vault/token.py +5 -0
- pulumi_vault/tokenauth/auth_backend_role.py +5 -14
- pulumi_vault/transform/alphabet.py +5 -0
- pulumi_vault/transform/get_decode.py +38 -14
- pulumi_vault/transform/get_encode.py +38 -14
- pulumi_vault/transform/role.py +5 -0
- pulumi_vault/transform/template.py +19 -14
- pulumi_vault/transform/transformation.py +5 -0
- pulumi_vault/transit/get_decrypt.py +21 -4
- pulumi_vault/transit/get_encrypt.py +23 -4
- pulumi_vault/transit/secret_backend_key.py +12 -7
- pulumi_vault/transit/secret_cache_config.py +5 -0
- {pulumi_vault-6.3.0a1723010642.dist-info → pulumi_vault-6.3.1.dist-info}/METADATA +3 -2
- pulumi_vault-6.3.1.dist-info/RECORD +256 -0
- {pulumi_vault-6.3.0a1723010642.dist-info → pulumi_vault-6.3.1.dist-info}/WHEEL +1 -1
- pulumi_vault-6.3.0a1723010642.dist-info/RECORD +0 -256
- {pulumi_vault-6.3.0a1723010642.dist-info → pulumi_vault-6.3.1.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__ = [
|
@@ -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,
|
@@ -166,8 +171,8 @@ def get_decode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
|
166
171
|
```
|
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.
|
@@ -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,
|
@@ -247,8 +249,8 @@ def get_decode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
247
249
|
```
|
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.
|
@@ -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.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')))
|
@@ -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,
|
@@ -168,8 +173,8 @@ def get_encode(batch_inputs: Optional[Sequence[Mapping[str, Any]]] = None,
|
|
168
173
|
```
|
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.
|
@@ -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,
|
@@ -251,8 +253,8 @@ def get_encode_output(batch_inputs: Optional[pulumi.Input[Optional[Sequence[Mapp
|
|
251
253
|
```
|
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.
|
@@ -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.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')))
|
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']
|
@@ -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__ = ['TemplateArgs', 'Template']
|
@@ -16,7 +21,7 @@ class TemplateArgs:
|
|
16
21
|
def __init__(__self__, *,
|
17
22
|
path: pulumi.Input[str],
|
18
23
|
alphabet: Optional[pulumi.Input[str]] = None,
|
19
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
24
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
20
25
|
encode_format: Optional[pulumi.Input[str]] = None,
|
21
26
|
name: Optional[pulumi.Input[str]] = None,
|
22
27
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -26,7 +31,7 @@ class TemplateArgs:
|
|
26
31
|
The set of arguments for constructing a Template resource.
|
27
32
|
:param pulumi.Input[str] path: Path to where the back-end is mounted within Vault.
|
28
33
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
29
|
-
:param pulumi.Input[Mapping[str,
|
34
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
30
35
|
the decoded output. (requires Vault Enterprise 1.9+)
|
31
36
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
32
37
|
(requires Vault Enterprise 1.9+)
|
@@ -80,7 +85,7 @@ class TemplateArgs:
|
|
80
85
|
|
81
86
|
@property
|
82
87
|
@pulumi.getter(name="decodeFormats")
|
83
|
-
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str,
|
88
|
+
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
84
89
|
"""
|
85
90
|
Optional mapping of name to regular expression template, used to customize
|
86
91
|
the decoded output. (requires Vault Enterprise 1.9+)
|
@@ -88,7 +93,7 @@ class TemplateArgs:
|
|
88
93
|
return pulumi.get(self, "decode_formats")
|
89
94
|
|
90
95
|
@decode_formats.setter
|
91
|
-
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str,
|
96
|
+
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
92
97
|
pulumi.set(self, "decode_formats", value)
|
93
98
|
|
94
99
|
@property
|
@@ -160,7 +165,7 @@ class TemplateArgs:
|
|
160
165
|
class _TemplateState:
|
161
166
|
def __init__(__self__, *,
|
162
167
|
alphabet: Optional[pulumi.Input[str]] = None,
|
163
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
168
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
164
169
|
encode_format: Optional[pulumi.Input[str]] = None,
|
165
170
|
name: Optional[pulumi.Input[str]] = None,
|
166
171
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -170,7 +175,7 @@ class _TemplateState:
|
|
170
175
|
"""
|
171
176
|
Input properties used for looking up and filtering Template resources.
|
172
177
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
173
|
-
:param pulumi.Input[Mapping[str,
|
178
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
174
179
|
the decoded output. (requires Vault Enterprise 1.9+)
|
175
180
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
176
181
|
(requires Vault Enterprise 1.9+)
|
@@ -214,7 +219,7 @@ class _TemplateState:
|
|
214
219
|
|
215
220
|
@property
|
216
221
|
@pulumi.getter(name="decodeFormats")
|
217
|
-
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str,
|
222
|
+
def decode_formats(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
218
223
|
"""
|
219
224
|
Optional mapping of name to regular expression template, used to customize
|
220
225
|
the decoded output. (requires Vault Enterprise 1.9+)
|
@@ -222,7 +227,7 @@ class _TemplateState:
|
|
222
227
|
return pulumi.get(self, "decode_formats")
|
223
228
|
|
224
229
|
@decode_formats.setter
|
225
|
-
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str,
|
230
|
+
def decode_formats(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
226
231
|
pulumi.set(self, "decode_formats", value)
|
227
232
|
|
228
233
|
@property
|
@@ -308,7 +313,7 @@ class Template(pulumi.CustomResource):
|
|
308
313
|
resource_name: str,
|
309
314
|
opts: Optional[pulumi.ResourceOptions] = None,
|
310
315
|
alphabet: Optional[pulumi.Input[str]] = None,
|
311
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
316
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
312
317
|
encode_format: Optional[pulumi.Input[str]] = None,
|
313
318
|
name: Optional[pulumi.Input[str]] = None,
|
314
319
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -360,7 +365,7 @@ class Template(pulumi.CustomResource):
|
|
360
365
|
:param str resource_name: The name of the resource.
|
361
366
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
362
367
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
363
|
-
:param pulumi.Input[Mapping[str,
|
368
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
364
369
|
the decoded output. (requires Vault Enterprise 1.9+)
|
365
370
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
366
371
|
(requires Vault Enterprise 1.9+)
|
@@ -436,7 +441,7 @@ class Template(pulumi.CustomResource):
|
|
436
441
|
resource_name: str,
|
437
442
|
opts: Optional[pulumi.ResourceOptions] = None,
|
438
443
|
alphabet: Optional[pulumi.Input[str]] = None,
|
439
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
444
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
440
445
|
encode_format: Optional[pulumi.Input[str]] = None,
|
441
446
|
name: Optional[pulumi.Input[str]] = None,
|
442
447
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -473,7 +478,7 @@ class Template(pulumi.CustomResource):
|
|
473
478
|
id: pulumi.Input[str],
|
474
479
|
opts: Optional[pulumi.ResourceOptions] = None,
|
475
480
|
alphabet: Optional[pulumi.Input[str]] = None,
|
476
|
-
decode_formats: Optional[pulumi.Input[Mapping[str,
|
481
|
+
decode_formats: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
477
482
|
encode_format: Optional[pulumi.Input[str]] = None,
|
478
483
|
name: Optional[pulumi.Input[str]] = None,
|
479
484
|
namespace: Optional[pulumi.Input[str]] = None,
|
@@ -488,7 +493,7 @@ class Template(pulumi.CustomResource):
|
|
488
493
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
489
494
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
490
495
|
:param pulumi.Input[str] alphabet: The alphabet to use for this template. This is only used during FPE transformations.
|
491
|
-
:param pulumi.Input[Mapping[str,
|
496
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] decode_formats: Optional mapping of name to regular expression template, used to customize
|
492
497
|
the decoded output. (requires Vault Enterprise 1.9+)
|
493
498
|
:param pulumi.Input[str] encode_format: The regular expression template used to format encoded values.
|
494
499
|
(requires Vault Enterprise 1.9+)
|
@@ -525,7 +530,7 @@ class Template(pulumi.CustomResource):
|
|
525
530
|
|
526
531
|
@property
|
527
532
|
@pulumi.getter(name="decodeFormats")
|
528
|
-
def decode_formats(self) -> pulumi.Output[Optional[Mapping[str,
|
533
|
+
def decode_formats(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
529
534
|
"""
|
530
535
|
Optional mapping of name to regular expression template, used to customize
|
531
536
|
the decoded output. (requires Vault Enterprise 1.9+)
|
@@ -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__ = ['TransformationArgs', 'Transformation']
|
@@ -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__ = [
|
@@ -138,9 +143,6 @@ def get_decrypt(backend: Optional[str] = None,
|
|
138
143
|
key=pulumi.get(__ret__, 'key'),
|
139
144
|
namespace=pulumi.get(__ret__, 'namespace'),
|
140
145
|
plaintext=pulumi.get(__ret__, 'plaintext'))
|
141
|
-
|
142
|
-
|
143
|
-
@_utilities.lift_output_func(get_decrypt)
|
144
146
|
def get_decrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
145
147
|
ciphertext: Optional[pulumi.Input[str]] = None,
|
146
148
|
context: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -161,4 +163,19 @@ def get_decrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
|
161
163
|
ciphertext="vault:v1:S3GtnJ5GUNCWV+/pdL9+g1Feu/nzAv+RlmTmE91Tu0rBkeIU8MEb2nSspC/1IQ==")
|
162
164
|
```
|
163
165
|
"""
|
164
|
-
|
166
|
+
__args__ = dict()
|
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')))
|
@@ -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__ = [
|
@@ -139,9 +144,6 @@ def get_encrypt(backend: Optional[str] = None,
|
|
139
144
|
key_version=pulumi.get(__ret__, 'key_version'),
|
140
145
|
namespace=pulumi.get(__ret__, 'namespace'),
|
141
146
|
plaintext=pulumi.get(__ret__, 'plaintext'))
|
142
|
-
|
143
|
-
|
144
|
-
@_utilities.lift_output_func(get_encrypt)
|
145
147
|
def get_encrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
146
148
|
context: Optional[pulumi.Input[Optional[str]]] = None,
|
147
149
|
key: Optional[pulumi.Input[str]] = None,
|
@@ -152,4 +154,21 @@ def get_encrypt_output(backend: Optional[pulumi.Input[str]] = None,
|
|
152
154
|
"""
|
153
155
|
This is a data source which can be used to encrypt plaintext using a Vault Transit key.
|
154
156
|
"""
|
155
|
-
|
157
|
+
__args__ = dict()
|
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')))
|
@@ -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__ = ['SecretBackendKeyArgs', 'SecretBackendKey']
|
@@ -249,7 +254,7 @@ class _SecretBackendKeyState:
|
|
249
254
|
derived: Optional[pulumi.Input[bool]] = None,
|
250
255
|
exportable: Optional[pulumi.Input[bool]] = None,
|
251
256
|
key_size: Optional[pulumi.Input[int]] = None,
|
252
|
-
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
257
|
+
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None,
|
253
258
|
latest_version: Optional[pulumi.Input[int]] = None,
|
254
259
|
min_available_version: Optional[pulumi.Input[int]] = None,
|
255
260
|
min_decryption_version: Optional[pulumi.Input[int]] = None,
|
@@ -273,7 +278,7 @@ class _SecretBackendKeyState:
|
|
273
278
|
: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.
|
274
279
|
: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.
|
275
280
|
: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.
|
276
|
-
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
281
|
+
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]] 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.
|
277
282
|
* 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.
|
278
283
|
* 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:
|
279
284
|
: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`
|
@@ -433,7 +438,7 @@ class _SecretBackendKeyState:
|
|
433
438
|
|
434
439
|
@property
|
435
440
|
@pulumi.getter
|
436
|
-
def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
441
|
+
def keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]]:
|
437
442
|
"""
|
438
443
|
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.
|
439
444
|
* 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.
|
@@ -442,7 +447,7 @@ class _SecretBackendKeyState:
|
|
442
447
|
return pulumi.get(self, "keys")
|
443
448
|
|
444
449
|
@keys.setter
|
445
|
-
def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
450
|
+
def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]]):
|
446
451
|
pulumi.set(self, "keys", value)
|
447
452
|
|
448
453
|
@property
|
@@ -762,7 +767,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
762
767
|
derived: Optional[pulumi.Input[bool]] = None,
|
763
768
|
exportable: Optional[pulumi.Input[bool]] = None,
|
764
769
|
key_size: Optional[pulumi.Input[int]] = None,
|
765
|
-
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
770
|
+
keys: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None,
|
766
771
|
latest_version: Optional[pulumi.Input[int]] = None,
|
767
772
|
min_available_version: Optional[pulumi.Input[int]] = None,
|
768
773
|
min_decryption_version: Optional[pulumi.Input[int]] = None,
|
@@ -791,7 +796,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
791
796
|
: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.
|
792
797
|
: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.
|
793
798
|
: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.
|
794
|
-
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str,
|
799
|
+
:param pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]] 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.
|
795
800
|
* 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.
|
796
801
|
* 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:
|
797
802
|
: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`
|
@@ -904,7 +909,7 @@ class SecretBackendKey(pulumi.CustomResource):
|
|
904
909
|
|
905
910
|
@property
|
906
911
|
@pulumi.getter
|
907
|
-
def keys(self) -> pulumi.Output[Sequence[Mapping[str,
|
912
|
+
def keys(self) -> pulumi.Output[Sequence[Mapping[str, str]]]:
|
908
913
|
"""
|
909
914
|
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.
|
910
915
|
* 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,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__ = ['SecretCacheConfigArgs', 'SecretCacheConfig']
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pulumi_vault
|
3
|
-
Version: 6.3.
|
3
|
+
Version: 6.3.1
|
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,8 +9,9 @@ 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.136.0
|
13
13
|
Requires-Dist: semver >=2.8.1
|
14
|
+
Requires-Dist: typing-extensions >=4.11 ; python_version < "3.11"
|
14
15
|
|
15
16
|
[](https://travis-ci.com/pulumi/pulumi-vault)
|
16
17
|
|