Access Key, gRPC: AccessKeyService.List
Retrieves the list of access keys for the specified service account.
gRPC request
rpc List (ListAccessKeysRequest) returns (ListAccessKeysResponse)
ListAccessKeysRequest
{
"serviceAccountId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
serviceAccountId |
string ID of the service account to list access keys for. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
ListAccessKeysResponse
{
"accessKeys": [
{
"id": "string",
"serviceAccountId": "string",
"createdAt": "google.protobuf.Timestamp",
"description": "string",
"keyId": "string",
"lastUsedAt": "google.protobuf.Timestamp"
}
],
"nextPageToken": "string"
}
Field |
Description |
accessKeys[] |
List of access keys. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
AccessKey
An access key.
For more information, see AWS-compatible access keys.
Field |
Description |
id |
string ID of the AccessKey resource. |
serviceAccountId |
string ID of the service account that the access key belongs to. |
createdAt |
Creation timestamp. |
description |
string Description of the access key. 0-256 characters long. |
keyId |
string ID of the access key. |
lastUsedAt |
Timestamp for the last authentication using this Access key. |