GetSecretPlainArgs

data class GetSecretPlainArgs(val namespace: String? = null, val path: String, val version: Int? = null, val withLeaseStartTime: Boolean? = null) : ConvertibleToJava<GetSecretPlainArgs>

A collection of arguments for invoking getSecret.

Constructors

Link copied to clipboard
constructor(namespace: String? = null, path: String, version: Int? = null, withLeaseStartTime: Boolean? = null)

Properties

Link copied to clipboard
val namespace: String? = null

The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.

Link copied to clipboard

The full logical path from which to request data. To read data from the "generic" secret backend mounted in Vault by default, this should be prefixed with secret/. Reading from other backends with this data source is possible; consult each backend's documentation to see which endpoints support the GET method.

Link copied to clipboard
val version: Int? = null

The version of the secret to read. This is used by the Vault KV secrets engine - version 2 to indicate which version of the secret to read.

Link copied to clipboard

If set to true, stores lease_start_time in the TF state. Note that storing the lease_start_time in the TF state will cause a persistent drift on every pulumi preview and will require a pulumi up.

Functions

Link copied to clipboard
open override fun toJava(): GetSecretPlainArgs