本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
GetKeyRotationStatus
下列範例顯示作GetKeyRotationStatus業的 AWS CloudTrail 記錄項目。如需 KMS 金鑰之金鑰材料自動和隨選輪換的相關資訊,請參閱旋轉 AWS KMS keys。
{ "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-20T19:16:45Z", "eventSource": "kms.amazonaws.com", "eventName": "GetKeyRotationStatus", "awsRegion": "us-east-1", "sourceIPAddress": "192.0.2.0", "userAgent": "AWS Internal", "requestParameters": { "keyId": "1234abcd-12ab-34cd-56ef-1234567890ab" }, "responseElements": null, "requestID": "12f9b7e8-49b9-4c1c-a7e3-34ac0cdf0467", "eventID": "3d082126-9e7d-4167-8372-a6cfcbed4be6", "readOnly": true, "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" } }