Argo Workflows · JSON Structure

Argo Workflows Io K8S Api Core V1 Secret Key Selector Structure

SecretKeySelector selects a key of a Secret.

Type: object Properties: 3 Required: 1
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

io.k8s.api.core.v1.SecretKeySelector is a JSON Structure definition published by Argo Workflows, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

key name optional

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-io-k8s-api-core-v1-secret-key-selector-structure.json",
  "name": "io.k8s.api.core.v1.SecretKeySelector",
  "description": "SecretKeySelector selects a key of a Secret.",
  "type": "object",
  "properties": {
    "key": {
      "description": "The key of the secret to select from.  Must be a valid secret key.",
      "type": "string"
    },
    "name": {
      "description": "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",
      "type": "string"
    },
    "optional": {
      "description": "Specify whether the Secret or its key must be defined",
      "type": "boolean"
    }
  },
  "required": [
    "key"
  ]
}