- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists all non-deleted WorkforcePoolProviderKey
s in a WorkforcePoolProvider
. If showDeleted
is set to true
, then deleted keys are also listed.
HTTP request
GET https://iam.googleapis.com/v1/{parent=locations/*/workforcePools/*/providers/*}/keys
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The provider resource to list encryption keys for. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
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 |
A page token, received from a previous |
showDeleted |
Whether to return soft-deleted keys. |
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 |
---|
{
"workforcePoolProviderKeys": [
{
object ( |
Fields | |
---|---|
workforcePoolProviderKeys[] |
A list of WorkforcePoolProviderKeys. |
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.