Method: projects.locations.environments.userWorkloadsSecrets.list

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/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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 parent:

  • composer.userworkloadssecrets.list

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of Secrets to return.

pageToken

string

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 (UserWorkloadsSecret)
    }
  ],
  "nextPageToken": string
}
Fields
userWorkloadsSecrets[]

object (UserWorkloadsSecret)

The list of Secrets returned by a ListUserWorkloadsSecretsRequest.

nextPageToken

string

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.