SecretKeySelector constructor

const SecretKeySelector({
  1. required Input<String> key,
  2. Input<String>? name,
  3. Input<bool>? optional,
})

Creates a new SecretKeySelector. key The key of the secret to select from. Must be a valid secret key. name Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names optional Specify whether the Secret or its key must be defined

Implementation

const SecretKeySelector({
  required this.key,
  this.name,
  this.optional,
});