All Products
Document Center

Key Management Service:Use ActionTrail to query KMS events

Last Updated:Sep 01, 2023

Key Management Service (KMS) is integrated with ActionTrail. You can use ActionTrail to query 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 events.

Background information

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


  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.