• Key Management Service

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

Revoking a Grant

Scenario

You can revoke a grant in either of the following scenarios:

  • A grantee does not need the grant. (The grantee can either tell the user who has created the grant to revoke the grant or call the necessary API to revoke the grant directly.)
  • You do not want the grantee to have the grant.

When a grant is revoked, the grantee does not have the corresponding permission any more. However, if the grantee has created the same grant to another user, permission of that user will not be affected.

This section describes how to revoke a grant.

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. In the row containing the desired grantee, click Revoke Grant in the Operation column.
  6. In the dialog box that is displayed, click OK. When Grant grant ID revoked successfully is displayed in the upper right corner, the grant has been revoked.