• Key Management Service

kms
  1. Help Center
  2. Key Management Service
  3. User Guide
  4. Management
  5. Managing a Grant
  6. Querying a Grant

Querying a Grant

Scenario

This section describes how to view the details about a grant, such as the grant ID, grantee user ID, granted operation, and creation time.

Prerequisites

  • You have obtained an account and its password for logging in to the management console.
  • You have created a grant.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Choose Security > Key Management Service. The Key Management Service page is displayed.
  4. Click the alias of the desired CMK to view its details.
  5. Information about the CMK and grants created on it are displayed, Figure 1 displays query information of an example grant.

    Figure 1 Querying a grant

    Table 1 describes the parameters.

    Table 1 Parameter description

    Parameter

    Description

    Grant ID

    Randomly generated unique identification of a grant

    Grantee

    ID of an authorized user.

    Granted Operations

    Authorized operations (such as Create Data Key) on the CMK

    Creation Time

    Creation time of the grant

  6. Click a grant ID to view the grant details, Figure 2 displays example grant information.

    Figure 2 Viewing grant details