Method: projects.locations.environments.userWorkloadsSecrets.get

Gets an existing user workloads Secret. Values of the "data" field in the response are cleared.

This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.

HTTP request

GET https://composer.googleapis.com/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.