Identity and Access Management API, REST: AccessKey.List
Retrieves the list of access keys for the specified service account.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/aws-compatibility/v1/accessKeys
Query parameters
Field |
Description |
serviceAccountId |
string ID of the service account to list access keys for. |
pageSize |
string (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 |
Response
HTTP Code: 200 - OK
{
"accessKeys": [
{
"id": "string",
"serviceAccountId": "string",
"createdAt": "string",
"description": "string",
"keyId": "string",
"lastUsedAt": "string"
}
],
"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 |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
description |
string Description of the access key. 0-256 characters long. |
keyId |
string ID of the access key. |
lastUsedAt |
string (date-time) Timestamp for the last authentication using this Access key. String in RFC3339 To work with values in this field, use the APIs described in the |