RotateKeyOnDemand - Amazon Key Management Service
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

RotateKeyOnDemand

以下示例显示了 RotateKeyOnDemand 操作的一个 Amazon CloudTrail 日志条目。有关轮换密钥时写入的 CloudTrail 日志条目的示例,请参阅 RotateKey。有关按需轮换 KMS 密钥的密钥材料的更多信息,请参阅执行按需密钥轮换

{ "eventVersion": "1.08", "userIdentity": { "type": "IAMUser", "principalId": "EX_PRINCIPAL_ID", "arn": "arn:aws:iam::111122223333:user/Alice", "accountId": "111122223333", "accessKeyId": "EXAMPLE_KEY_ID", "userName": "Alice" }, "eventTime": "2024-02-20T17:41:57Z", "eventSource": "kms.amazonaws.com", "eventName": "RotateKeyOnDemand", "awsRegion": "us-east-1", "sourceIPAddress": "192.0.2.0", "userAgent": "Amazon Internal", "requestParameters": { "keyId": "1234abcd-12ab-34cd-56ef-1234567890ab" }, "responseElements": { "keyId": "1234abcd-12ab-34cd-56ef-1234567890ab" }, "requestID": "9e1dee86-eb84-42fd-8f25-e3fc7dbb32c8", "eventID": "00a09fbc-20d6-4a58-9b92-7da85984ab77", "readOnly": false, "resources": [ { "accountId": "111122223333", "type": "AWS::KMS::Key", "ARN": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" } ], "eventType": "AwsApiCall", "managementEvent": true, "recipientAccountId": "111122223333", "eventCategory": "Management", "tlsDetails": { "tlsVersion": "TLSv1.2", "cipherSuite": "ECDHE-RSA-AES256-GCM-SHA384", "clientProvidedHostHeader": "kms.us-east-1.amazonaws.com" } }