pulumi-vault 7.2.0a1753339763__py3-none-any.whl → 7.2.0a1753398491__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 +1 -1
- pulumi_vault/_inputs.py +672 -673
- pulumi_vault/ad/__init__.py +1 -1
- pulumi_vault/ad/get_access_credentials.py +27 -28
- pulumi_vault/ad/secret_backend.py +579 -580
- pulumi_vault/ad/secret_library.py +120 -121
- pulumi_vault/ad/secret_role.py +104 -105
- pulumi_vault/alicloud/__init__.py +1 -1
- pulumi_vault/alicloud/auth_backend_role.py +222 -223
- pulumi_vault/approle/__init__.py +1 -1
- pulumi_vault/approle/auth_backend_login.py +138 -139
- pulumi_vault/approle/auth_backend_role.py +292 -293
- pulumi_vault/approle/auth_backend_role_secret_id.py +202 -203
- pulumi_vault/approle/get_auth_backend_role_id.py +23 -24
- pulumi_vault/audit.py +103 -104
- pulumi_vault/audit_request_header.py +52 -53
- pulumi_vault/auth_backend.py +132 -133
- pulumi_vault/aws/__init__.py +1 -1
- pulumi_vault/aws/auth_backend_cert.py +86 -87
- pulumi_vault/aws/auth_backend_client.py +307 -308
- pulumi_vault/aws/auth_backend_config_identity.py +103 -104
- pulumi_vault/aws/auth_backend_identity_whitelist.py +69 -70
- pulumi_vault/aws/auth_backend_login.py +258 -259
- pulumi_vault/aws/auth_backend_role.py +486 -487
- pulumi_vault/aws/auth_backend_role_tag.py +155 -156
- pulumi_vault/aws/auth_backend_roletag_blacklist.py +69 -70
- pulumi_vault/aws/auth_backend_sts_role.py +86 -87
- pulumi_vault/aws/get_access_credentials.py +59 -60
- pulumi_vault/aws/get_static_access_credentials.py +19 -20
- pulumi_vault/aws/secret_backend.py +409 -410
- pulumi_vault/aws/secret_backend_role.py +256 -257
- pulumi_vault/aws/secret_backend_static_role.py +137 -138
- pulumi_vault/azure/__init__.py +1 -1
- pulumi_vault/azure/_inputs.py +26 -27
- pulumi_vault/azure/auth_backend_config.py +222 -223
- pulumi_vault/azure/auth_backend_role.py +307 -308
- pulumi_vault/azure/backend.py +273 -274
- pulumi_vault/azure/backend_role.py +194 -195
- pulumi_vault/azure/get_access_credentials.py +75 -76
- pulumi_vault/azure/outputs.py +16 -17
- pulumi_vault/cert_auth_backend_role.py +443 -444
- pulumi_vault/config/__init__.py +1 -1
- pulumi_vault/config/__init__.pyi +1 -2
- pulumi_vault/config/_inputs.py +13 -14
- pulumi_vault/config/outputs.py +380 -381
- pulumi_vault/config/ui_custom_message.py +140 -141
- pulumi_vault/config/vars.py +31 -32
- pulumi_vault/consul/__init__.py +1 -1
- pulumi_vault/consul/secret_backend.py +239 -240
- pulumi_vault/consul/secret_backend_role.py +222 -223
- pulumi_vault/database/__init__.py +1 -1
- pulumi_vault/database/_inputs.py +3167 -3168
- pulumi_vault/database/outputs.py +2123 -2124
- pulumi_vault/database/secret_backend_connection.py +259 -260
- pulumi_vault/database/secret_backend_role.py +205 -206
- pulumi_vault/database/secret_backend_static_role.py +218 -219
- pulumi_vault/database/secrets_mount.py +379 -380
- pulumi_vault/egp_policy.py +86 -87
- pulumi_vault/gcp/__init__.py +1 -1
- pulumi_vault/gcp/_inputs.py +98 -99
- pulumi_vault/gcp/auth_backend.py +322 -323
- pulumi_vault/gcp/auth_backend_role.py +347 -348
- pulumi_vault/gcp/get_auth_backend_role.py +91 -92
- pulumi_vault/gcp/outputs.py +66 -67
- pulumi_vault/gcp/secret_backend.py +299 -300
- pulumi_vault/gcp/secret_impersonated_account.py +112 -113
- pulumi_vault/gcp/secret_roleset.py +115 -116
- pulumi_vault/gcp/secret_static_account.py +115 -116
- pulumi_vault/generic/__init__.py +1 -1
- pulumi_vault/generic/endpoint.py +138 -139
- pulumi_vault/generic/get_secret.py +39 -40
- pulumi_vault/generic/secret.py +95 -96
- pulumi_vault/get_auth_backend.py +29 -30
- pulumi_vault/get_auth_backends.py +19 -20
- pulumi_vault/get_namespace.py +21 -22
- pulumi_vault/get_namespaces.py +19 -20
- pulumi_vault/get_nomad_access_token.py +25 -26
- pulumi_vault/get_policy_document.py +10 -11
- pulumi_vault/get_raft_autopilot_state.py +31 -32
- pulumi_vault/github/__init__.py +1 -1
- pulumi_vault/github/_inputs.py +50 -51
- pulumi_vault/github/auth_backend.py +285 -286
- pulumi_vault/github/outputs.py +34 -35
- pulumi_vault/github/team.py +69 -70
- pulumi_vault/github/user.py +69 -70
- pulumi_vault/identity/__init__.py +1 -1
- pulumi_vault/identity/entity.py +103 -104
- pulumi_vault/identity/entity_alias.py +86 -87
- pulumi_vault/identity/entity_policies.py +78 -79
- pulumi_vault/identity/get_entity.py +62 -63
- pulumi_vault/identity/get_group.py +75 -76
- pulumi_vault/identity/get_oidc_client_creds.py +19 -20
- pulumi_vault/identity/get_oidc_openid_config.py +39 -40
- pulumi_vault/identity/get_oidc_public_keys.py +17 -18
- pulumi_vault/identity/group.py +171 -172
- pulumi_vault/identity/group_alias.py +69 -70
- pulumi_vault/identity/group_member_entity_ids.py +69 -70
- pulumi_vault/identity/group_member_group_ids.py +69 -70
- pulumi_vault/identity/group_policies.py +78 -79
- pulumi_vault/identity/mfa_duo.py +183 -184
- pulumi_vault/identity/mfa_login_enforcement.py +147 -148
- pulumi_vault/identity/mfa_okta.py +166 -167
- pulumi_vault/identity/mfa_pingid.py +160 -161
- pulumi_vault/identity/mfa_totp.py +217 -218
- pulumi_vault/identity/oidc.py +35 -36
- pulumi_vault/identity/oidc_assignment.py +69 -70
- pulumi_vault/identity/oidc_client.py +155 -156
- pulumi_vault/identity/oidc_key.py +103 -104
- pulumi_vault/identity/oidc_key_allowed_client_id.py +52 -53
- pulumi_vault/identity/oidc_provider.py +112 -113
- pulumi_vault/identity/oidc_role.py +103 -104
- pulumi_vault/identity/oidc_scope.py +69 -70
- pulumi_vault/identity/outputs.py +42 -43
- pulumi_vault/jwt/__init__.py +1 -1
- pulumi_vault/jwt/_inputs.py +50 -51
- pulumi_vault/jwt/auth_backend.py +353 -354
- pulumi_vault/jwt/auth_backend_role.py +494 -495
- pulumi_vault/jwt/outputs.py +34 -35
- pulumi_vault/kmip/__init__.py +1 -1
- pulumi_vault/kmip/secret_backend.py +222 -223
- pulumi_vault/kmip/secret_role.py +358 -359
- pulumi_vault/kmip/secret_scope.py +69 -70
- pulumi_vault/kubernetes/__init__.py +1 -1
- pulumi_vault/kubernetes/auth_backend_config.py +171 -172
- pulumi_vault/kubernetes/auth_backend_role.py +273 -274
- pulumi_vault/kubernetes/get_auth_backend_config.py +57 -58
- pulumi_vault/kubernetes/get_auth_backend_role.py +87 -88
- pulumi_vault/kubernetes/get_service_account_token.py +51 -52
- pulumi_vault/kubernetes/secret_backend.py +384 -385
- pulumi_vault/kubernetes/secret_backend_role.py +239 -240
- pulumi_vault/kv/__init__.py +1 -1
- pulumi_vault/kv/_inputs.py +25 -26
- pulumi_vault/kv/get_secret.py +25 -26
- pulumi_vault/kv/get_secret_subkeys_v2.py +39 -40
- pulumi_vault/kv/get_secret_v2.py +41 -42
- pulumi_vault/kv/get_secrets_list.py +17 -18
- pulumi_vault/kv/get_secrets_list_v2.py +25 -26
- pulumi_vault/kv/outputs.py +17 -18
- pulumi_vault/kv/secret.py +61 -62
- pulumi_vault/kv/secret_backend_v2.py +86 -87
- pulumi_vault/kv/secret_v2.py +184 -185
- pulumi_vault/ldap/__init__.py +1 -1
- pulumi_vault/ldap/auth_backend.py +716 -717
- pulumi_vault/ldap/auth_backend_group.py +69 -70
- pulumi_vault/ldap/auth_backend_user.py +86 -87
- pulumi_vault/ldap/get_dynamic_credentials.py +27 -28
- pulumi_vault/ldap/get_static_credentials.py +29 -30
- pulumi_vault/ldap/secret_backend.py +673 -674
- pulumi_vault/ldap/secret_backend_dynamic_role.py +154 -155
- pulumi_vault/ldap/secret_backend_library_set.py +120 -121
- pulumi_vault/ldap/secret_backend_static_role.py +120 -121
- pulumi_vault/managed/__init__.py +1 -1
- pulumi_vault/managed/_inputs.py +274 -275
- pulumi_vault/managed/keys.py +27 -28
- pulumi_vault/managed/outputs.py +184 -185
- pulumi_vault/mfa_duo.py +137 -138
- pulumi_vault/mfa_okta.py +137 -138
- pulumi_vault/mfa_pingid.py +149 -150
- pulumi_vault/mfa_totp.py +154 -155
- pulumi_vault/mongodbatlas/__init__.py +1 -1
- pulumi_vault/mongodbatlas/secret_backend.py +78 -79
- pulumi_vault/mongodbatlas/secret_role.py +188 -189
- pulumi_vault/mount.py +333 -334
- pulumi_vault/namespace.py +78 -79
- pulumi_vault/nomad_secret_backend.py +256 -257
- pulumi_vault/nomad_secret_role.py +103 -104
- pulumi_vault/okta/__init__.py +1 -1
- pulumi_vault/okta/_inputs.py +31 -32
- pulumi_vault/okta/auth_backend.py +305 -306
- pulumi_vault/okta/auth_backend_group.py +69 -70
- pulumi_vault/okta/auth_backend_user.py +86 -87
- pulumi_vault/okta/outputs.py +21 -22
- pulumi_vault/outputs.py +81 -82
- pulumi_vault/pkisecret/__init__.py +1 -1
- pulumi_vault/pkisecret/_inputs.py +55 -56
- pulumi_vault/pkisecret/backend_acme_eab.py +116 -117
- pulumi_vault/pkisecret/backend_config_acme.py +175 -176
- pulumi_vault/pkisecret/backend_config_auto_tidy.py +394 -395
- pulumi_vault/pkisecret/backend_config_cluster.py +71 -72
- pulumi_vault/pkisecret/backend_config_cmpv2.py +132 -133
- pulumi_vault/pkisecret/backend_config_est.py +149 -150
- pulumi_vault/pkisecret/backend_config_scep.py +137 -138
- pulumi_vault/pkisecret/get_backend_cert_metadata.py +37 -38
- pulumi_vault/pkisecret/get_backend_config_cmpv2.py +32 -33
- pulumi_vault/pkisecret/get_backend_config_est.py +30 -31
- pulumi_vault/pkisecret/get_backend_config_scep.py +29 -30
- pulumi_vault/pkisecret/get_backend_issuer.py +63 -64
- pulumi_vault/pkisecret/get_backend_issuers.py +23 -24
- pulumi_vault/pkisecret/get_backend_key.py +29 -30
- pulumi_vault/pkisecret/get_backend_keys.py +23 -24
- pulumi_vault/pkisecret/outputs.py +61 -62
- pulumi_vault/pkisecret/secret_backend_cert.py +415 -416
- pulumi_vault/pkisecret/secret_backend_config_ca.py +54 -55
- pulumi_vault/pkisecret/secret_backend_config_issuers.py +75 -76
- pulumi_vault/pkisecret/secret_backend_config_urls.py +105 -106
- pulumi_vault/pkisecret/secret_backend_crl_config.py +241 -242
- pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +515 -516
- pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +78 -79
- pulumi_vault/pkisecret/secret_backend_issuer.py +286 -287
- pulumi_vault/pkisecret/secret_backend_key.py +146 -147
- pulumi_vault/pkisecret/secret_backend_role.py +873 -874
- pulumi_vault/pkisecret/secret_backend_root_cert.py +677 -678
- pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +660 -661
- pulumi_vault/pkisecret/secret_backend_sign.py +346 -347
- pulumi_vault/plugin.py +154 -155
- pulumi_vault/plugin_pinned_version.py +52 -53
- pulumi_vault/policy.py +52 -53
- pulumi_vault/provider.py +160 -161
- pulumi_vault/pulumi-plugin.json +1 -1
- pulumi_vault/quota_lease_count.py +103 -104
- pulumi_vault/quota_rate_limit.py +171 -172
- pulumi_vault/rabbitmq/__init__.py +1 -1
- pulumi_vault/rabbitmq/_inputs.py +50 -51
- pulumi_vault/rabbitmq/outputs.py +34 -35
- pulumi_vault/rabbitmq/secret_backend.py +207 -208
- pulumi_vault/rabbitmq/secret_backend_role.py +79 -80
- pulumi_vault/raft_autopilot.py +137 -138
- pulumi_vault/raft_snapshot_agent_config.py +477 -478
- pulumi_vault/rgp_policy.py +69 -70
- pulumi_vault/saml/__init__.py +1 -1
- pulumi_vault/saml/auth_backend.py +188 -189
- pulumi_vault/saml/auth_backend_role.py +290 -291
- pulumi_vault/scep_auth_backend_role.py +252 -253
- pulumi_vault/secrets/__init__.py +1 -1
- pulumi_vault/secrets/_inputs.py +19 -20
- pulumi_vault/secrets/outputs.py +13 -14
- pulumi_vault/secrets/sync_association.py +88 -89
- pulumi_vault/secrets/sync_aws_destination.py +180 -181
- pulumi_vault/secrets/sync_azure_destination.py +180 -181
- pulumi_vault/secrets/sync_config.py +52 -53
- pulumi_vault/secrets/sync_gcp_destination.py +129 -130
- pulumi_vault/secrets/sync_gh_destination.py +163 -164
- pulumi_vault/secrets/sync_github_apps.py +78 -79
- pulumi_vault/secrets/sync_vercel_destination.py +146 -147
- pulumi_vault/ssh/__init__.py +1 -1
- pulumi_vault/ssh/_inputs.py +13 -14
- pulumi_vault/ssh/get_secret_backend_sign.py +65 -66
- pulumi_vault/ssh/outputs.py +9 -10
- pulumi_vault/ssh/secret_backend_ca.py +120 -121
- pulumi_vault/ssh/secret_backend_role.py +446 -447
- pulumi_vault/terraformcloud/__init__.py +1 -1
- pulumi_vault/terraformcloud/secret_backend.py +138 -139
- pulumi_vault/terraformcloud/secret_creds.py +93 -94
- pulumi_vault/terraformcloud/secret_role.py +117 -118
- pulumi_vault/token.py +301 -302
- pulumi_vault/tokenauth/__init__.py +1 -1
- pulumi_vault/tokenauth/auth_backend_role.py +324 -325
- pulumi_vault/transform/__init__.py +1 -1
- pulumi_vault/transform/alphabet.py +69 -70
- pulumi_vault/transform/get_decode.py +57 -58
- pulumi_vault/transform/get_encode.py +57 -58
- pulumi_vault/transform/role.py +69 -70
- pulumi_vault/transform/template.py +137 -138
- pulumi_vault/transform/transformation.py +171 -172
- pulumi_vault/transit/__init__.py +1 -1
- pulumi_vault/transit/get_cmac.py +47 -48
- pulumi_vault/transit/get_decrypt.py +25 -26
- pulumi_vault/transit/get_encrypt.py +29 -30
- pulumi_vault/transit/get_sign.py +71 -72
- pulumi_vault/transit/get_verify.py +83 -84
- pulumi_vault/transit/secret_backend_key.py +336 -337
- pulumi_vault/transit/secret_cache_config.py +52 -53
- {pulumi_vault-7.2.0a1753339763.dist-info → pulumi_vault-7.2.0a1753398491.dist-info}/METADATA +1 -1
- pulumi_vault-7.2.0a1753398491.dist-info/RECORD +268 -0
- pulumi_vault-7.2.0a1753339763.dist-info/RECORD +0 -268
- {pulumi_vault-7.2.0a1753339763.dist-info → pulumi_vault-7.2.0a1753398491.dist-info}/WHEEL +0 -0
- {pulumi_vault-7.2.0a1753339763.dist-info → pulumi_vault-7.2.0a1753398491.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -20,14 +19,14 @@ __all__ = ['SecretBackendConfigCaArgs', 'SecretBackendConfigCa']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class SecretBackendConfigCaArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
backend: pulumi.Input[
|
24
|
-
pem_bundle: pulumi.Input[
|
25
|
-
namespace: Optional[pulumi.Input[
|
22
|
+
backend: pulumi.Input[_builtins.str],
|
23
|
+
pem_bundle: pulumi.Input[_builtins.str],
|
24
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None):
|
26
25
|
"""
|
27
26
|
The set of arguments for constructing a SecretBackendConfigCa resource.
|
28
|
-
:param pulumi.Input[
|
29
|
-
:param pulumi.Input[
|
30
|
-
:param pulumi.Input[
|
27
|
+
:param pulumi.Input[_builtins.str] backend: The PKI secret backend the resource belongs to.
|
28
|
+
:param pulumi.Input[_builtins.str] pem_bundle: The key and certificate PEM bundle
|
29
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
31
30
|
The value should not contain leading or trailing forward slashes.
|
32
31
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
33
32
|
*Available only for Vault Enterprise*.
|
@@ -37,33 +36,33 @@ class SecretBackendConfigCaArgs:
|
|
37
36
|
if namespace is not None:
|
38
37
|
pulumi.set(__self__, "namespace", namespace)
|
39
38
|
|
40
|
-
@property
|
39
|
+
@_builtins.property
|
41
40
|
@pulumi.getter
|
42
|
-
def backend(self) -> pulumi.Input[
|
41
|
+
def backend(self) -> pulumi.Input[_builtins.str]:
|
43
42
|
"""
|
44
43
|
The PKI secret backend the resource belongs to.
|
45
44
|
"""
|
46
45
|
return pulumi.get(self, "backend")
|
47
46
|
|
48
47
|
@backend.setter
|
49
|
-
def backend(self, value: pulumi.Input[
|
48
|
+
def backend(self, value: pulumi.Input[_builtins.str]):
|
50
49
|
pulumi.set(self, "backend", value)
|
51
50
|
|
52
|
-
@property
|
51
|
+
@_builtins.property
|
53
52
|
@pulumi.getter(name="pemBundle")
|
54
|
-
def pem_bundle(self) -> pulumi.Input[
|
53
|
+
def pem_bundle(self) -> pulumi.Input[_builtins.str]:
|
55
54
|
"""
|
56
55
|
The key and certificate PEM bundle
|
57
56
|
"""
|
58
57
|
return pulumi.get(self, "pem_bundle")
|
59
58
|
|
60
59
|
@pem_bundle.setter
|
61
|
-
def pem_bundle(self, value: pulumi.Input[
|
60
|
+
def pem_bundle(self, value: pulumi.Input[_builtins.str]):
|
62
61
|
pulumi.set(self, "pem_bundle", value)
|
63
62
|
|
64
|
-
@property
|
63
|
+
@_builtins.property
|
65
64
|
@pulumi.getter
|
66
|
-
def namespace(self) -> Optional[pulumi.Input[
|
65
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
67
66
|
"""
|
68
67
|
The namespace to provision the resource in.
|
69
68
|
The value should not contain leading or trailing forward slashes.
|
@@ -73,24 +72,24 @@ class SecretBackendConfigCaArgs:
|
|
73
72
|
return pulumi.get(self, "namespace")
|
74
73
|
|
75
74
|
@namespace.setter
|
76
|
-
def namespace(self, value: Optional[pulumi.Input[
|
75
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
77
76
|
pulumi.set(self, "namespace", value)
|
78
77
|
|
79
78
|
|
80
79
|
@pulumi.input_type
|
81
80
|
class _SecretBackendConfigCaState:
|
82
81
|
def __init__(__self__, *,
|
83
|
-
backend: Optional[pulumi.Input[
|
84
|
-
namespace: Optional[pulumi.Input[
|
85
|
-
pem_bundle: Optional[pulumi.Input[
|
82
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
83
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
84
|
+
pem_bundle: Optional[pulumi.Input[_builtins.str]] = None):
|
86
85
|
"""
|
87
86
|
Input properties used for looking up and filtering SecretBackendConfigCa resources.
|
88
|
-
:param pulumi.Input[
|
89
|
-
:param pulumi.Input[
|
87
|
+
:param pulumi.Input[_builtins.str] backend: The PKI secret backend the resource belongs to.
|
88
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
90
89
|
The value should not contain leading or trailing forward slashes.
|
91
90
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
92
91
|
*Available only for Vault Enterprise*.
|
93
|
-
:param pulumi.Input[
|
92
|
+
:param pulumi.Input[_builtins.str] pem_bundle: The key and certificate PEM bundle
|
94
93
|
"""
|
95
94
|
if backend is not None:
|
96
95
|
pulumi.set(__self__, "backend", backend)
|
@@ -99,21 +98,21 @@ class _SecretBackendConfigCaState:
|
|
99
98
|
if pem_bundle is not None:
|
100
99
|
pulumi.set(__self__, "pem_bundle", pem_bundle)
|
101
100
|
|
102
|
-
@property
|
101
|
+
@_builtins.property
|
103
102
|
@pulumi.getter
|
104
|
-
def backend(self) -> Optional[pulumi.Input[
|
103
|
+
def backend(self) -> Optional[pulumi.Input[_builtins.str]]:
|
105
104
|
"""
|
106
105
|
The PKI secret backend the resource belongs to.
|
107
106
|
"""
|
108
107
|
return pulumi.get(self, "backend")
|
109
108
|
|
110
109
|
@backend.setter
|
111
|
-
def backend(self, value: Optional[pulumi.Input[
|
110
|
+
def backend(self, value: Optional[pulumi.Input[_builtins.str]]):
|
112
111
|
pulumi.set(self, "backend", value)
|
113
112
|
|
114
|
-
@property
|
113
|
+
@_builtins.property
|
115
114
|
@pulumi.getter
|
116
|
-
def namespace(self) -> Optional[pulumi.Input[
|
115
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
117
116
|
"""
|
118
117
|
The namespace to provision the resource in.
|
119
118
|
The value should not contain leading or trailing forward slashes.
|
@@ -123,19 +122,19 @@ class _SecretBackendConfigCaState:
|
|
123
122
|
return pulumi.get(self, "namespace")
|
124
123
|
|
125
124
|
@namespace.setter
|
126
|
-
def namespace(self, value: Optional[pulumi.Input[
|
125
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
127
126
|
pulumi.set(self, "namespace", value)
|
128
127
|
|
129
|
-
@property
|
128
|
+
@_builtins.property
|
130
129
|
@pulumi.getter(name="pemBundle")
|
131
|
-
def pem_bundle(self) -> Optional[pulumi.Input[
|
130
|
+
def pem_bundle(self) -> Optional[pulumi.Input[_builtins.str]]:
|
132
131
|
"""
|
133
132
|
The key and certificate PEM bundle
|
134
133
|
"""
|
135
134
|
return pulumi.get(self, "pem_bundle")
|
136
135
|
|
137
136
|
@pem_bundle.setter
|
138
|
-
def pem_bundle(self, value: Optional[pulumi.Input[
|
137
|
+
def pem_bundle(self, value: Optional[pulumi.Input[_builtins.str]]):
|
139
138
|
pulumi.set(self, "pem_bundle", value)
|
140
139
|
|
141
140
|
|
@@ -145,9 +144,9 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
145
144
|
def __init__(__self__,
|
146
145
|
resource_name: str,
|
147
146
|
opts: Optional[pulumi.ResourceOptions] = None,
|
148
|
-
backend: Optional[pulumi.Input[
|
149
|
-
namespace: Optional[pulumi.Input[
|
150
|
-
pem_bundle: Optional[pulumi.Input[
|
147
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
148
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
149
|
+
pem_bundle: Optional[pulumi.Input[_builtins.str]] = None,
|
151
150
|
__props__=None):
|
152
151
|
"""
|
153
152
|
## Example Usage
|
@@ -156,7 +155,7 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
156
155
|
import pulumi
|
157
156
|
import pulumi_vault as vault
|
158
157
|
|
159
|
-
intermediate = vault.
|
158
|
+
intermediate = vault.pkisecret.SecretBackendConfigCa("intermediate",
|
160
159
|
backend=intermediate_vault_mount["path"],
|
161
160
|
pem_bundle=\"\"\"-----BEGIN RSA PRIVATE KEY-----
|
162
161
|
MIIEowIBAAKCAQEAwvEHeJCXnFgi88rE1dTX6FHdBPK0wSjedh0ywVnCZxLWbBv/
|
@@ -212,12 +211,12 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
212
211
|
|
213
212
|
:param str resource_name: The name of the resource.
|
214
213
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
215
|
-
:param pulumi.Input[
|
216
|
-
:param pulumi.Input[
|
214
|
+
:param pulumi.Input[_builtins.str] backend: The PKI secret backend the resource belongs to.
|
215
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
217
216
|
The value should not contain leading or trailing forward slashes.
|
218
217
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
219
218
|
*Available only for Vault Enterprise*.
|
220
|
-
:param pulumi.Input[
|
219
|
+
:param pulumi.Input[_builtins.str] pem_bundle: The key and certificate PEM bundle
|
221
220
|
"""
|
222
221
|
...
|
223
222
|
@overload
|
@@ -232,7 +231,7 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
232
231
|
import pulumi
|
233
232
|
import pulumi_vault as vault
|
234
233
|
|
235
|
-
intermediate = vault.
|
234
|
+
intermediate = vault.pkisecret.SecretBackendConfigCa("intermediate",
|
236
235
|
backend=intermediate_vault_mount["path"],
|
237
236
|
pem_bundle=\"\"\"-----BEGIN RSA PRIVATE KEY-----
|
238
237
|
MIIEowIBAAKCAQEAwvEHeJCXnFgi88rE1dTX6FHdBPK0wSjedh0ywVnCZxLWbBv/
|
@@ -301,9 +300,9 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
301
300
|
def _internal_init(__self__,
|
302
301
|
resource_name: str,
|
303
302
|
opts: Optional[pulumi.ResourceOptions] = None,
|
304
|
-
backend: Optional[pulumi.Input[
|
305
|
-
namespace: Optional[pulumi.Input[
|
306
|
-
pem_bundle: Optional[pulumi.Input[
|
303
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
304
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
305
|
+
pem_bundle: Optional[pulumi.Input[_builtins.str]] = None,
|
307
306
|
__props__=None):
|
308
307
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
309
308
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -332,9 +331,9 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
332
331
|
def get(resource_name: str,
|
333
332
|
id: pulumi.Input[str],
|
334
333
|
opts: Optional[pulumi.ResourceOptions] = None,
|
335
|
-
backend: Optional[pulumi.Input[
|
336
|
-
namespace: Optional[pulumi.Input[
|
337
|
-
pem_bundle: Optional[pulumi.Input[
|
334
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
335
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
336
|
+
pem_bundle: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecretBackendConfigCa':
|
338
337
|
"""
|
339
338
|
Get an existing SecretBackendConfigCa resource's state with the given name, id, and optional extra
|
340
339
|
properties used to qualify the lookup.
|
@@ -342,12 +341,12 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
342
341
|
:param str resource_name: The unique name of the resulting resource.
|
343
342
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
344
343
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
345
|
-
:param pulumi.Input[
|
346
|
-
:param pulumi.Input[
|
344
|
+
:param pulumi.Input[_builtins.str] backend: The PKI secret backend the resource belongs to.
|
345
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
347
346
|
The value should not contain leading or trailing forward slashes.
|
348
347
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
349
348
|
*Available only for Vault Enterprise*.
|
350
|
-
:param pulumi.Input[
|
349
|
+
:param pulumi.Input[_builtins.str] pem_bundle: The key and certificate PEM bundle
|
351
350
|
"""
|
352
351
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
353
352
|
|
@@ -358,17 +357,17 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
358
357
|
__props__.__dict__["pem_bundle"] = pem_bundle
|
359
358
|
return SecretBackendConfigCa(resource_name, opts=opts, __props__=__props__)
|
360
359
|
|
361
|
-
@property
|
360
|
+
@_builtins.property
|
362
361
|
@pulumi.getter
|
363
|
-
def backend(self) -> pulumi.Output[
|
362
|
+
def backend(self) -> pulumi.Output[_builtins.str]:
|
364
363
|
"""
|
365
364
|
The PKI secret backend the resource belongs to.
|
366
365
|
"""
|
367
366
|
return pulumi.get(self, "backend")
|
368
367
|
|
369
|
-
@property
|
368
|
+
@_builtins.property
|
370
369
|
@pulumi.getter
|
371
|
-
def namespace(self) -> pulumi.Output[Optional[
|
370
|
+
def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
|
372
371
|
"""
|
373
372
|
The namespace to provision the resource in.
|
374
373
|
The value should not contain leading or trailing forward slashes.
|
@@ -377,9 +376,9 @@ class SecretBackendConfigCa(pulumi.CustomResource):
|
|
377
376
|
"""
|
378
377
|
return pulumi.get(self, "namespace")
|
379
378
|
|
380
|
-
@property
|
379
|
+
@_builtins.property
|
381
380
|
@pulumi.getter(name="pemBundle")
|
382
|
-
def pem_bundle(self) -> pulumi.Output[
|
381
|
+
def pem_bundle(self) -> pulumi.Output[_builtins.str]:
|
383
382
|
"""
|
384
383
|
The key and certificate PEM bundle
|
385
384
|
"""
|
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -20,18 +19,18 @@ __all__ = ['SecretBackendConfigIssuersArgs', 'SecretBackendConfigIssuers']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class SecretBackendConfigIssuersArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
backend: pulumi.Input[
|
24
|
-
default: Optional[pulumi.Input[
|
25
|
-
default_follows_latest_issuer: Optional[pulumi.Input[
|
26
|
-
namespace: Optional[pulumi.Input[
|
22
|
+
backend: pulumi.Input[_builtins.str],
|
23
|
+
default: Optional[pulumi.Input[_builtins.str]] = None,
|
24
|
+
default_follows_latest_issuer: Optional[pulumi.Input[_builtins.bool]] = None,
|
25
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None):
|
27
26
|
"""
|
28
27
|
The set of arguments for constructing a SecretBackendConfigIssuers resource.
|
29
|
-
:param pulumi.Input[
|
28
|
+
:param pulumi.Input[_builtins.str] backend: The path the PKI secret backend is mounted at, with no
|
30
29
|
leading or trailing `/`s.
|
31
|
-
:param pulumi.Input[
|
32
|
-
:param pulumi.Input[
|
30
|
+
:param pulumi.Input[_builtins.str] default: Specifies the default issuer by ID.
|
31
|
+
:param pulumi.Input[_builtins.bool] default_follows_latest_issuer: Specifies whether a root creation
|
33
32
|
or an issuer import operation updates the default issuer to the newly added issuer.
|
34
|
-
:param pulumi.Input[
|
33
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
35
34
|
The value should not contain leading or trailing forward slashes.
|
36
35
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
37
36
|
*Available only for Vault Enterprise*.
|
@@ -44,9 +43,9 @@ class SecretBackendConfigIssuersArgs:
|
|
44
43
|
if namespace is not None:
|
45
44
|
pulumi.set(__self__, "namespace", namespace)
|
46
45
|
|
47
|
-
@property
|
46
|
+
@_builtins.property
|
48
47
|
@pulumi.getter
|
49
|
-
def backend(self) -> pulumi.Input[
|
48
|
+
def backend(self) -> pulumi.Input[_builtins.str]:
|
50
49
|
"""
|
51
50
|
The path the PKI secret backend is mounted at, with no
|
52
51
|
leading or trailing `/`s.
|
@@ -54,24 +53,24 @@ class SecretBackendConfigIssuersArgs:
|
|
54
53
|
return pulumi.get(self, "backend")
|
55
54
|
|
56
55
|
@backend.setter
|
57
|
-
def backend(self, value: pulumi.Input[
|
56
|
+
def backend(self, value: pulumi.Input[_builtins.str]):
|
58
57
|
pulumi.set(self, "backend", value)
|
59
58
|
|
60
|
-
@property
|
59
|
+
@_builtins.property
|
61
60
|
@pulumi.getter
|
62
|
-
def default(self) -> Optional[pulumi.Input[
|
61
|
+
def default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
63
62
|
"""
|
64
63
|
Specifies the default issuer by ID.
|
65
64
|
"""
|
66
65
|
return pulumi.get(self, "default")
|
67
66
|
|
68
67
|
@default.setter
|
69
|
-
def default(self, value: Optional[pulumi.Input[
|
68
|
+
def default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
70
69
|
pulumi.set(self, "default", value)
|
71
70
|
|
72
|
-
@property
|
71
|
+
@_builtins.property
|
73
72
|
@pulumi.getter(name="defaultFollowsLatestIssuer")
|
74
|
-
def default_follows_latest_issuer(self) -> Optional[pulumi.Input[
|
73
|
+
def default_follows_latest_issuer(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
75
74
|
"""
|
76
75
|
Specifies whether a root creation
|
77
76
|
or an issuer import operation updates the default issuer to the newly added issuer.
|
@@ -79,12 +78,12 @@ class SecretBackendConfigIssuersArgs:
|
|
79
78
|
return pulumi.get(self, "default_follows_latest_issuer")
|
80
79
|
|
81
80
|
@default_follows_latest_issuer.setter
|
82
|
-
def default_follows_latest_issuer(self, value: Optional[pulumi.Input[
|
81
|
+
def default_follows_latest_issuer(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
83
82
|
pulumi.set(self, "default_follows_latest_issuer", value)
|
84
83
|
|
85
|
-
@property
|
84
|
+
@_builtins.property
|
86
85
|
@pulumi.getter
|
87
|
-
def namespace(self) -> Optional[pulumi.Input[
|
86
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
88
87
|
"""
|
89
88
|
The namespace to provision the resource in.
|
90
89
|
The value should not contain leading or trailing forward slashes.
|
@@ -94,25 +93,25 @@ class SecretBackendConfigIssuersArgs:
|
|
94
93
|
return pulumi.get(self, "namespace")
|
95
94
|
|
96
95
|
@namespace.setter
|
97
|
-
def namespace(self, value: Optional[pulumi.Input[
|
96
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
98
97
|
pulumi.set(self, "namespace", value)
|
99
98
|
|
100
99
|
|
101
100
|
@pulumi.input_type
|
102
101
|
class _SecretBackendConfigIssuersState:
|
103
102
|
def __init__(__self__, *,
|
104
|
-
backend: Optional[pulumi.Input[
|
105
|
-
default: Optional[pulumi.Input[
|
106
|
-
default_follows_latest_issuer: Optional[pulumi.Input[
|
107
|
-
namespace: Optional[pulumi.Input[
|
103
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
104
|
+
default: Optional[pulumi.Input[_builtins.str]] = None,
|
105
|
+
default_follows_latest_issuer: Optional[pulumi.Input[_builtins.bool]] = None,
|
106
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None):
|
108
107
|
"""
|
109
108
|
Input properties used for looking up and filtering SecretBackendConfigIssuers resources.
|
110
|
-
:param pulumi.Input[
|
109
|
+
:param pulumi.Input[_builtins.str] backend: The path the PKI secret backend is mounted at, with no
|
111
110
|
leading or trailing `/`s.
|
112
|
-
:param pulumi.Input[
|
113
|
-
:param pulumi.Input[
|
111
|
+
:param pulumi.Input[_builtins.str] default: Specifies the default issuer by ID.
|
112
|
+
:param pulumi.Input[_builtins.bool] default_follows_latest_issuer: Specifies whether a root creation
|
114
113
|
or an issuer import operation updates the default issuer to the newly added issuer.
|
115
|
-
:param pulumi.Input[
|
114
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
116
115
|
The value should not contain leading or trailing forward slashes.
|
117
116
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
118
117
|
*Available only for Vault Enterprise*.
|
@@ -126,9 +125,9 @@ class _SecretBackendConfigIssuersState:
|
|
126
125
|
if namespace is not None:
|
127
126
|
pulumi.set(__self__, "namespace", namespace)
|
128
127
|
|
129
|
-
@property
|
128
|
+
@_builtins.property
|
130
129
|
@pulumi.getter
|
131
|
-
def backend(self) -> Optional[pulumi.Input[
|
130
|
+
def backend(self) -> Optional[pulumi.Input[_builtins.str]]:
|
132
131
|
"""
|
133
132
|
The path the PKI secret backend is mounted at, with no
|
134
133
|
leading or trailing `/`s.
|
@@ -136,24 +135,24 @@ class _SecretBackendConfigIssuersState:
|
|
136
135
|
return pulumi.get(self, "backend")
|
137
136
|
|
138
137
|
@backend.setter
|
139
|
-
def backend(self, value: Optional[pulumi.Input[
|
138
|
+
def backend(self, value: Optional[pulumi.Input[_builtins.str]]):
|
140
139
|
pulumi.set(self, "backend", value)
|
141
140
|
|
142
|
-
@property
|
141
|
+
@_builtins.property
|
143
142
|
@pulumi.getter
|
144
|
-
def default(self) -> Optional[pulumi.Input[
|
143
|
+
def default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
145
144
|
"""
|
146
145
|
Specifies the default issuer by ID.
|
147
146
|
"""
|
148
147
|
return pulumi.get(self, "default")
|
149
148
|
|
150
149
|
@default.setter
|
151
|
-
def default(self, value: Optional[pulumi.Input[
|
150
|
+
def default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
152
151
|
pulumi.set(self, "default", value)
|
153
152
|
|
154
|
-
@property
|
153
|
+
@_builtins.property
|
155
154
|
@pulumi.getter(name="defaultFollowsLatestIssuer")
|
156
|
-
def default_follows_latest_issuer(self) -> Optional[pulumi.Input[
|
155
|
+
def default_follows_latest_issuer(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
157
156
|
"""
|
158
157
|
Specifies whether a root creation
|
159
158
|
or an issuer import operation updates the default issuer to the newly added issuer.
|
@@ -161,12 +160,12 @@ class _SecretBackendConfigIssuersState:
|
|
161
160
|
return pulumi.get(self, "default_follows_latest_issuer")
|
162
161
|
|
163
162
|
@default_follows_latest_issuer.setter
|
164
|
-
def default_follows_latest_issuer(self, value: Optional[pulumi.Input[
|
163
|
+
def default_follows_latest_issuer(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
165
164
|
pulumi.set(self, "default_follows_latest_issuer", value)
|
166
165
|
|
167
|
-
@property
|
166
|
+
@_builtins.property
|
168
167
|
@pulumi.getter
|
169
|
-
def namespace(self) -> Optional[pulumi.Input[
|
168
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
170
169
|
"""
|
171
170
|
The namespace to provision the resource in.
|
172
171
|
The value should not contain leading or trailing forward slashes.
|
@@ -176,7 +175,7 @@ class _SecretBackendConfigIssuersState:
|
|
176
175
|
return pulumi.get(self, "namespace")
|
177
176
|
|
178
177
|
@namespace.setter
|
179
|
-
def namespace(self, value: Optional[pulumi.Input[
|
178
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
180
179
|
pulumi.set(self, "namespace", value)
|
181
180
|
|
182
181
|
|
@@ -186,10 +185,10 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
186
185
|
def __init__(__self__,
|
187
186
|
resource_name: str,
|
188
187
|
opts: Optional[pulumi.ResourceOptions] = None,
|
189
|
-
backend: Optional[pulumi.Input[
|
190
|
-
default: Optional[pulumi.Input[
|
191
|
-
default_follows_latest_issuer: Optional[pulumi.Input[
|
192
|
-
namespace: Optional[pulumi.Input[
|
188
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
189
|
+
default: Optional[pulumi.Input[_builtins.str]] = None,
|
190
|
+
default_follows_latest_issuer: Optional[pulumi.Input[_builtins.bool]] = None,
|
191
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
193
192
|
__props__=None):
|
194
193
|
"""
|
195
194
|
## Example Usage
|
@@ -203,16 +202,16 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
203
202
|
type="pki",
|
204
203
|
default_lease_ttl_seconds=3600,
|
205
204
|
max_lease_ttl_seconds=86400)
|
206
|
-
root = vault.
|
205
|
+
root = vault.pkisecret.SecretBackendRootCert("root",
|
207
206
|
backend=pki.path,
|
208
207
|
type="internal",
|
209
208
|
common_name="test",
|
210
209
|
ttl="86400")
|
211
|
-
example = vault.
|
210
|
+
example = vault.pkisecret.SecretBackendIssuer("example",
|
212
211
|
backend=root.backend,
|
213
212
|
issuer_ref=root.issuer_id,
|
214
213
|
issuer_name="example-issuer")
|
215
|
-
config = vault.
|
214
|
+
config = vault.pkisecret.SecretBackendConfigIssuers("config",
|
216
215
|
backend=pki.path,
|
217
216
|
default=example.issuer_id,
|
218
217
|
default_follows_latest_issuer=True)
|
@@ -228,12 +227,12 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
228
227
|
|
229
228
|
:param str resource_name: The name of the resource.
|
230
229
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
231
|
-
:param pulumi.Input[
|
230
|
+
:param pulumi.Input[_builtins.str] backend: The path the PKI secret backend is mounted at, with no
|
232
231
|
leading or trailing `/`s.
|
233
|
-
:param pulumi.Input[
|
234
|
-
:param pulumi.Input[
|
232
|
+
:param pulumi.Input[_builtins.str] default: Specifies the default issuer by ID.
|
233
|
+
:param pulumi.Input[_builtins.bool] default_follows_latest_issuer: Specifies whether a root creation
|
235
234
|
or an issuer import operation updates the default issuer to the newly added issuer.
|
236
|
-
:param pulumi.Input[
|
235
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
237
236
|
The value should not contain leading or trailing forward slashes.
|
238
237
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
239
238
|
*Available only for Vault Enterprise*.
|
@@ -256,16 +255,16 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
256
255
|
type="pki",
|
257
256
|
default_lease_ttl_seconds=3600,
|
258
257
|
max_lease_ttl_seconds=86400)
|
259
|
-
root = vault.
|
258
|
+
root = vault.pkisecret.SecretBackendRootCert("root",
|
260
259
|
backend=pki.path,
|
261
260
|
type="internal",
|
262
261
|
common_name="test",
|
263
262
|
ttl="86400")
|
264
|
-
example = vault.
|
263
|
+
example = vault.pkisecret.SecretBackendIssuer("example",
|
265
264
|
backend=root.backend,
|
266
265
|
issuer_ref=root.issuer_id,
|
267
266
|
issuer_name="example-issuer")
|
268
|
-
config = vault.
|
267
|
+
config = vault.pkisecret.SecretBackendConfigIssuers("config",
|
269
268
|
backend=pki.path,
|
270
269
|
default=example.issuer_id,
|
271
270
|
default_follows_latest_issuer=True)
|
@@ -294,10 +293,10 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
294
293
|
def _internal_init(__self__,
|
295
294
|
resource_name: str,
|
296
295
|
opts: Optional[pulumi.ResourceOptions] = None,
|
297
|
-
backend: Optional[pulumi.Input[
|
298
|
-
default: Optional[pulumi.Input[
|
299
|
-
default_follows_latest_issuer: Optional[pulumi.Input[
|
300
|
-
namespace: Optional[pulumi.Input[
|
296
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
297
|
+
default: Optional[pulumi.Input[_builtins.str]] = None,
|
298
|
+
default_follows_latest_issuer: Optional[pulumi.Input[_builtins.bool]] = None,
|
299
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
301
300
|
__props__=None):
|
302
301
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
303
302
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -323,10 +322,10 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
323
322
|
def get(resource_name: str,
|
324
323
|
id: pulumi.Input[str],
|
325
324
|
opts: Optional[pulumi.ResourceOptions] = None,
|
326
|
-
backend: Optional[pulumi.Input[
|
327
|
-
default: Optional[pulumi.Input[
|
328
|
-
default_follows_latest_issuer: Optional[pulumi.Input[
|
329
|
-
namespace: Optional[pulumi.Input[
|
325
|
+
backend: Optional[pulumi.Input[_builtins.str]] = None,
|
326
|
+
default: Optional[pulumi.Input[_builtins.str]] = None,
|
327
|
+
default_follows_latest_issuer: Optional[pulumi.Input[_builtins.bool]] = None,
|
328
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None) -> 'SecretBackendConfigIssuers':
|
330
329
|
"""
|
331
330
|
Get an existing SecretBackendConfigIssuers resource's state with the given name, id, and optional extra
|
332
331
|
properties used to qualify the lookup.
|
@@ -334,12 +333,12 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
334
333
|
:param str resource_name: The unique name of the resulting resource.
|
335
334
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
336
335
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
337
|
-
:param pulumi.Input[
|
336
|
+
:param pulumi.Input[_builtins.str] backend: The path the PKI secret backend is mounted at, with no
|
338
337
|
leading or trailing `/`s.
|
339
|
-
:param pulumi.Input[
|
340
|
-
:param pulumi.Input[
|
338
|
+
:param pulumi.Input[_builtins.str] default: Specifies the default issuer by ID.
|
339
|
+
:param pulumi.Input[_builtins.bool] default_follows_latest_issuer: Specifies whether a root creation
|
341
340
|
or an issuer import operation updates the default issuer to the newly added issuer.
|
342
|
-
:param pulumi.Input[
|
341
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
343
342
|
The value should not contain leading or trailing forward slashes.
|
344
343
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
345
344
|
*Available only for Vault Enterprise*.
|
@@ -354,35 +353,35 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
|
|
354
353
|
__props__.__dict__["namespace"] = namespace
|
355
354
|
return SecretBackendConfigIssuers(resource_name, opts=opts, __props__=__props__)
|
356
355
|
|
357
|
-
@property
|
356
|
+
@_builtins.property
|
358
357
|
@pulumi.getter
|
359
|
-
def backend(self) -> pulumi.Output[
|
358
|
+
def backend(self) -> pulumi.Output[_builtins.str]:
|
360
359
|
"""
|
361
360
|
The path the PKI secret backend is mounted at, with no
|
362
361
|
leading or trailing `/`s.
|
363
362
|
"""
|
364
363
|
return pulumi.get(self, "backend")
|
365
364
|
|
366
|
-
@property
|
365
|
+
@_builtins.property
|
367
366
|
@pulumi.getter
|
368
|
-
def default(self) -> pulumi.Output[Optional[
|
367
|
+
def default(self) -> pulumi.Output[Optional[_builtins.str]]:
|
369
368
|
"""
|
370
369
|
Specifies the default issuer by ID.
|
371
370
|
"""
|
372
371
|
return pulumi.get(self, "default")
|
373
372
|
|
374
|
-
@property
|
373
|
+
@_builtins.property
|
375
374
|
@pulumi.getter(name="defaultFollowsLatestIssuer")
|
376
|
-
def default_follows_latest_issuer(self) -> pulumi.Output[
|
375
|
+
def default_follows_latest_issuer(self) -> pulumi.Output[_builtins.bool]:
|
377
376
|
"""
|
378
377
|
Specifies whether a root creation
|
379
378
|
or an issuer import operation updates the default issuer to the newly added issuer.
|
380
379
|
"""
|
381
380
|
return pulumi.get(self, "default_follows_latest_issuer")
|
382
381
|
|
383
|
-
@property
|
382
|
+
@_builtins.property
|
384
383
|
@pulumi.getter
|
385
|
-
def namespace(self) -> pulumi.Output[Optional[
|
384
|
+
def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
|
386
385
|
"""
|
387
386
|
The namespace to provision the resource in.
|
388
387
|
The value should not contain leading or trailing forward slashes.
|