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.
[[["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\u003eThis document describes how to create a user workloads Secret in Cloud Composer environments version composer-3-airflow-*.*.*-build.* and newer using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to create a secret is made to a specific environment using the provided URL structure with gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eCreating a secret requires the \u003ccode\u003eparent\u003c/code\u003e path parameter, specifying the project, location, and environment, and the user must have the \u003ccode\u003ecomposer.userworkloadssecrets.create\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eUserWorkloadsSecret\u003c/code\u003e instance, and upon success, the response body returns the newly created \u003ccode\u003eUserWorkloadsSecret\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to perform this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]