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."],[[["\u003cp\u003eUserWorkloadsSecret is a resource used by Airflow tasks running with Kubernetes executor or KubernetesPodOperator.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a UserWorkloadsSecret includes a \u003ccode\u003ename\u003c/code\u003e string and a \u003ccode\u003edata\u003c/code\u003e map, where the values in the data map are base64-encoded.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field serves as the identifier for the Secret resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edata\u003c/code\u003e field consists of key-value pairs where each value should be base64 encoded strings, containing sensitive information.\u003c/p\u003e\n"],["\u003cp\u003eMethods are available to create, delete, get, list, and update UserWorkloadsSecrets.\u003c/p\u003e\n"]]],[],null,[]]