GetSecretV2PlainArgs

data class GetSecretV2PlainArgs(val mount: String, val name: String, val namespace: String? = null, val version: Int? = null) : ConvertibleToJava<GetSecretV2PlainArgs>

A collection of arguments for invoking getSecretV2.

Constructors

Link copied to clipboard
constructor(mount: String, name: String, namespace: String? = null, version: Int? = null)

Properties

Link copied to clipboard

Path where KV-V2 engine is mounted.

Link copied to clipboard

Full name of the secret. For a nested secret the name is the nested path excluding the mount and data prefix. For example, for a secret at kvv2/data/foo/bar/baz the name is foo/bar/baz.

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
val version: Int? = null

Version of the secret to retrieve.

Functions

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