Revoking a Grant
You can revoke a grant on the KMS console in either of the following scenarios:
- A grantee does not need the custom key 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 anymore. 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 on the KMS console.
Prerequisites
You have created a grant.
Procedure
- Log in to the management console.
- Click in the upper left corner of the management console and select a region or project.
- Click . Choose .
- Click the alias of the target custom key to view its details.
- In the row of a grantee, click Revoke Grant.
- In the displayed dialog box, click OK. If Grant grant ID revoked successfully is displayed in the upper right corner, the grant has been revoked.
You can call the API to verify that the key grant has been revoked. For details about how to use APIs, see Key Management Service API Reference.
For example, if the grant to create a data key is revoked for a user, an error will be reported when the user calls the API to create a data key.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.