pulumi-vault 7.2.0a1753339763__py3-none-any.whl → 7.2.0a1753512474__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.0a1753512474.dist-info}/METADATA +1 -1
- pulumi_vault-7.2.0a1753512474.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.0a1753512474.dist-info}/WHEEL +0 -0
- {pulumi_vault-7.2.0a1753339763.dist-info → pulumi_vault-7.2.0a1753512474.dist-info}/top_level.txt +0 -0
pulumi_vault/generic/endpoint.py
CHANGED
@@ -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,41 +19,41 @@ __all__ = ['EndpointArgs', 'Endpoint']
|
|
20
19
|
@pulumi.input_type
|
21
20
|
class EndpointArgs:
|
22
21
|
def __init__(__self__, *,
|
23
|
-
data_json: pulumi.Input[
|
24
|
-
path: pulumi.Input[
|
25
|
-
disable_delete: Optional[pulumi.Input[
|
26
|
-
disable_read: Optional[pulumi.Input[
|
27
|
-
ignore_absent_fields: Optional[pulumi.Input[
|
28
|
-
namespace: Optional[pulumi.Input[
|
29
|
-
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
22
|
+
data_json: pulumi.Input[_builtins.str],
|
23
|
+
path: pulumi.Input[_builtins.str],
|
24
|
+
disable_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
25
|
+
disable_read: Optional[pulumi.Input[_builtins.bool]] = None,
|
26
|
+
ignore_absent_fields: Optional[pulumi.Input[_builtins.bool]] = None,
|
27
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
28
|
+
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
30
29
|
"""
|
31
30
|
The set of arguments for constructing a Endpoint resource.
|
32
|
-
:param pulumi.Input[
|
31
|
+
:param pulumi.Input[_builtins.str] data_json: String containing a JSON-encoded object that will be
|
33
32
|
written to the given path as the secret data.
|
34
|
-
:param pulumi.Input[
|
33
|
+
:param pulumi.Input[_builtins.str] path: The full logical path at which to write the given
|
35
34
|
data. Consult each backend's documentation to see which endpoints
|
36
35
|
support the `PUT` methods and to determine whether they also support
|
37
36
|
`DELETE` and `GET`.
|
38
|
-
:param pulumi.Input[
|
37
|
+
:param pulumi.Input[_builtins.bool] disable_delete: - (Optional) True/false. Set this to true if your
|
39
38
|
vault authentication is not able to delete the data or if the endpoint
|
40
39
|
does not support the `DELETE` method. Defaults to false.
|
41
|
-
:param pulumi.Input[
|
40
|
+
:param pulumi.Input[_builtins.bool] disable_read: True/false. Set this to true if your vault
|
42
41
|
authentication is not able to read the data or if the endpoint does
|
43
42
|
not support the `GET` method. Setting this to `true` will break drift
|
44
43
|
detection. You should set this to `true` for endpoints that are
|
45
44
|
write-only. Defaults to false.
|
46
|
-
:param pulumi.Input[
|
45
|
+
:param pulumi.Input[_builtins.bool] ignore_absent_fields: - (Optional) True/false. If set to true,
|
47
46
|
ignore any fields present when the endpoint is read but that were not
|
48
47
|
in `data_json`. Also, if a field that was written is not returned when
|
49
48
|
the endpoint is read, treat that field as being up to date. You should
|
50
49
|
set this to `true` when writing to endpoint that, when read, returns a
|
51
50
|
different set of fields from the ones you wrote, as is common with
|
52
51
|
many configuration endpoints. Defaults to false.
|
53
|
-
:param pulumi.Input[
|
52
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
54
53
|
The value should not contain leading or trailing forward slashes.
|
55
54
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
56
55
|
*Available only for Vault Enterprise*.
|
57
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
56
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] write_fields: - (Optional). A list of fields that should be returned
|
58
57
|
in `write_data_json` and `write_data`. If omitted, data returned by
|
59
58
|
the write operation is not available to the resource or included in
|
60
59
|
state. This helps to avoid accidental storage of sensitive values in
|
@@ -75,9 +74,9 @@ class EndpointArgs:
|
|
75
74
|
if write_fields is not None:
|
76
75
|
pulumi.set(__self__, "write_fields", write_fields)
|
77
76
|
|
78
|
-
@property
|
77
|
+
@_builtins.property
|
79
78
|
@pulumi.getter(name="dataJson")
|
80
|
-
def data_json(self) -> pulumi.Input[
|
79
|
+
def data_json(self) -> pulumi.Input[_builtins.str]:
|
81
80
|
"""
|
82
81
|
String containing a JSON-encoded object that will be
|
83
82
|
written to the given path as the secret data.
|
@@ -85,12 +84,12 @@ class EndpointArgs:
|
|
85
84
|
return pulumi.get(self, "data_json")
|
86
85
|
|
87
86
|
@data_json.setter
|
88
|
-
def data_json(self, value: pulumi.Input[
|
87
|
+
def data_json(self, value: pulumi.Input[_builtins.str]):
|
89
88
|
pulumi.set(self, "data_json", value)
|
90
89
|
|
91
|
-
@property
|
90
|
+
@_builtins.property
|
92
91
|
@pulumi.getter
|
93
|
-
def path(self) -> pulumi.Input[
|
92
|
+
def path(self) -> pulumi.Input[_builtins.str]:
|
94
93
|
"""
|
95
94
|
The full logical path at which to write the given
|
96
95
|
data. Consult each backend's documentation to see which endpoints
|
@@ -100,12 +99,12 @@ class EndpointArgs:
|
|
100
99
|
return pulumi.get(self, "path")
|
101
100
|
|
102
101
|
@path.setter
|
103
|
-
def path(self, value: pulumi.Input[
|
102
|
+
def path(self, value: pulumi.Input[_builtins.str]):
|
104
103
|
pulumi.set(self, "path", value)
|
105
104
|
|
106
|
-
@property
|
105
|
+
@_builtins.property
|
107
106
|
@pulumi.getter(name="disableDelete")
|
108
|
-
def disable_delete(self) -> Optional[pulumi.Input[
|
107
|
+
def disable_delete(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
109
108
|
"""
|
110
109
|
- (Optional) True/false. Set this to true if your
|
111
110
|
vault authentication is not able to delete the data or if the endpoint
|
@@ -114,12 +113,12 @@ class EndpointArgs:
|
|
114
113
|
return pulumi.get(self, "disable_delete")
|
115
114
|
|
116
115
|
@disable_delete.setter
|
117
|
-
def disable_delete(self, value: Optional[pulumi.Input[
|
116
|
+
def disable_delete(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
118
117
|
pulumi.set(self, "disable_delete", value)
|
119
118
|
|
120
|
-
@property
|
119
|
+
@_builtins.property
|
121
120
|
@pulumi.getter(name="disableRead")
|
122
|
-
def disable_read(self) -> Optional[pulumi.Input[
|
121
|
+
def disable_read(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
123
122
|
"""
|
124
123
|
True/false. Set this to true if your vault
|
125
124
|
authentication is not able to read the data or if the endpoint does
|
@@ -130,12 +129,12 @@ class EndpointArgs:
|
|
130
129
|
return pulumi.get(self, "disable_read")
|
131
130
|
|
132
131
|
@disable_read.setter
|
133
|
-
def disable_read(self, value: Optional[pulumi.Input[
|
132
|
+
def disable_read(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
134
133
|
pulumi.set(self, "disable_read", value)
|
135
134
|
|
136
|
-
@property
|
135
|
+
@_builtins.property
|
137
136
|
@pulumi.getter(name="ignoreAbsentFields")
|
138
|
-
def ignore_absent_fields(self) -> Optional[pulumi.Input[
|
137
|
+
def ignore_absent_fields(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
139
138
|
"""
|
140
139
|
- (Optional) True/false. If set to true,
|
141
140
|
ignore any fields present when the endpoint is read but that were not
|
@@ -148,12 +147,12 @@ class EndpointArgs:
|
|
148
147
|
return pulumi.get(self, "ignore_absent_fields")
|
149
148
|
|
150
149
|
@ignore_absent_fields.setter
|
151
|
-
def ignore_absent_fields(self, value: Optional[pulumi.Input[
|
150
|
+
def ignore_absent_fields(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
152
151
|
pulumi.set(self, "ignore_absent_fields", value)
|
153
152
|
|
154
|
-
@property
|
153
|
+
@_builtins.property
|
155
154
|
@pulumi.getter
|
156
|
-
def namespace(self) -> Optional[pulumi.Input[
|
155
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
157
156
|
"""
|
158
157
|
The namespace to provision the resource in.
|
159
158
|
The value should not contain leading or trailing forward slashes.
|
@@ -163,12 +162,12 @@ class EndpointArgs:
|
|
163
162
|
return pulumi.get(self, "namespace")
|
164
163
|
|
165
164
|
@namespace.setter
|
166
|
-
def namespace(self, value: Optional[pulumi.Input[
|
165
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
167
166
|
pulumi.set(self, "namespace", value)
|
168
167
|
|
169
|
-
@property
|
168
|
+
@_builtins.property
|
170
169
|
@pulumi.getter(name="writeFields")
|
171
|
-
def write_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
170
|
+
def write_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
172
171
|
"""
|
173
172
|
- (Optional). A list of fields that should be returned
|
174
173
|
in `write_data_json` and `write_data`. If omitted, data returned by
|
@@ -181,57 +180,57 @@ class EndpointArgs:
|
|
181
180
|
return pulumi.get(self, "write_fields")
|
182
181
|
|
183
182
|
@write_fields.setter
|
184
|
-
def write_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
183
|
+
def write_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
185
184
|
pulumi.set(self, "write_fields", value)
|
186
185
|
|
187
186
|
|
188
187
|
@pulumi.input_type
|
189
188
|
class _EndpointState:
|
190
189
|
def __init__(__self__, *,
|
191
|
-
data_json: Optional[pulumi.Input[
|
192
|
-
disable_delete: Optional[pulumi.Input[
|
193
|
-
disable_read: Optional[pulumi.Input[
|
194
|
-
ignore_absent_fields: Optional[pulumi.Input[
|
195
|
-
namespace: Optional[pulumi.Input[
|
196
|
-
path: Optional[pulumi.Input[
|
197
|
-
write_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
198
|
-
write_data_json: Optional[pulumi.Input[
|
199
|
-
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
190
|
+
data_json: Optional[pulumi.Input[_builtins.str]] = None,
|
191
|
+
disable_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
192
|
+
disable_read: Optional[pulumi.Input[_builtins.bool]] = None,
|
193
|
+
ignore_absent_fields: Optional[pulumi.Input[_builtins.bool]] = None,
|
194
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
195
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
196
|
+
write_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
197
|
+
write_data_json: Optional[pulumi.Input[_builtins.str]] = None,
|
198
|
+
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
200
199
|
"""
|
201
200
|
Input properties used for looking up and filtering Endpoint resources.
|
202
|
-
:param pulumi.Input[
|
201
|
+
:param pulumi.Input[_builtins.str] data_json: String containing a JSON-encoded object that will be
|
203
202
|
written to the given path as the secret data.
|
204
|
-
:param pulumi.Input[
|
203
|
+
:param pulumi.Input[_builtins.bool] disable_delete: - (Optional) True/false. Set this to true if your
|
205
204
|
vault authentication is not able to delete the data or if the endpoint
|
206
205
|
does not support the `DELETE` method. Defaults to false.
|
207
|
-
:param pulumi.Input[
|
206
|
+
:param pulumi.Input[_builtins.bool] disable_read: True/false. Set this to true if your vault
|
208
207
|
authentication is not able to read the data or if the endpoint does
|
209
208
|
not support the `GET` method. Setting this to `true` will break drift
|
210
209
|
detection. You should set this to `true` for endpoints that are
|
211
210
|
write-only. Defaults to false.
|
212
|
-
:param pulumi.Input[
|
211
|
+
:param pulumi.Input[_builtins.bool] ignore_absent_fields: - (Optional) True/false. If set to true,
|
213
212
|
ignore any fields present when the endpoint is read but that were not
|
214
213
|
in `data_json`. Also, if a field that was written is not returned when
|
215
214
|
the endpoint is read, treat that field as being up to date. You should
|
216
215
|
set this to `true` when writing to endpoint that, when read, returns a
|
217
216
|
different set of fields from the ones you wrote, as is common with
|
218
217
|
many configuration endpoints. Defaults to false.
|
219
|
-
:param pulumi.Input[
|
218
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
220
219
|
The value should not contain leading or trailing forward slashes.
|
221
220
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
222
221
|
*Available only for Vault Enterprise*.
|
223
|
-
:param pulumi.Input[
|
222
|
+
:param pulumi.Input[_builtins.str] path: The full logical path at which to write the given
|
224
223
|
data. Consult each backend's documentation to see which endpoints
|
225
224
|
support the `PUT` methods and to determine whether they also support
|
226
225
|
`DELETE` and `GET`.
|
227
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
226
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] write_data: - A map whose keys are the top-level data keys
|
228
227
|
returned from Vault by the write operation and whose values are the
|
229
228
|
corresponding values. This map can only represent string data, so
|
230
229
|
any non-string values returned from Vault are serialized as JSON.
|
231
230
|
Only fields set in `write_fields` are present in the JSON data.
|
232
|
-
:param pulumi.Input[
|
231
|
+
:param pulumi.Input[_builtins.str] write_data_json: - The JSON data returned by the write operation.
|
233
232
|
Only fields set in `write_fields` are present in the JSON data.
|
234
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
233
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] write_fields: - (Optional). A list of fields that should be returned
|
235
234
|
in `write_data_json` and `write_data`. If omitted, data returned by
|
236
235
|
the write operation is not available to the resource or included in
|
237
236
|
state. This helps to avoid accidental storage of sensitive values in
|
@@ -258,9 +257,9 @@ class _EndpointState:
|
|
258
257
|
if write_fields is not None:
|
259
258
|
pulumi.set(__self__, "write_fields", write_fields)
|
260
259
|
|
261
|
-
@property
|
260
|
+
@_builtins.property
|
262
261
|
@pulumi.getter(name="dataJson")
|
263
|
-
def data_json(self) -> Optional[pulumi.Input[
|
262
|
+
def data_json(self) -> Optional[pulumi.Input[_builtins.str]]:
|
264
263
|
"""
|
265
264
|
String containing a JSON-encoded object that will be
|
266
265
|
written to the given path as the secret data.
|
@@ -268,12 +267,12 @@ class _EndpointState:
|
|
268
267
|
return pulumi.get(self, "data_json")
|
269
268
|
|
270
269
|
@data_json.setter
|
271
|
-
def data_json(self, value: Optional[pulumi.Input[
|
270
|
+
def data_json(self, value: Optional[pulumi.Input[_builtins.str]]):
|
272
271
|
pulumi.set(self, "data_json", value)
|
273
272
|
|
274
|
-
@property
|
273
|
+
@_builtins.property
|
275
274
|
@pulumi.getter(name="disableDelete")
|
276
|
-
def disable_delete(self) -> Optional[pulumi.Input[
|
275
|
+
def disable_delete(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
277
276
|
"""
|
278
277
|
- (Optional) True/false. Set this to true if your
|
279
278
|
vault authentication is not able to delete the data or if the endpoint
|
@@ -282,12 +281,12 @@ class _EndpointState:
|
|
282
281
|
return pulumi.get(self, "disable_delete")
|
283
282
|
|
284
283
|
@disable_delete.setter
|
285
|
-
def disable_delete(self, value: Optional[pulumi.Input[
|
284
|
+
def disable_delete(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
286
285
|
pulumi.set(self, "disable_delete", value)
|
287
286
|
|
288
|
-
@property
|
287
|
+
@_builtins.property
|
289
288
|
@pulumi.getter(name="disableRead")
|
290
|
-
def disable_read(self) -> Optional[pulumi.Input[
|
289
|
+
def disable_read(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
291
290
|
"""
|
292
291
|
True/false. Set this to true if your vault
|
293
292
|
authentication is not able to read the data or if the endpoint does
|
@@ -298,12 +297,12 @@ class _EndpointState:
|
|
298
297
|
return pulumi.get(self, "disable_read")
|
299
298
|
|
300
299
|
@disable_read.setter
|
301
|
-
def disable_read(self, value: Optional[pulumi.Input[
|
300
|
+
def disable_read(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
302
301
|
pulumi.set(self, "disable_read", value)
|
303
302
|
|
304
|
-
@property
|
303
|
+
@_builtins.property
|
305
304
|
@pulumi.getter(name="ignoreAbsentFields")
|
306
|
-
def ignore_absent_fields(self) -> Optional[pulumi.Input[
|
305
|
+
def ignore_absent_fields(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
307
306
|
"""
|
308
307
|
- (Optional) True/false. If set to true,
|
309
308
|
ignore any fields present when the endpoint is read but that were not
|
@@ -316,12 +315,12 @@ class _EndpointState:
|
|
316
315
|
return pulumi.get(self, "ignore_absent_fields")
|
317
316
|
|
318
317
|
@ignore_absent_fields.setter
|
319
|
-
def ignore_absent_fields(self, value: Optional[pulumi.Input[
|
318
|
+
def ignore_absent_fields(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
320
319
|
pulumi.set(self, "ignore_absent_fields", value)
|
321
320
|
|
322
|
-
@property
|
321
|
+
@_builtins.property
|
323
322
|
@pulumi.getter
|
324
|
-
def namespace(self) -> Optional[pulumi.Input[
|
323
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
325
324
|
"""
|
326
325
|
The namespace to provision the resource in.
|
327
326
|
The value should not contain leading or trailing forward slashes.
|
@@ -331,12 +330,12 @@ class _EndpointState:
|
|
331
330
|
return pulumi.get(self, "namespace")
|
332
331
|
|
333
332
|
@namespace.setter
|
334
|
-
def namespace(self, value: Optional[pulumi.Input[
|
333
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
335
334
|
pulumi.set(self, "namespace", value)
|
336
335
|
|
337
|
-
@property
|
336
|
+
@_builtins.property
|
338
337
|
@pulumi.getter
|
339
|
-
def path(self) -> Optional[pulumi.Input[
|
338
|
+
def path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
340
339
|
"""
|
341
340
|
The full logical path at which to write the given
|
342
341
|
data. Consult each backend's documentation to see which endpoints
|
@@ -346,12 +345,12 @@ class _EndpointState:
|
|
346
345
|
return pulumi.get(self, "path")
|
347
346
|
|
348
347
|
@path.setter
|
349
|
-
def path(self, value: Optional[pulumi.Input[
|
348
|
+
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
350
349
|
pulumi.set(self, "path", value)
|
351
350
|
|
352
|
-
@property
|
351
|
+
@_builtins.property
|
353
352
|
@pulumi.getter(name="writeData")
|
354
|
-
def write_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
353
|
+
def write_data(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
355
354
|
"""
|
356
355
|
- A map whose keys are the top-level data keys
|
357
356
|
returned from Vault by the write operation and whose values are the
|
@@ -362,12 +361,12 @@ class _EndpointState:
|
|
362
361
|
return pulumi.get(self, "write_data")
|
363
362
|
|
364
363
|
@write_data.setter
|
365
|
-
def write_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
364
|
+
def write_data(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
366
365
|
pulumi.set(self, "write_data", value)
|
367
366
|
|
368
|
-
@property
|
367
|
+
@_builtins.property
|
369
368
|
@pulumi.getter(name="writeDataJson")
|
370
|
-
def write_data_json(self) -> Optional[pulumi.Input[
|
369
|
+
def write_data_json(self) -> Optional[pulumi.Input[_builtins.str]]:
|
371
370
|
"""
|
372
371
|
- The JSON data returned by the write operation.
|
373
372
|
Only fields set in `write_fields` are present in the JSON data.
|
@@ -375,12 +374,12 @@ class _EndpointState:
|
|
375
374
|
return pulumi.get(self, "write_data_json")
|
376
375
|
|
377
376
|
@write_data_json.setter
|
378
|
-
def write_data_json(self, value: Optional[pulumi.Input[
|
377
|
+
def write_data_json(self, value: Optional[pulumi.Input[_builtins.str]]):
|
379
378
|
pulumi.set(self, "write_data_json", value)
|
380
379
|
|
381
|
-
@property
|
380
|
+
@_builtins.property
|
382
381
|
@pulumi.getter(name="writeFields")
|
383
|
-
def write_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
382
|
+
def write_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
384
383
|
"""
|
385
384
|
- (Optional). A list of fields that should be returned
|
386
385
|
in `write_data_json` and `write_data`. If omitted, data returned by
|
@@ -393,7 +392,7 @@ class _EndpointState:
|
|
393
392
|
return pulumi.get(self, "write_fields")
|
394
393
|
|
395
394
|
@write_fields.setter
|
396
|
-
def write_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
395
|
+
def write_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
397
396
|
pulumi.set(self, "write_fields", value)
|
398
397
|
|
399
398
|
|
@@ -403,13 +402,13 @@ class Endpoint(pulumi.CustomResource):
|
|
403
402
|
def __init__(__self__,
|
404
403
|
resource_name: str,
|
405
404
|
opts: Optional[pulumi.ResourceOptions] = None,
|
406
|
-
data_json: Optional[pulumi.Input[
|
407
|
-
disable_delete: Optional[pulumi.Input[
|
408
|
-
disable_read: Optional[pulumi.Input[
|
409
|
-
ignore_absent_fields: Optional[pulumi.Input[
|
410
|
-
namespace: Optional[pulumi.Input[
|
411
|
-
path: Optional[pulumi.Input[
|
412
|
-
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
405
|
+
data_json: Optional[pulumi.Input[_builtins.str]] = None,
|
406
|
+
disable_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
407
|
+
disable_read: Optional[pulumi.Input[_builtins.bool]] = None,
|
408
|
+
ignore_absent_fields: Optional[pulumi.Input[_builtins.bool]] = None,
|
409
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
410
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
411
|
+
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
413
412
|
__props__=None):
|
414
413
|
"""
|
415
414
|
## Example Usage
|
@@ -465,32 +464,32 @@ class Endpoint(pulumi.CustomResource):
|
|
465
464
|
|
466
465
|
:param str resource_name: The name of the resource.
|
467
466
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
468
|
-
:param pulumi.Input[
|
467
|
+
:param pulumi.Input[_builtins.str] data_json: String containing a JSON-encoded object that will be
|
469
468
|
written to the given path as the secret data.
|
470
|
-
:param pulumi.Input[
|
469
|
+
:param pulumi.Input[_builtins.bool] disable_delete: - (Optional) True/false. Set this to true if your
|
471
470
|
vault authentication is not able to delete the data or if the endpoint
|
472
471
|
does not support the `DELETE` method. Defaults to false.
|
473
|
-
:param pulumi.Input[
|
472
|
+
:param pulumi.Input[_builtins.bool] disable_read: True/false. Set this to true if your vault
|
474
473
|
authentication is not able to read the data or if the endpoint does
|
475
474
|
not support the `GET` method. Setting this to `true` will break drift
|
476
475
|
detection. You should set this to `true` for endpoints that are
|
477
476
|
write-only. Defaults to false.
|
478
|
-
:param pulumi.Input[
|
477
|
+
:param pulumi.Input[_builtins.bool] ignore_absent_fields: - (Optional) True/false. If set to true,
|
479
478
|
ignore any fields present when the endpoint is read but that were not
|
480
479
|
in `data_json`. Also, if a field that was written is not returned when
|
481
480
|
the endpoint is read, treat that field as being up to date. You should
|
482
481
|
set this to `true` when writing to endpoint that, when read, returns a
|
483
482
|
different set of fields from the ones you wrote, as is common with
|
484
483
|
many configuration endpoints. Defaults to false.
|
485
|
-
:param pulumi.Input[
|
484
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
486
485
|
The value should not contain leading or trailing forward slashes.
|
487
486
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
488
487
|
*Available only for Vault Enterprise*.
|
489
|
-
:param pulumi.Input[
|
488
|
+
:param pulumi.Input[_builtins.str] path: The full logical path at which to write the given
|
490
489
|
data. Consult each backend's documentation to see which endpoints
|
491
490
|
support the `PUT` methods and to determine whether they also support
|
492
491
|
`DELETE` and `GET`.
|
493
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
492
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] write_fields: - (Optional). A list of fields that should be returned
|
494
493
|
in `write_data_json` and `write_data`. If omitted, data returned by
|
495
494
|
the write operation is not available to the resource or included in
|
496
495
|
state. This helps to avoid accidental storage of sensitive values in
|
@@ -571,13 +570,13 @@ class Endpoint(pulumi.CustomResource):
|
|
571
570
|
def _internal_init(__self__,
|
572
571
|
resource_name: str,
|
573
572
|
opts: Optional[pulumi.ResourceOptions] = None,
|
574
|
-
data_json: Optional[pulumi.Input[
|
575
|
-
disable_delete: Optional[pulumi.Input[
|
576
|
-
disable_read: Optional[pulumi.Input[
|
577
|
-
ignore_absent_fields: Optional[pulumi.Input[
|
578
|
-
namespace: Optional[pulumi.Input[
|
579
|
-
path: Optional[pulumi.Input[
|
580
|
-
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
573
|
+
data_json: Optional[pulumi.Input[_builtins.str]] = None,
|
574
|
+
disable_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
575
|
+
disable_read: Optional[pulumi.Input[_builtins.bool]] = None,
|
576
|
+
ignore_absent_fields: Optional[pulumi.Input[_builtins.bool]] = None,
|
577
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
578
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
579
|
+
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
581
580
|
__props__=None):
|
582
581
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
583
582
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -612,15 +611,15 @@ class Endpoint(pulumi.CustomResource):
|
|
612
611
|
def get(resource_name: str,
|
613
612
|
id: pulumi.Input[str],
|
614
613
|
opts: Optional[pulumi.ResourceOptions] = None,
|
615
|
-
data_json: Optional[pulumi.Input[
|
616
|
-
disable_delete: Optional[pulumi.Input[
|
617
|
-
disable_read: Optional[pulumi.Input[
|
618
|
-
ignore_absent_fields: Optional[pulumi.Input[
|
619
|
-
namespace: Optional[pulumi.Input[
|
620
|
-
path: Optional[pulumi.Input[
|
621
|
-
write_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
622
|
-
write_data_json: Optional[pulumi.Input[
|
623
|
-
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
614
|
+
data_json: Optional[pulumi.Input[_builtins.str]] = None,
|
615
|
+
disable_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
616
|
+
disable_read: Optional[pulumi.Input[_builtins.bool]] = None,
|
617
|
+
ignore_absent_fields: Optional[pulumi.Input[_builtins.bool]] = None,
|
618
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
619
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
620
|
+
write_data: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
621
|
+
write_data_json: Optional[pulumi.Input[_builtins.str]] = None,
|
622
|
+
write_fields: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'Endpoint':
|
624
623
|
"""
|
625
624
|
Get an existing Endpoint resource's state with the given name, id, and optional extra
|
626
625
|
properties used to qualify the lookup.
|
@@ -628,39 +627,39 @@ class Endpoint(pulumi.CustomResource):
|
|
628
627
|
:param str resource_name: The unique name of the resulting resource.
|
629
628
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
630
629
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
631
|
-
:param pulumi.Input[
|
630
|
+
:param pulumi.Input[_builtins.str] data_json: String containing a JSON-encoded object that will be
|
632
631
|
written to the given path as the secret data.
|
633
|
-
:param pulumi.Input[
|
632
|
+
:param pulumi.Input[_builtins.bool] disable_delete: - (Optional) True/false. Set this to true if your
|
634
633
|
vault authentication is not able to delete the data or if the endpoint
|
635
634
|
does not support the `DELETE` method. Defaults to false.
|
636
|
-
:param pulumi.Input[
|
635
|
+
:param pulumi.Input[_builtins.bool] disable_read: True/false. Set this to true if your vault
|
637
636
|
authentication is not able to read the data or if the endpoint does
|
638
637
|
not support the `GET` method. Setting this to `true` will break drift
|
639
638
|
detection. You should set this to `true` for endpoints that are
|
640
639
|
write-only. Defaults to false.
|
641
|
-
:param pulumi.Input[
|
640
|
+
:param pulumi.Input[_builtins.bool] ignore_absent_fields: - (Optional) True/false. If set to true,
|
642
641
|
ignore any fields present when the endpoint is read but that were not
|
643
642
|
in `data_json`. Also, if a field that was written is not returned when
|
644
643
|
the endpoint is read, treat that field as being up to date. You should
|
645
644
|
set this to `true` when writing to endpoint that, when read, returns a
|
646
645
|
different set of fields from the ones you wrote, as is common with
|
647
646
|
many configuration endpoints. Defaults to false.
|
648
|
-
:param pulumi.Input[
|
647
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace to provision the resource in.
|
649
648
|
The value should not contain leading or trailing forward slashes.
|
650
649
|
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
651
650
|
*Available only for Vault Enterprise*.
|
652
|
-
:param pulumi.Input[
|
651
|
+
:param pulumi.Input[_builtins.str] path: The full logical path at which to write the given
|
653
652
|
data. Consult each backend's documentation to see which endpoints
|
654
653
|
support the `PUT` methods and to determine whether they also support
|
655
654
|
`DELETE` and `GET`.
|
656
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
655
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] write_data: - A map whose keys are the top-level data keys
|
657
656
|
returned from Vault by the write operation and whose values are the
|
658
657
|
corresponding values. This map can only represent string data, so
|
659
658
|
any non-string values returned from Vault are serialized as JSON.
|
660
659
|
Only fields set in `write_fields` are present in the JSON data.
|
661
|
-
:param pulumi.Input[
|
660
|
+
:param pulumi.Input[_builtins.str] write_data_json: - The JSON data returned by the write operation.
|
662
661
|
Only fields set in `write_fields` are present in the JSON data.
|
663
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
662
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] write_fields: - (Optional). A list of fields that should be returned
|
664
663
|
in `write_data_json` and `write_data`. If omitted, data returned by
|
665
664
|
the write operation is not available to the resource or included in
|
666
665
|
state. This helps to avoid accidental storage of sensitive values in
|
@@ -683,18 +682,18 @@ class Endpoint(pulumi.CustomResource):
|
|
683
682
|
__props__.__dict__["write_fields"] = write_fields
|
684
683
|
return Endpoint(resource_name, opts=opts, __props__=__props__)
|
685
684
|
|
686
|
-
@property
|
685
|
+
@_builtins.property
|
687
686
|
@pulumi.getter(name="dataJson")
|
688
|
-
def data_json(self) -> pulumi.Output[
|
687
|
+
def data_json(self) -> pulumi.Output[_builtins.str]:
|
689
688
|
"""
|
690
689
|
String containing a JSON-encoded object that will be
|
691
690
|
written to the given path as the secret data.
|
692
691
|
"""
|
693
692
|
return pulumi.get(self, "data_json")
|
694
693
|
|
695
|
-
@property
|
694
|
+
@_builtins.property
|
696
695
|
@pulumi.getter(name="disableDelete")
|
697
|
-
def disable_delete(self) -> pulumi.Output[Optional[
|
696
|
+
def disable_delete(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
698
697
|
"""
|
699
698
|
- (Optional) True/false. Set this to true if your
|
700
699
|
vault authentication is not able to delete the data or if the endpoint
|
@@ -702,9 +701,9 @@ class Endpoint(pulumi.CustomResource):
|
|
702
701
|
"""
|
703
702
|
return pulumi.get(self, "disable_delete")
|
704
703
|
|
705
|
-
@property
|
704
|
+
@_builtins.property
|
706
705
|
@pulumi.getter(name="disableRead")
|
707
|
-
def disable_read(self) -> pulumi.Output[Optional[
|
706
|
+
def disable_read(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
708
707
|
"""
|
709
708
|
True/false. Set this to true if your vault
|
710
709
|
authentication is not able to read the data or if the endpoint does
|
@@ -714,9 +713,9 @@ class Endpoint(pulumi.CustomResource):
|
|
714
713
|
"""
|
715
714
|
return pulumi.get(self, "disable_read")
|
716
715
|
|
717
|
-
@property
|
716
|
+
@_builtins.property
|
718
717
|
@pulumi.getter(name="ignoreAbsentFields")
|
719
|
-
def ignore_absent_fields(self) -> pulumi.Output[Optional[
|
718
|
+
def ignore_absent_fields(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
720
719
|
"""
|
721
720
|
- (Optional) True/false. If set to true,
|
722
721
|
ignore any fields present when the endpoint is read but that were not
|
@@ -728,9 +727,9 @@ class Endpoint(pulumi.CustomResource):
|
|
728
727
|
"""
|
729
728
|
return pulumi.get(self, "ignore_absent_fields")
|
730
729
|
|
731
|
-
@property
|
730
|
+
@_builtins.property
|
732
731
|
@pulumi.getter
|
733
|
-
def namespace(self) -> pulumi.Output[Optional[
|
732
|
+
def namespace(self) -> pulumi.Output[Optional[_builtins.str]]:
|
734
733
|
"""
|
735
734
|
The namespace to provision the resource in.
|
736
735
|
The value should not contain leading or trailing forward slashes.
|
@@ -739,9 +738,9 @@ class Endpoint(pulumi.CustomResource):
|
|
739
738
|
"""
|
740
739
|
return pulumi.get(self, "namespace")
|
741
740
|
|
742
|
-
@property
|
741
|
+
@_builtins.property
|
743
742
|
@pulumi.getter
|
744
|
-
def path(self) -> pulumi.Output[
|
743
|
+
def path(self) -> pulumi.Output[_builtins.str]:
|
745
744
|
"""
|
746
745
|
The full logical path at which to write the given
|
747
746
|
data. Consult each backend's documentation to see which endpoints
|
@@ -750,9 +749,9 @@ class Endpoint(pulumi.CustomResource):
|
|
750
749
|
"""
|
751
750
|
return pulumi.get(self, "path")
|
752
751
|
|
753
|
-
@property
|
752
|
+
@_builtins.property
|
754
753
|
@pulumi.getter(name="writeData")
|
755
|
-
def write_data(self) -> pulumi.Output[Mapping[str,
|
754
|
+
def write_data(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
756
755
|
"""
|
757
756
|
- A map whose keys are the top-level data keys
|
758
757
|
returned from Vault by the write operation and whose values are the
|
@@ -762,18 +761,18 @@ class Endpoint(pulumi.CustomResource):
|
|
762
761
|
"""
|
763
762
|
return pulumi.get(self, "write_data")
|
764
763
|
|
765
|
-
@property
|
764
|
+
@_builtins.property
|
766
765
|
@pulumi.getter(name="writeDataJson")
|
767
|
-
def write_data_json(self) -> pulumi.Output[
|
766
|
+
def write_data_json(self) -> pulumi.Output[_builtins.str]:
|
768
767
|
"""
|
769
768
|
- The JSON data returned by the write operation.
|
770
769
|
Only fields set in `write_fields` are present in the JSON data.
|
771
770
|
"""
|
772
771
|
return pulumi.get(self, "write_data_json")
|
773
772
|
|
774
|
-
@property
|
773
|
+
@_builtins.property
|
775
774
|
@pulumi.getter(name="writeFields")
|
776
|
-
def write_fields(self) -> pulumi.Output[Optional[Sequence[
|
775
|
+
def write_fields(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
777
776
|
"""
|
778
777
|
- (Optional). A list of fields that should be returned
|
779
778
|
in `write_data_json` and `write_data`. If omitted, data returned by
|