SecretKeySelectorArgs

data class SecretKeySelectorArgs(val key: Output<String>, val name: Output<String>? = null, val optional: Output<Boolean>? = null) : ConvertibleToJava<SecretKeySelectorArgs>

SecretKeySelector selects a key of a Secret.

Constructors

Link copied to clipboard
constructor(key: Output<String>, name: Output<String>? = null, optional: Output<Boolean>? = null)

Properties

Link copied to clipboard
val key: Output<String>

The key of the secret to select from. Must be a valid secret key.

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

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

Link copied to clipboard
val optional: Output<Boolean>? = null

Specify whether the Secret or its key must be defined

Functions

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