SecretVersionArgs

data class SecretVersionArgs(val path: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<SecretVersionArgs>

Configuration for a single version.

Constructors

Link copied to clipboard
fun SecretVersionArgs(path: Output<String>? = null, version: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val path: Output<String>? = null

Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as secret_foo would mount the secret value file at /etc/secrets/secret_foo.

Link copied to clipboard
val version: Output<String>? = null

Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.