Skip to main content
Schemaobject

io.k8s.api.core.v1.SecretKeySelector

SecretKeySelector selects a key of a Secret.

Source
specs/apis__batch__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
key string
required

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

name string
optional

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 boolean
optional

Specify whether the Secret or its key must be defined