Method: projects.locations.workloadIdentityPools.providers.keys.list

Lists all non-deleted WorkloadIdentityPoolProviderKeys in a project. If showDeleted is set to true, then deleted pools are also listed.

HTTP request

GET https://iam.googleapis.com/v1/{parent=projects/*/locations/*/workloadIdentityPools/*/providers/*}/keys

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent provider resource to list encryption keys for.

Query parameters

Parameters
pageSize

integer

The maximum number of keys to return. If unspecified, all keys are returned. The maximum value is 10; values above 10 are truncated to 10.

pageToken

string

A page token, received from a previous keys.list call. Provide this to retrieve the subsequent page.

showDeleted

boolean

Whether to return soft deleted resources as well.

Request body

The request body must be empty.

Response body

Response message for keys.list.

If successful, the response body contains data with the following structure:

JSON representation
{
  "workloadIdentityPoolProviderKeys": [
    {
      object (WorkloadIdentityPoolProviderKey)
    }
  ],
  "nextPageToken": string
}
Fields
workloadIdentityPoolProviderKeys[]

object (WorkloadIdentityPoolProviderKey)

A list of WorkloadIdentityPoolProviderKey

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.