Skip to main content
Key Management Service (KMS) keeps logs of actions that are performed on symmetric and asymmetric keys. You can view and analyze these logs as events in the Audit Logs service. KMS only supports control plane logs. They describe key management and lifecycle events, such as creating, updating, deleting or rotating a key.

How to view logs

  1. In the sidebar, go to https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/administration.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=e6411dc023fd6972922c0a12a59ccf21 Administration → Audit Logs.
  2. Select Control plane.
  3. Filter events by the KMS service. If this filter is not displayed, click Filters and then select Service.
For more details, see Viewing events in Audit Logs. Parameters of an action, such as creating a key, are returned in the .request.parameters field of the Audit Logs event. For example:
{
  "request": {
    "parameters": {
      "metadata": {
        "id": "<key_ID>",
        "parent_id": "<project_ID>",
        "name": "<key_name>",
        "resource_version": "0",
        "labels": {}
      },
      "spec": {
        "description": "<key_description>",
        "algorithm": "<key_algorithm>"
      }
    }
  }
}
For more details, see Structure and fields of events in Audit Logs.