All Products
Search
Document Center

Key Management Service:Use ActionTrail to query KMS event logs

Last Updated:Jan 23, 2024

Key Management Service (KMS) is integrated with ActionTrail. You can use ActionTrail to query the logs of all events that are triggered by all users on KMS resources. The users can be Alibaba Cloud accounts or Resource Access Management (RAM) users. This topic describes how to use ActionTrail to query KMS event logs.

Background information

ActionTrail records call events for all API operations of KMS, except for the DescribeRegions operation. For more information about the sample code to query event logs, see KMS. For more information about the fields in event logs, see Management event structure.

Procedure

  1. Log on to the ActionTrail console.

  2. In the left-side navigation pane, click Query.

  3. In the top navigation bar, select the region of the events that you want to query.

  4. On the Event Query page, select Service Name from the drop-down list.

  5. Enter Kms in the field and click the 搜索 icon.

  6. Find the required time and click View Event Details in the Actions column.