Argo Workflows · JSON Structure

Argo Workflows Io K8S Api Core V1 Service Account Token Projection Structure

ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).

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

io.k8s.api.core.v1.ServiceAccountTokenProjection 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

audience expirationSeconds path

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-service-account-token-projection-structure.json",
  "name": "io.k8s.api.core.v1.ServiceAccountTokenProjection",
  "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).",
  "type": "object",
  "properties": {
    "audience": {
      "description": "audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.",
      "type": "string"
    },
    "expirationSeconds": {
      "description": "expirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.",
      "type": "int32"
    },
    "path": {
      "description": "path is the path relative to the mount point of the file to project the token into.",
      "type": "string"
    }
  },
  "required": [
    "path"
  ]
}