RetireGrant - Amazon Key Management Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.


The following example shows an Amazon CloudTrail log entry generated by calling the RetireGrant operation. For information about retiring grants, see Retiring and revoking grants.

{ "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": "2022-09-01T19:39:33Z", "eventSource": "", "eventName": "RetireGrant", "awsRegion": "us-west-2", "sourceIPAddress": "", "userAgent": "Amazon Internal", "requestParameters": null, "responseElements": null, "additionalEventData": { "grantId": "abcde1237f76e4ba7987489ac329fbfba6ad343d6f7075dbd1ef191f0120514a" }, "requestID": "1d274d57-5697-462c-a004-f25fcc29fa26", "eventID": "0771bcfb-3e24-4332-9ac8-e1c06563eecf", "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" }