GetKeyRotationStatus
In this article:
GetKeyRotationStatus#
Description#
Предоставляет информацию о статусе ротации ключа KMS.
Request Parameters#
KeyId — Идентификатор ключа KMS.
Type: String
Required: Yes
Response Elements#
KeyRotationEnabled — Указывает, включена ли ротация ключа KMS.
Type: Boolean
NextRotationDate — Следующие дата и время автоматической ротации ключа KMS.
Type: Timestamp
RotationPeriodInDays — Период автоматической ротации ключа KMS в днях.
Type: Integer
Диапазон: От 90 до 2560
Examples#
Sample Request#
POST / HTTP/1.1
Host: kms.<region>.<domain>
Content-Length: <PayloadSizeBytes>
Content-Type: application/x-amz-json-1.1
Authorization: AWS4-HMAC-SHA256 Credential=<Credential>, SignedHeaders=<Headers>, Signature=<Signature>
X-Amz-Date: <Date>
X-Amz-Target: TrentService.GetKeyRotationStatus
{
"KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab"
}
Sample Response#
HTTP/1.1 200 OK
Content-Type: application/x-amz-json-1.1
{
"KeyRotationEnabled": true,
"NextRotationDate": 1805964072.694000,
"RotationPeriodInDays": 365
}