- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists user workloads Secrets.
This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
HTTP request
GET https://composer.googleapis.com/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. List Secrets in the given environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of Secrets to return. |
page |
Optional. The nextPageToken value returned from a previous List request, if any. |
Request body
The request body must be empty.
Response body
The user workloads Secrets for a given environment.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"userWorkloadsSecrets": [
{
object ( |
Fields | |
---|---|
user |
The list of Secrets returned by a ListUserWorkloadsSecretsRequest. |
next |
The page token used to query for the next page if one exists. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.