- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists all non-deleted WorkloadIdentityPoolManagedIdentity
s in a namespace. If showDeleted
is set to true
, then deleted managed identities are also listed.
HTTP request
GET https://iam.googleapis.com/v1/{parent=projects/*/locations/*/workloadIdentityPools/*/namespaces/*}/managedIdentities
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource to list managed identities for. |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of managed identities to return. If unspecified, at most 50 managed identities are returned. The maximum value is 1000; values above are 1000 truncated to 1000. |
pageToken |
A page token, received from a previous |
showDeleted |
Whether to return soft-deleted managed identities. |
Request body
The request body must be empty.
Response body
Response message for managedIdentities.list.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"workloadIdentityPoolManagedIdentities": [
{
object ( |
Fields | |
---|---|
workloadIdentityPoolManagedIdentities[] |
A list of managed identities. |
nextPageToken |
A token, which can be sent as |
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.