SecretV2CustomMetadata

data class SecretV2CustomMetadata(val casRequired: Boolean? = null, val data: Map<String, String>? = null, val deleteVersionAfter: Int? = null, val maxVersions: Int? = null)

Constructors

Link copied to clipboard
constructor(casRequired: Boolean? = null, data: Map<String, String>? = null, deleteVersionAfter: Int? = null, maxVersions: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val casRequired: Boolean? = null

If true, all keys will require the cas parameter to be set on all write requests.

Link copied to clipboard
val data: Map<String, String>? = null

A mapping whose keys are the top-level data keys returned from Vault and whose values are the corresponding values. This map can only represent string data, so any non-string values returned from Vault are serialized as JSON.

Link copied to clipboard
val deleteVersionAfter: Int? = null

If set, specifies the length of time before a version is deleted.

Link copied to clipboard
val maxVersions: Int? = null

The number of versions to keep per key.