On September 15, 2026, all Cloud Composer 1 and Cloud Composer 2 version 2.0.x environments will reach their planned end of life, and you will not be able to use them. We recommend planning migration to Cloud Composer 3.
User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
JSON representation
{"name": string,"data": {string: string,...}}
Fields
name
string
Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"
data
map (key: string, value: string)
Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-30 UTC."],[[["UserWorkloadsSecret is a resource used by Airflow tasks running with Kubernetes executor or KubernetesPodOperator."],["The JSON representation of a UserWorkloadsSecret includes a `name` string and a `data` map, where the values in the data map are base64-encoded."],["The `name` field serves as the identifier for the Secret resource."],["The `data` field consists of key-value pairs where each value should be base64 encoded strings, containing sensitive information."],["Methods are available to create, delete, get, list, and update UserWorkloadsSecrets."]]],[]]