Метод get

Returns the specified AccessKey resource.

To get the list of available AccessKey resources, make a list request.

HTTP-запрос

GET https://iam.api.cloud.yandex.net/iam/aws-compatibility/v1/accessKeys/{accessKeyId}

Path-параметры

Параметр Описание
accessKeyId Required. ID of the AccessKey resource to return. To get the access key ID, use a list request. The maximum string length in characters is 50.

Ответ

HTTP Code: 200 - OK

 {
  "id": "string",
  "serviceAccountId": "string",
  "createdAt": "string",
  "description": "string",
  "keyId": "string"
}

An AccessKey resource. For more information, see Access Keys.

Поле Описание
id string

ID of the AccessKey resource. It is used to manage secret credentials: an access key ID and a secret access key.

serviceAccountId string

ID of the service account that the access key belongs to.

createdAt string (date-time)

Creation timestamp in RFC3339 text format.

description string

Description of the access key. 0-256 characters long.

keyId string

ID of the access key. The key is AWS compatible.