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.
Required. The resource name of the Secret to get, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"
Authorization requires the following IAM permission on the specified resource name:
composer.userworkloadssecrets.get
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of UserWorkloadsSecret.
[[["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."],[[["Retrieves an existing user workloads Secret, with the \"data\" field values cleared in the response, applicable for Cloud Composer environments version composer-3-airflow-.\\*.\\*-build.\\* and newer."],["Utilizes a `GET` HTTP request with a specific URL structure for resource identification, in the format `https://composer.googleapis.com/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}`."],["Requires the `name` path parameter, a string representing the resource name, and the IAM permission `composer.userworkloadssecrets.get` for authorization."],["The request body must be empty, and a successful response will include an instance of `UserWorkloadsSecret`."],["Authorization requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform`."]]],[]]