Secret Args
data class SecretArgs(val dataJson: Output<String>? = null, val deleteAllVersions: Output<Boolean>? = null, val disableRead: Output<Boolean>? = null, val namespace: Output<String>? = null, val path: Output<String>? = null) : ConvertibleToJava<SecretArgs>
Import
Generic secrets can be imported using the path
, e.g.
$ pulumi import vault:generic/secret:Secret example secret/foo
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
true/false. Only applicable for kv-v2 stores. If set to true
, permanently deletes all versions for the specified key. The default behavior is to only delete the latest version of the secret.
Link copied to clipboard
true/false. Set this to true if your vault authentication is not able to read the data. Setting this to true
will break drift detection. Defaults to false.
Link copied to clipboard
The full logical path at which to write the given data. To write data into the "generic" secret backend mounted in Vault by default, this should be prefixed with secret/
. Writing to other backends with this resource is possible; consult each backend's documentation to see which endpoints support the PUT
and DELETE
methods.