pulumi-vault 7.6.0a1764657486__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 +1399 -0
- pulumi_vault/_inputs.py +2701 -0
- pulumi_vault/_utilities.py +331 -0
- pulumi_vault/ad/__init__.py +12 -0
- pulumi_vault/ad/get_access_credentials.py +177 -0
- pulumi_vault/ad/secret_backend.py +1916 -0
- pulumi_vault/ad/secret_library.py +546 -0
- pulumi_vault/ad/secret_role.py +499 -0
- pulumi_vault/alicloud/__init__.py +9 -0
- pulumi_vault/alicloud/auth_backend_role.py +866 -0
- pulumi_vault/approle/__init__.py +12 -0
- pulumi_vault/approle/auth_backend_login.py +571 -0
- pulumi_vault/approle/auth_backend_role.py +1082 -0
- pulumi_vault/approle/auth_backend_role_secret_id.py +796 -0
- pulumi_vault/approle/get_auth_backend_role_id.py +169 -0
- pulumi_vault/audit.py +499 -0
- pulumi_vault/audit_request_header.py +277 -0
- pulumi_vault/auth_backend.py +565 -0
- pulumi_vault/aws/__init__.py +22 -0
- pulumi_vault/aws/auth_backend_cert.py +420 -0
- pulumi_vault/aws/auth_backend_client.py +1259 -0
- pulumi_vault/aws/auth_backend_config_identity.py +494 -0
- pulumi_vault/aws/auth_backend_identity_whitelist.py +380 -0
- pulumi_vault/aws/auth_backend_login.py +1046 -0
- pulumi_vault/aws/auth_backend_role.py +1961 -0
- pulumi_vault/aws/auth_backend_role_tag.py +638 -0
- pulumi_vault/aws/auth_backend_roletag_blacklist.py +366 -0
- pulumi_vault/aws/auth_backend_sts_role.py +414 -0
- pulumi_vault/aws/get_access_credentials.py +369 -0
- pulumi_vault/aws/get_static_access_credentials.py +137 -0
- pulumi_vault/aws/secret_backend.py +2018 -0
- pulumi_vault/aws/secret_backend_role.py +1188 -0
- pulumi_vault/aws/secret_backend_static_role.py +639 -0
- pulumi_vault/azure/__init__.py +15 -0
- pulumi_vault/azure/_inputs.py +108 -0
- pulumi_vault/azure/auth_backend_config.py +1096 -0
- pulumi_vault/azure/auth_backend_role.py +1176 -0
- pulumi_vault/azure/backend.py +1793 -0
- pulumi_vault/azure/backend_role.py +883 -0
- pulumi_vault/azure/get_access_credentials.py +400 -0
- pulumi_vault/azure/outputs.py +107 -0
- pulumi_vault/cert_auth_backend_role.py +1539 -0
- pulumi_vault/config/__init__.py +9 -0
- pulumi_vault/config/__init__.pyi +164 -0
- pulumi_vault/config/_inputs.py +73 -0
- pulumi_vault/config/outputs.py +1225 -0
- pulumi_vault/config/ui_custom_message.py +530 -0
- pulumi_vault/config/vars.py +230 -0
- pulumi_vault/consul/__init__.py +10 -0
- pulumi_vault/consul/secret_backend.py +1517 -0
- pulumi_vault/consul/secret_backend_role.py +847 -0
- pulumi_vault/database/__init__.py +14 -0
- pulumi_vault/database/_inputs.py +11907 -0
- pulumi_vault/database/outputs.py +8496 -0
- pulumi_vault/database/secret_backend_connection.py +1676 -0
- pulumi_vault/database/secret_backend_role.py +840 -0
- pulumi_vault/database/secret_backend_static_role.py +881 -0
- pulumi_vault/database/secrets_mount.py +2160 -0
- pulumi_vault/egp_policy.py +399 -0
- pulumi_vault/gcp/__init__.py +17 -0
- pulumi_vault/gcp/_inputs.py +441 -0
- pulumi_vault/gcp/auth_backend.py +1486 -0
- pulumi_vault/gcp/auth_backend_role.py +1235 -0
- pulumi_vault/gcp/get_auth_backend_role.py +514 -0
- pulumi_vault/gcp/outputs.py +302 -0
- pulumi_vault/gcp/secret_backend.py +1807 -0
- pulumi_vault/gcp/secret_impersonated_account.py +484 -0
- pulumi_vault/gcp/secret_roleset.py +554 -0
- pulumi_vault/gcp/secret_static_account.py +557 -0
- pulumi_vault/generic/__init__.py +11 -0
- pulumi_vault/generic/endpoint.py +786 -0
- pulumi_vault/generic/get_secret.py +306 -0
- pulumi_vault/generic/secret.py +486 -0
- pulumi_vault/get_auth_backend.py +226 -0
- pulumi_vault/get_auth_backends.py +170 -0
- pulumi_vault/get_namespace.py +226 -0
- pulumi_vault/get_namespaces.py +202 -0
- pulumi_vault/get_nomad_access_token.py +210 -0
- pulumi_vault/get_policy_document.py +160 -0
- pulumi_vault/get_raft_autopilot_state.py +267 -0
- pulumi_vault/github/__init__.py +13 -0
- pulumi_vault/github/_inputs.py +225 -0
- pulumi_vault/github/auth_backend.py +1194 -0
- pulumi_vault/github/outputs.py +174 -0
- pulumi_vault/github/team.py +380 -0
- pulumi_vault/github/user.py +380 -0
- pulumi_vault/identity/__init__.py +35 -0
- pulumi_vault/identity/entity.py +447 -0
- pulumi_vault/identity/entity_alias.py +398 -0
- pulumi_vault/identity/entity_policies.py +455 -0
- pulumi_vault/identity/get_entity.py +384 -0
- pulumi_vault/identity/get_group.py +467 -0
- pulumi_vault/identity/get_oidc_client_creds.py +175 -0
- pulumi_vault/identity/get_oidc_openid_config.py +334 -0
- pulumi_vault/identity/get_oidc_public_keys.py +179 -0
- pulumi_vault/identity/group.py +805 -0
- pulumi_vault/identity/group_alias.py +386 -0
- pulumi_vault/identity/group_member_entity_ids.py +444 -0
- pulumi_vault/identity/group_member_group_ids.py +467 -0
- pulumi_vault/identity/group_policies.py +471 -0
- pulumi_vault/identity/mfa_duo.py +674 -0
- pulumi_vault/identity/mfa_login_enforcement.py +566 -0
- pulumi_vault/identity/mfa_okta.py +626 -0
- pulumi_vault/identity/mfa_pingid.py +616 -0
- pulumi_vault/identity/mfa_totp.py +758 -0
- pulumi_vault/identity/oidc.py +268 -0
- pulumi_vault/identity/oidc_assignment.py +375 -0
- pulumi_vault/identity/oidc_client.py +667 -0
- pulumi_vault/identity/oidc_key.py +474 -0
- pulumi_vault/identity/oidc_key_allowed_client_id.py +298 -0
- pulumi_vault/identity/oidc_provider.py +550 -0
- pulumi_vault/identity/oidc_role.py +543 -0
- pulumi_vault/identity/oidc_scope.py +355 -0
- pulumi_vault/identity/outputs.py +137 -0
- pulumi_vault/jwt/__init__.py +12 -0
- pulumi_vault/jwt/_inputs.py +225 -0
- pulumi_vault/jwt/auth_backend.py +1347 -0
- pulumi_vault/jwt/auth_backend_role.py +1847 -0
- pulumi_vault/jwt/outputs.py +174 -0
- pulumi_vault/kmip/__init__.py +11 -0
- pulumi_vault/kmip/secret_backend.py +1591 -0
- pulumi_vault/kmip/secret_role.py +1194 -0
- pulumi_vault/kmip/secret_scope.py +372 -0
- pulumi_vault/kubernetes/__init__.py +15 -0
- pulumi_vault/kubernetes/auth_backend_config.py +654 -0
- pulumi_vault/kubernetes/auth_backend_role.py +1031 -0
- pulumi_vault/kubernetes/get_auth_backend_config.py +280 -0
- pulumi_vault/kubernetes/get_auth_backend_role.py +470 -0
- pulumi_vault/kubernetes/get_service_account_token.py +344 -0
- pulumi_vault/kubernetes/secret_backend.py +1341 -0
- pulumi_vault/kubernetes/secret_backend_role.py +1140 -0
- pulumi_vault/kv/__init__.py +18 -0
- pulumi_vault/kv/_inputs.py +124 -0
- pulumi_vault/kv/get_secret.py +240 -0
- pulumi_vault/kv/get_secret_subkeys_v2.py +275 -0
- pulumi_vault/kv/get_secret_v2.py +315 -0
- pulumi_vault/kv/get_secrets_list.py +186 -0
- pulumi_vault/kv/get_secrets_list_v2.py +243 -0
- pulumi_vault/kv/outputs.py +102 -0
- pulumi_vault/kv/secret.py +397 -0
- pulumi_vault/kv/secret_backend_v2.py +455 -0
- pulumi_vault/kv/secret_v2.py +970 -0
- pulumi_vault/ldap/__init__.py +19 -0
- pulumi_vault/ldap/_inputs.py +225 -0
- pulumi_vault/ldap/auth_backend.py +2520 -0
- pulumi_vault/ldap/auth_backend_group.py +386 -0
- pulumi_vault/ldap/auth_backend_user.py +439 -0
- pulumi_vault/ldap/get_dynamic_credentials.py +181 -0
- pulumi_vault/ldap/get_static_credentials.py +192 -0
- pulumi_vault/ldap/outputs.py +174 -0
- pulumi_vault/ldap/secret_backend.py +2207 -0
- pulumi_vault/ldap/secret_backend_dynamic_role.py +767 -0
- pulumi_vault/ldap/secret_backend_library_set.py +552 -0
- pulumi_vault/ldap/secret_backend_static_role.py +541 -0
- pulumi_vault/managed/__init__.py +11 -0
- pulumi_vault/managed/_inputs.py +944 -0
- pulumi_vault/managed/keys.py +398 -0
- pulumi_vault/managed/outputs.py +667 -0
- pulumi_vault/mfa_duo.py +589 -0
- pulumi_vault/mfa_okta.py +623 -0
- pulumi_vault/mfa_pingid.py +670 -0
- pulumi_vault/mfa_totp.py +620 -0
- pulumi_vault/mongodbatlas/__init__.py +10 -0
- pulumi_vault/mongodbatlas/secret_backend.py +388 -0
- pulumi_vault/mongodbatlas/secret_role.py +726 -0
- pulumi_vault/mount.py +1262 -0
- pulumi_vault/namespace.py +452 -0
- pulumi_vault/nomad_secret_backend.py +1559 -0
- pulumi_vault/nomad_secret_role.py +489 -0
- pulumi_vault/oci_auth_backend.py +676 -0
- pulumi_vault/oci_auth_backend_role.py +852 -0
- pulumi_vault/okta/__init__.py +13 -0
- pulumi_vault/okta/_inputs.py +320 -0
- pulumi_vault/okta/auth_backend.py +1231 -0
- pulumi_vault/okta/auth_backend_group.py +369 -0
- pulumi_vault/okta/auth_backend_user.py +416 -0
- pulumi_vault/okta/outputs.py +244 -0
- pulumi_vault/outputs.py +502 -0
- pulumi_vault/pkisecret/__init__.py +38 -0
- pulumi_vault/pkisecret/_inputs.py +270 -0
- pulumi_vault/pkisecret/backend_acme_eab.py +550 -0
- pulumi_vault/pkisecret/backend_config_acme.py +690 -0
- pulumi_vault/pkisecret/backend_config_auto_tidy.py +1370 -0
- pulumi_vault/pkisecret/backend_config_cluster.py +370 -0
- pulumi_vault/pkisecret/backend_config_cmpv2.py +693 -0
- pulumi_vault/pkisecret/backend_config_est.py +756 -0
- pulumi_vault/pkisecret/backend_config_scep.py +738 -0
- pulumi_vault/pkisecret/get_backend_cert_metadata.py +277 -0
- pulumi_vault/pkisecret/get_backend_config_cmpv2.py +226 -0
- pulumi_vault/pkisecret/get_backend_config_est.py +251 -0
- pulumi_vault/pkisecret/get_backend_config_scep.py +271 -0
- pulumi_vault/pkisecret/get_backend_issuer.py +395 -0
- pulumi_vault/pkisecret/get_backend_issuers.py +192 -0
- pulumi_vault/pkisecret/get_backend_key.py +211 -0
- pulumi_vault/pkisecret/get_backend_keys.py +192 -0
- pulumi_vault/pkisecret/outputs.py +270 -0
- pulumi_vault/pkisecret/secret_backend_cert.py +1315 -0
- pulumi_vault/pkisecret/secret_backend_config_ca.py +386 -0
- pulumi_vault/pkisecret/secret_backend_config_issuers.py +392 -0
- pulumi_vault/pkisecret/secret_backend_config_urls.py +462 -0
- pulumi_vault/pkisecret/secret_backend_crl_config.py +846 -0
- pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +1629 -0
- pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +444 -0
- pulumi_vault/pkisecret/secret_backend_issuer.py +1089 -0
- pulumi_vault/pkisecret/secret_backend_key.py +613 -0
- pulumi_vault/pkisecret/secret_backend_role.py +2694 -0
- pulumi_vault/pkisecret/secret_backend_root_cert.py +2134 -0
- pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +2031 -0
- pulumi_vault/pkisecret/secret_backend_sign.py +1194 -0
- pulumi_vault/plugin.py +596 -0
- pulumi_vault/plugin_pinned_version.py +299 -0
- pulumi_vault/policy.py +279 -0
- pulumi_vault/provider.py +781 -0
- pulumi_vault/pulumi-plugin.json +5 -0
- pulumi_vault/py.typed +0 -0
- pulumi_vault/quota_lease_count.py +504 -0
- pulumi_vault/quota_rate_limit.py +751 -0
- pulumi_vault/rabbitmq/__init__.py +12 -0
- pulumi_vault/rabbitmq/_inputs.py +235 -0
- pulumi_vault/rabbitmq/outputs.py +144 -0
- pulumi_vault/rabbitmq/secret_backend.py +1437 -0
- pulumi_vault/rabbitmq/secret_backend_role.py +496 -0
- pulumi_vault/raft_autopilot.py +609 -0
- pulumi_vault/raft_snapshot_agent_config.py +1591 -0
- pulumi_vault/rgp_policy.py +349 -0
- pulumi_vault/saml/__init__.py +12 -0
- pulumi_vault/saml/_inputs.py +225 -0
- pulumi_vault/saml/auth_backend.py +811 -0
- pulumi_vault/saml/auth_backend_role.py +1068 -0
- pulumi_vault/saml/outputs.py +174 -0
- pulumi_vault/scep_auth_backend_role.py +908 -0
- pulumi_vault/secrets/__init__.py +18 -0
- pulumi_vault/secrets/_inputs.py +110 -0
- pulumi_vault/secrets/outputs.py +94 -0
- pulumi_vault/secrets/sync_association.py +450 -0
- pulumi_vault/secrets/sync_aws_destination.py +780 -0
- pulumi_vault/secrets/sync_azure_destination.py +736 -0
- pulumi_vault/secrets/sync_config.py +303 -0
- pulumi_vault/secrets/sync_gcp_destination.py +572 -0
- pulumi_vault/secrets/sync_gh_destination.py +688 -0
- pulumi_vault/secrets/sync_github_apps.py +376 -0
- pulumi_vault/secrets/sync_vercel_destination.py +603 -0
- pulumi_vault/ssh/__init__.py +13 -0
- pulumi_vault/ssh/_inputs.py +76 -0
- pulumi_vault/ssh/get_secret_backend_sign.py +294 -0
- pulumi_vault/ssh/outputs.py +51 -0
- pulumi_vault/ssh/secret_backend_ca.py +588 -0
- pulumi_vault/ssh/secret_backend_role.py +1493 -0
- pulumi_vault/terraformcloud/__init__.py +11 -0
- pulumi_vault/terraformcloud/secret_backend.py +1321 -0
- pulumi_vault/terraformcloud/secret_creds.py +445 -0
- pulumi_vault/terraformcloud/secret_role.py +563 -0
- pulumi_vault/token.py +1026 -0
- pulumi_vault/tokenauth/__init__.py +9 -0
- pulumi_vault/tokenauth/auth_backend_role.py +1135 -0
- pulumi_vault/transform/__init__.py +14 -0
- pulumi_vault/transform/alphabet.py +348 -0
- pulumi_vault/transform/get_decode.py +287 -0
- pulumi_vault/transform/get_encode.py +291 -0
- pulumi_vault/transform/role.py +350 -0
- pulumi_vault/transform/template.py +592 -0
- pulumi_vault/transform/transformation.py +608 -0
- pulumi_vault/transit/__init__.py +15 -0
- pulumi_vault/transit/get_cmac.py +256 -0
- pulumi_vault/transit/get_decrypt.py +181 -0
- pulumi_vault/transit/get_encrypt.py +174 -0
- pulumi_vault/transit/get_sign.py +328 -0
- pulumi_vault/transit/get_verify.py +373 -0
- pulumi_vault/transit/secret_backend_key.py +1202 -0
- pulumi_vault/transit/secret_cache_config.py +302 -0
- pulumi_vault-7.6.0a1764657486.dist-info/METADATA +92 -0
- pulumi_vault-7.6.0a1764657486.dist-info/RECORD +274 -0
- pulumi_vault-7.6.0a1764657486.dist-info/WHEEL +5 -0
- pulumi_vault-7.6.0a1764657486.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['SecretBackendCaArgs', 'SecretBackendCa']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class SecretBackendCaArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
|
23
|
+
generate_signing_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
24
|
+
key_bits: Optional[pulumi.Input[_builtins.int]] = None,
|
|
25
|
+
key_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
managed_key_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
public_key: Optional[pulumi.Input[_builtins.str]] = None):
|
|
31
|
+
"""
|
|
32
|
+
The set of arguments for constructing a SecretBackendCa resource.
|
|
33
|
+
:param pulumi.Input[_builtins.str] backend: The path where the SSH secret backend is mounted. Defaults to 'ssh'
|
|
34
|
+
:param pulumi.Input[_builtins.bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
|
35
|
+
:param pulumi.Input[_builtins.int] key_bits: Specifies the desired key bits for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
36
|
+
:param pulumi.Input[_builtins.str] key_type: Specifies the desired key type for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
37
|
+
:param pulumi.Input[_builtins.str] managed_key_id: The id of the managed key to use. When using a managed key, this field or managed_key_name is required.
|
|
38
|
+
:param pulumi.Input[_builtins.str] managed_key_name: The name of the managed key to use. When using a managed key, this field or managed_key_id is required.
|
|
39
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
|
40
|
+
The value should not contain leading or trailing forward slashes.
|
|
41
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
42
|
+
*Available only for Vault Enterprise*.
|
|
43
|
+
:param pulumi.Input[_builtins.str] private_key: The private key part the SSH CA key pair; required if generate_signing_key is false.
|
|
44
|
+
:param pulumi.Input[_builtins.str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
|
45
|
+
"""
|
|
46
|
+
if backend is not None:
|
|
47
|
+
pulumi.set(__self__, "backend", backend)
|
|
48
|
+
if generate_signing_key is not None:
|
|
49
|
+
pulumi.set(__self__, "generate_signing_key", generate_signing_key)
|
|
50
|
+
if key_bits is not None:
|
|
51
|
+
pulumi.set(__self__, "key_bits", key_bits)
|
|
52
|
+
if key_type is not None:
|
|
53
|
+
pulumi.set(__self__, "key_type", key_type)
|
|
54
|
+
if managed_key_id is not None:
|
|
55
|
+
pulumi.set(__self__, "managed_key_id", managed_key_id)
|
|
56
|
+
if managed_key_name is not None:
|
|
57
|
+
pulumi.set(__self__, "managed_key_name", managed_key_name)
|
|
58
|
+
if namespace is not None:
|
|
59
|
+
pulumi.set(__self__, "namespace", namespace)
|
|
60
|
+
if private_key is not None:
|
|
61
|
+
pulumi.set(__self__, "private_key", private_key)
|
|
62
|
+
if public_key is not None:
|
|
63
|
+
pulumi.set(__self__, "public_key", public_key)
|
|
64
|
+
|
|
65
|
+
@_builtins.property
|
|
66
|
+
@pulumi.getter
|
|
67
|
+
def backend(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
68
|
+
"""
|
|
69
|
+
The path where the SSH secret backend is mounted. Defaults to 'ssh'
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "backend")
|
|
72
|
+
|
|
73
|
+
@backend.setter
|
|
74
|
+
def backend(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
75
|
+
pulumi.set(self, "backend", value)
|
|
76
|
+
|
|
77
|
+
@_builtins.property
|
|
78
|
+
@pulumi.getter(name="generateSigningKey")
|
|
79
|
+
def generate_signing_key(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
80
|
+
"""
|
|
81
|
+
Whether Vault should generate the signing key pair internally. Defaults to true
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "generate_signing_key")
|
|
84
|
+
|
|
85
|
+
@generate_signing_key.setter
|
|
86
|
+
def generate_signing_key(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
87
|
+
pulumi.set(self, "generate_signing_key", value)
|
|
88
|
+
|
|
89
|
+
@_builtins.property
|
|
90
|
+
@pulumi.getter(name="keyBits")
|
|
91
|
+
def key_bits(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
92
|
+
"""
|
|
93
|
+
Specifies the desired key bits for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "key_bits")
|
|
96
|
+
|
|
97
|
+
@key_bits.setter
|
|
98
|
+
def key_bits(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
99
|
+
pulumi.set(self, "key_bits", value)
|
|
100
|
+
|
|
101
|
+
@_builtins.property
|
|
102
|
+
@pulumi.getter(name="keyType")
|
|
103
|
+
def key_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
104
|
+
"""
|
|
105
|
+
Specifies the desired key type for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "key_type")
|
|
108
|
+
|
|
109
|
+
@key_type.setter
|
|
110
|
+
def key_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
111
|
+
pulumi.set(self, "key_type", value)
|
|
112
|
+
|
|
113
|
+
@_builtins.property
|
|
114
|
+
@pulumi.getter(name="managedKeyId")
|
|
115
|
+
def managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
116
|
+
"""
|
|
117
|
+
The id of the managed key to use. When using a managed key, this field or managed_key_name is required.
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "managed_key_id")
|
|
120
|
+
|
|
121
|
+
@managed_key_id.setter
|
|
122
|
+
def managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
123
|
+
pulumi.set(self, "managed_key_id", value)
|
|
124
|
+
|
|
125
|
+
@_builtins.property
|
|
126
|
+
@pulumi.getter(name="managedKeyName")
|
|
127
|
+
def managed_key_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
|
+
"""
|
|
129
|
+
The name of the managed key to use. When using a managed key, this field or managed_key_id is required.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "managed_key_name")
|
|
132
|
+
|
|
133
|
+
@managed_key_name.setter
|
|
134
|
+
def managed_key_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
|
+
pulumi.set(self, "managed_key_name", value)
|
|
136
|
+
|
|
137
|
+
@_builtins.property
|
|
138
|
+
@pulumi.getter
|
|
139
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
140
|
+
"""
|
|
141
|
+
The namespace to provision the resource in.
|
|
142
|
+
The value should not contain leading or trailing forward slashes.
|
|
143
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
144
|
+
*Available only for Vault Enterprise*.
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "namespace")
|
|
147
|
+
|
|
148
|
+
@namespace.setter
|
|
149
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
150
|
+
pulumi.set(self, "namespace", value)
|
|
151
|
+
|
|
152
|
+
@_builtins.property
|
|
153
|
+
@pulumi.getter(name="privateKey")
|
|
154
|
+
def private_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
155
|
+
"""
|
|
156
|
+
The private key part the SSH CA key pair; required if generate_signing_key is false.
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "private_key")
|
|
159
|
+
|
|
160
|
+
@private_key.setter
|
|
161
|
+
def private_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
162
|
+
pulumi.set(self, "private_key", value)
|
|
163
|
+
|
|
164
|
+
@_builtins.property
|
|
165
|
+
@pulumi.getter(name="publicKey")
|
|
166
|
+
def public_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
167
|
+
"""
|
|
168
|
+
The public key part the SSH CA key pair; required if generate_signing_key is false.
|
|
169
|
+
"""
|
|
170
|
+
return pulumi.get(self, "public_key")
|
|
171
|
+
|
|
172
|
+
@public_key.setter
|
|
173
|
+
def public_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
174
|
+
pulumi.set(self, "public_key", value)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
@pulumi.input_type
|
|
178
|
+
class _SecretBackendCaState:
|
|
179
|
+
def __init__(__self__, *,
|
|
180
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
|
181
|
+
generate_signing_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
182
|
+
key_bits: Optional[pulumi.Input[_builtins.int]] = None,
|
|
183
|
+
key_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
184
|
+
managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
185
|
+
managed_key_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
186
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
187
|
+
private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
188
|
+
public_key: Optional[pulumi.Input[_builtins.str]] = None):
|
|
189
|
+
"""
|
|
190
|
+
Input properties used for looking up and filtering SecretBackendCa resources.
|
|
191
|
+
:param pulumi.Input[_builtins.str] backend: The path where the SSH secret backend is mounted. Defaults to 'ssh'
|
|
192
|
+
:param pulumi.Input[_builtins.bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
|
193
|
+
:param pulumi.Input[_builtins.int] key_bits: Specifies the desired key bits for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
194
|
+
:param pulumi.Input[_builtins.str] key_type: Specifies the desired key type for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
195
|
+
:param pulumi.Input[_builtins.str] managed_key_id: The id of the managed key to use. When using a managed key, this field or managed_key_name is required.
|
|
196
|
+
:param pulumi.Input[_builtins.str] managed_key_name: The name of the managed key to use. When using a managed key, this field or managed_key_id is required.
|
|
197
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
|
198
|
+
The value should not contain leading or trailing forward slashes.
|
|
199
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
200
|
+
*Available only for Vault Enterprise*.
|
|
201
|
+
:param pulumi.Input[_builtins.str] private_key: The private key part the SSH CA key pair; required if generate_signing_key is false.
|
|
202
|
+
:param pulumi.Input[_builtins.str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
|
203
|
+
"""
|
|
204
|
+
if backend is not None:
|
|
205
|
+
pulumi.set(__self__, "backend", backend)
|
|
206
|
+
if generate_signing_key is not None:
|
|
207
|
+
pulumi.set(__self__, "generate_signing_key", generate_signing_key)
|
|
208
|
+
if key_bits is not None:
|
|
209
|
+
pulumi.set(__self__, "key_bits", key_bits)
|
|
210
|
+
if key_type is not None:
|
|
211
|
+
pulumi.set(__self__, "key_type", key_type)
|
|
212
|
+
if managed_key_id is not None:
|
|
213
|
+
pulumi.set(__self__, "managed_key_id", managed_key_id)
|
|
214
|
+
if managed_key_name is not None:
|
|
215
|
+
pulumi.set(__self__, "managed_key_name", managed_key_name)
|
|
216
|
+
if namespace is not None:
|
|
217
|
+
pulumi.set(__self__, "namespace", namespace)
|
|
218
|
+
if private_key is not None:
|
|
219
|
+
pulumi.set(__self__, "private_key", private_key)
|
|
220
|
+
if public_key is not None:
|
|
221
|
+
pulumi.set(__self__, "public_key", public_key)
|
|
222
|
+
|
|
223
|
+
@_builtins.property
|
|
224
|
+
@pulumi.getter
|
|
225
|
+
def backend(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
226
|
+
"""
|
|
227
|
+
The path where the SSH secret backend is mounted. Defaults to 'ssh'
|
|
228
|
+
"""
|
|
229
|
+
return pulumi.get(self, "backend")
|
|
230
|
+
|
|
231
|
+
@backend.setter
|
|
232
|
+
def backend(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
233
|
+
pulumi.set(self, "backend", value)
|
|
234
|
+
|
|
235
|
+
@_builtins.property
|
|
236
|
+
@pulumi.getter(name="generateSigningKey")
|
|
237
|
+
def generate_signing_key(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
238
|
+
"""
|
|
239
|
+
Whether Vault should generate the signing key pair internally. Defaults to true
|
|
240
|
+
"""
|
|
241
|
+
return pulumi.get(self, "generate_signing_key")
|
|
242
|
+
|
|
243
|
+
@generate_signing_key.setter
|
|
244
|
+
def generate_signing_key(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
245
|
+
pulumi.set(self, "generate_signing_key", value)
|
|
246
|
+
|
|
247
|
+
@_builtins.property
|
|
248
|
+
@pulumi.getter(name="keyBits")
|
|
249
|
+
def key_bits(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
250
|
+
"""
|
|
251
|
+
Specifies the desired key bits for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
252
|
+
"""
|
|
253
|
+
return pulumi.get(self, "key_bits")
|
|
254
|
+
|
|
255
|
+
@key_bits.setter
|
|
256
|
+
def key_bits(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
257
|
+
pulumi.set(self, "key_bits", value)
|
|
258
|
+
|
|
259
|
+
@_builtins.property
|
|
260
|
+
@pulumi.getter(name="keyType")
|
|
261
|
+
def key_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
262
|
+
"""
|
|
263
|
+
Specifies the desired key type for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "key_type")
|
|
266
|
+
|
|
267
|
+
@key_type.setter
|
|
268
|
+
def key_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
269
|
+
pulumi.set(self, "key_type", value)
|
|
270
|
+
|
|
271
|
+
@_builtins.property
|
|
272
|
+
@pulumi.getter(name="managedKeyId")
|
|
273
|
+
def managed_key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
274
|
+
"""
|
|
275
|
+
The id of the managed key to use. When using a managed key, this field or managed_key_name is required.
|
|
276
|
+
"""
|
|
277
|
+
return pulumi.get(self, "managed_key_id")
|
|
278
|
+
|
|
279
|
+
@managed_key_id.setter
|
|
280
|
+
def managed_key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
281
|
+
pulumi.set(self, "managed_key_id", value)
|
|
282
|
+
|
|
283
|
+
@_builtins.property
|
|
284
|
+
@pulumi.getter(name="managedKeyName")
|
|
285
|
+
def managed_key_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
286
|
+
"""
|
|
287
|
+
The name of the managed key to use. When using a managed key, this field or managed_key_id is required.
|
|
288
|
+
"""
|
|
289
|
+
return pulumi.get(self, "managed_key_name")
|
|
290
|
+
|
|
291
|
+
@managed_key_name.setter
|
|
292
|
+
def managed_key_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
293
|
+
pulumi.set(self, "managed_key_name", value)
|
|
294
|
+
|
|
295
|
+
@_builtins.property
|
|
296
|
+
@pulumi.getter
|
|
297
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
298
|
+
"""
|
|
299
|
+
The namespace to provision the resource in.
|
|
300
|
+
The value should not contain leading or trailing forward slashes.
|
|
301
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
302
|
+
*Available only for Vault Enterprise*.
|
|
303
|
+
"""
|
|
304
|
+
return pulumi.get(self, "namespace")
|
|
305
|
+
|
|
306
|
+
@namespace.setter
|
|
307
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
308
|
+
pulumi.set(self, "namespace", value)
|
|
309
|
+
|
|
310
|
+
@_builtins.property
|
|
311
|
+
@pulumi.getter(name="privateKey")
|
|
312
|
+
def private_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
313
|
+
"""
|
|
314
|
+
The private key part the SSH CA key pair; required if generate_signing_key is false.
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "private_key")
|
|
317
|
+
|
|
318
|
+
@private_key.setter
|
|
319
|
+
def private_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
320
|
+
pulumi.set(self, "private_key", value)
|
|
321
|
+
|
|
322
|
+
@_builtins.property
|
|
323
|
+
@pulumi.getter(name="publicKey")
|
|
324
|
+
def public_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
325
|
+
"""
|
|
326
|
+
The public key part the SSH CA key pair; required if generate_signing_key is false.
|
|
327
|
+
"""
|
|
328
|
+
return pulumi.get(self, "public_key")
|
|
329
|
+
|
|
330
|
+
@public_key.setter
|
|
331
|
+
def public_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
332
|
+
pulumi.set(self, "public_key", value)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
@pulumi.type_token("vault:ssh/secretBackendCa:SecretBackendCa")
|
|
336
|
+
class SecretBackendCa(pulumi.CustomResource):
|
|
337
|
+
@overload
|
|
338
|
+
def __init__(__self__,
|
|
339
|
+
resource_name: str,
|
|
340
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
341
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
|
342
|
+
generate_signing_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
343
|
+
key_bits: Optional[pulumi.Input[_builtins.int]] = None,
|
|
344
|
+
key_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
345
|
+
managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
346
|
+
managed_key_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
348
|
+
private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
349
|
+
public_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
350
|
+
__props__=None):
|
|
351
|
+
"""
|
|
352
|
+
Provides a resource to manage CA information in an SSH secret backend
|
|
353
|
+
[SSH secret backend within Vault](https://www.vaultproject.io/docs/secrets/ssh/index.html).
|
|
354
|
+
|
|
355
|
+
## Example Usage
|
|
356
|
+
|
|
357
|
+
```python
|
|
358
|
+
import pulumi
|
|
359
|
+
import pulumi_vault as vault
|
|
360
|
+
|
|
361
|
+
example = vault.Mount("example", type="ssh")
|
|
362
|
+
foo = vault.ssh.SecretBackendCa("foo", backend=example.path)
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
## Import
|
|
366
|
+
|
|
367
|
+
SSH secret backend CAs can be imported using the `path`, e.g.
|
|
368
|
+
|
|
369
|
+
```sh
|
|
370
|
+
$ pulumi import vault:ssh/secretBackendCa:SecretBackendCa foo ssh
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
:param str resource_name: The name of the resource.
|
|
374
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
375
|
+
:param pulumi.Input[_builtins.str] backend: The path where the SSH secret backend is mounted. Defaults to 'ssh'
|
|
376
|
+
:param pulumi.Input[_builtins.bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
|
377
|
+
:param pulumi.Input[_builtins.int] key_bits: Specifies the desired key bits for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
378
|
+
:param pulumi.Input[_builtins.str] key_type: Specifies the desired key type for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
379
|
+
:param pulumi.Input[_builtins.str] managed_key_id: The id of the managed key to use. When using a managed key, this field or managed_key_name is required.
|
|
380
|
+
:param pulumi.Input[_builtins.str] managed_key_name: The name of the managed key to use. When using a managed key, this field or managed_key_id is required.
|
|
381
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
|
382
|
+
The value should not contain leading or trailing forward slashes.
|
|
383
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
384
|
+
*Available only for Vault Enterprise*.
|
|
385
|
+
:param pulumi.Input[_builtins.str] private_key: The private key part the SSH CA key pair; required if generate_signing_key is false.
|
|
386
|
+
:param pulumi.Input[_builtins.str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
|
387
|
+
"""
|
|
388
|
+
...
|
|
389
|
+
@overload
|
|
390
|
+
def __init__(__self__,
|
|
391
|
+
resource_name: str,
|
|
392
|
+
args: Optional[SecretBackendCaArgs] = None,
|
|
393
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
394
|
+
"""
|
|
395
|
+
Provides a resource to manage CA information in an SSH secret backend
|
|
396
|
+
[SSH secret backend within Vault](https://www.vaultproject.io/docs/secrets/ssh/index.html).
|
|
397
|
+
|
|
398
|
+
## Example Usage
|
|
399
|
+
|
|
400
|
+
```python
|
|
401
|
+
import pulumi
|
|
402
|
+
import pulumi_vault as vault
|
|
403
|
+
|
|
404
|
+
example = vault.Mount("example", type="ssh")
|
|
405
|
+
foo = vault.ssh.SecretBackendCa("foo", backend=example.path)
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
## Import
|
|
409
|
+
|
|
410
|
+
SSH secret backend CAs can be imported using the `path`, e.g.
|
|
411
|
+
|
|
412
|
+
```sh
|
|
413
|
+
$ pulumi import vault:ssh/secretBackendCa:SecretBackendCa foo ssh
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
:param str resource_name: The name of the resource.
|
|
417
|
+
:param SecretBackendCaArgs args: The arguments to use to populate this resource's properties.
|
|
418
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
419
|
+
"""
|
|
420
|
+
...
|
|
421
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
422
|
+
resource_args, opts = _utilities.get_resource_args_opts(SecretBackendCaArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
423
|
+
if resource_args is not None:
|
|
424
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
425
|
+
else:
|
|
426
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
427
|
+
|
|
428
|
+
def _internal_init(__self__,
|
|
429
|
+
resource_name: str,
|
|
430
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
431
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
|
432
|
+
generate_signing_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
433
|
+
key_bits: Optional[pulumi.Input[_builtins.int]] = None,
|
|
434
|
+
key_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
435
|
+
managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
436
|
+
managed_key_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
437
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
438
|
+
private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
439
|
+
public_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
440
|
+
__props__=None):
|
|
441
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
442
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
443
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
444
|
+
if opts.id is None:
|
|
445
|
+
if __props__ is not None:
|
|
446
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
447
|
+
__props__ = SecretBackendCaArgs.__new__(SecretBackendCaArgs)
|
|
448
|
+
|
|
449
|
+
__props__.__dict__["backend"] = backend
|
|
450
|
+
__props__.__dict__["generate_signing_key"] = generate_signing_key
|
|
451
|
+
__props__.__dict__["key_bits"] = key_bits
|
|
452
|
+
__props__.__dict__["key_type"] = key_type
|
|
453
|
+
__props__.__dict__["managed_key_id"] = managed_key_id
|
|
454
|
+
__props__.__dict__["managed_key_name"] = managed_key_name
|
|
455
|
+
__props__.__dict__["namespace"] = namespace
|
|
456
|
+
__props__.__dict__["private_key"] = None if private_key is None else pulumi.Output.secret(private_key)
|
|
457
|
+
__props__.__dict__["public_key"] = public_key
|
|
458
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["privateKey"])
|
|
459
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
460
|
+
super(SecretBackendCa, __self__).__init__(
|
|
461
|
+
'vault:ssh/secretBackendCa:SecretBackendCa',
|
|
462
|
+
resource_name,
|
|
463
|
+
__props__,
|
|
464
|
+
opts)
|
|
465
|
+
|
|
466
|
+
@staticmethod
|
|
467
|
+
def get(resource_name: str,
|
|
468
|
+
id: pulumi.Input[str],
|
|
469
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
470
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
|
471
|
+
generate_signing_key: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
472
|
+
key_bits: Optional[pulumi.Input[_builtins.int]] = None,
|
|
473
|
+
key_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
474
|
+
managed_key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
475
|
+
managed_key_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
476
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
|
477
|
+
private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
478
|
+
public_key: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecretBackendCa':
|
|
479
|
+
"""
|
|
480
|
+
Get an existing SecretBackendCa resource's state with the given name, id, and optional extra
|
|
481
|
+
properties used to qualify the lookup.
|
|
482
|
+
|
|
483
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
484
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
485
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
486
|
+
:param pulumi.Input[_builtins.str] backend: The path where the SSH secret backend is mounted. Defaults to 'ssh'
|
|
487
|
+
:param pulumi.Input[_builtins.bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
|
488
|
+
:param pulumi.Input[_builtins.int] key_bits: Specifies the desired key bits for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
489
|
+
:param pulumi.Input[_builtins.str] key_type: Specifies the desired key type for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
490
|
+
:param pulumi.Input[_builtins.str] managed_key_id: The id of the managed key to use. When using a managed key, this field or managed_key_name is required.
|
|
491
|
+
:param pulumi.Input[_builtins.str] managed_key_name: The name of the managed key to use. When using a managed key, this field or managed_key_id is required.
|
|
492
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
|
493
|
+
The value should not contain leading or trailing forward slashes.
|
|
494
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
495
|
+
*Available only for Vault Enterprise*.
|
|
496
|
+
:param pulumi.Input[_builtins.str] private_key: The private key part the SSH CA key pair; required if generate_signing_key is false.
|
|
497
|
+
:param pulumi.Input[_builtins.str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
|
498
|
+
"""
|
|
499
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
500
|
+
|
|
501
|
+
__props__ = _SecretBackendCaState.__new__(_SecretBackendCaState)
|
|
502
|
+
|
|
503
|
+
__props__.__dict__["backend"] = backend
|
|
504
|
+
__props__.__dict__["generate_signing_key"] = generate_signing_key
|
|
505
|
+
__props__.__dict__["key_bits"] = key_bits
|
|
506
|
+
__props__.__dict__["key_type"] = key_type
|
|
507
|
+
__props__.__dict__["managed_key_id"] = managed_key_id
|
|
508
|
+
__props__.__dict__["managed_key_name"] = managed_key_name
|
|
509
|
+
__props__.__dict__["namespace"] = namespace
|
|
510
|
+
__props__.__dict__["private_key"] = private_key
|
|
511
|
+
__props__.__dict__["public_key"] = public_key
|
|
512
|
+
return SecretBackendCa(resource_name, opts=opts, __props__=__props__)
|
|
513
|
+
|
|
514
|
+
@_builtins.property
|
|
515
|
+
@pulumi.getter
|
|
516
|
+
def backend(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
517
|
+
"""
|
|
518
|
+
The path where the SSH secret backend is mounted. Defaults to 'ssh'
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "backend")
|
|
521
|
+
|
|
522
|
+
@_builtins.property
|
|
523
|
+
@pulumi.getter(name="generateSigningKey")
|
|
524
|
+
def generate_signing_key(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
525
|
+
"""
|
|
526
|
+
Whether Vault should generate the signing key pair internally. Defaults to true
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "generate_signing_key")
|
|
529
|
+
|
|
530
|
+
@_builtins.property
|
|
531
|
+
@pulumi.getter(name="keyBits")
|
|
532
|
+
def key_bits(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
533
|
+
"""
|
|
534
|
+
Specifies the desired key bits for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
535
|
+
"""
|
|
536
|
+
return pulumi.get(self, "key_bits")
|
|
537
|
+
|
|
538
|
+
@_builtins.property
|
|
539
|
+
@pulumi.getter(name="keyType")
|
|
540
|
+
def key_type(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
541
|
+
"""
|
|
542
|
+
Specifies the desired key type for the generated SSH CA key when `generate_signing_key` is set to `true`.
|
|
543
|
+
"""
|
|
544
|
+
return pulumi.get(self, "key_type")
|
|
545
|
+
|
|
546
|
+
@_builtins.property
|
|
547
|
+
@pulumi.getter(name="managedKeyId")
|
|
548
|
+
def managed_key_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
549
|
+
"""
|
|
550
|
+
The id of the managed key to use. When using a managed key, this field or managed_key_name is required.
|
|
551
|
+
"""
|
|
552
|
+
return pulumi.get(self, "managed_key_id")
|
|
553
|
+
|
|
554
|
+
@_builtins.property
|
|
555
|
+
@pulumi.getter(name="managedKeyName")
|
|
556
|
+
def managed_key_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
557
|
+
"""
|
|
558
|
+
The name of the managed key to use. When using a managed key, this field or managed_key_id is required.
|
|
559
|
+
"""
|
|
560
|
+
return pulumi.get(self, "managed_key_name")
|
|
561
|
+
|
|
562
|
+
@_builtins.property
|
|
563
|
+
@pulumi.getter
|
|
564
|
+
def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
565
|
+
"""
|
|
566
|
+
The namespace to provision the resource in.
|
|
567
|
+
The value should not contain leading or trailing forward slashes.
|
|
568
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
|
569
|
+
*Available only for Vault Enterprise*.
|
|
570
|
+
"""
|
|
571
|
+
return pulumi.get(self, "namespace")
|
|
572
|
+
|
|
573
|
+
@_builtins.property
|
|
574
|
+
@pulumi.getter(name="privateKey")
|
|
575
|
+
def private_key(self) -> pulumi.Output[_builtins.str]:
|
|
576
|
+
"""
|
|
577
|
+
The private key part the SSH CA key pair; required if generate_signing_key is false.
|
|
578
|
+
"""
|
|
579
|
+
return pulumi.get(self, "private_key")
|
|
580
|
+
|
|
581
|
+
@_builtins.property
|
|
582
|
+
@pulumi.getter(name="publicKey")
|
|
583
|
+
def public_key(self) -> pulumi.Output[_builtins.str]:
|
|
584
|
+
"""
|
|
585
|
+
The public key part the SSH CA key pair; required if generate_signing_key is false.
|
|
586
|
+
"""
|
|
587
|
+
return pulumi.get(self, "public_key")
|
|
588
|
+
|