Updated on 2024-05-15 GMT+08:00

Querying a Grant

You can view the details about a custom key grant on the KMS console, such as the grant ID, grantee user ID, granted operation, and creation time.

Prerequisites

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. Click . Choose Security & Compliance > Data Encryption Workshop.
  4. Click the alias of the target custom key to view its details.
  5. Click Grant to view the grant information of the current custom key. Table 1 describes the parameters.

    Table 1 Parameter description

    Parameter

    Description

    Grant Name

    Name of the grant when created

    Grant ID

    Randomly generated unique identification of a grant

    Granted To

    Whether permissions are granted to a user or account.

    Grantee ID

    ID of the authorized user or account.

    Granted Operations

    Authorized operations (such as Create Data Key) on the custom key

    Created

    Time when the grant is created

    Operation

    Operations that can be performed on a grant. For example, you can revoke a grant.

  6. Select the target grant and click in the lower right corner to view the grant details, as shown in Figure 1.

    Figure 1 Viewing grant details