forked from docs/doc-exports
Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qinweiwei <qinweiwei@huawei.com> Co-committed-by: qinweiwei <qinweiwei@huawei.com>
22 lines
3.8 KiB
HTML
22 lines
3.8 KiB
HTML
<a name="dew_01_0098"></a><a name="dew_01_0098"></a>
|
|
|
|
<h1 class="topictitle1">Revoking a Grant</h1>
|
|
<div id="body1526441148777"><p id="dew_01_0098__abe21e609c7ae4377821f7899527f5722">You can revoke a grant on the KMS console in either of the following scenarios:</p>
|
|
<ul id="dew_01_0098__u66ca32ebe2f24d25b2c261ef49208a9d"><li id="dew_01_0098__l4a6b2f090aa441c39c2f75b504aefd38">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.)</li><li id="dew_01_0098__l45830697ea0f42639f371fd284177fb8">You do not want the grantee to have the grant.</li></ul>
|
|
<p id="dew_01_0098__a7e3fc403154744d1a7cffa97969b0b74">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.</p>
|
|
<p id="dew_01_0098__ad9234830a7174ce4b163a57a6962aedc">This section describes how to revoke a grant on the KMS console.</p>
|
|
<div class="section" id="dew_01_0098__sbd5737a535764a35aae4e93549e26106"><h4 class="sectiontitle">Prerequisites</h4><p id="dew_01_0098__p133017444304">You have created a grant.</p>
|
|
</div>
|
|
<div class="section" id="dew_01_0098__s4433344876b448e88f99d65e76f0cb65"><h4 class="sectiontitle">Procedure</h4><ol id="dew_01_0098__o970cda3a4441400eb18a188bf85b22bb"><li id="dew_01_0098__li1181420455820"><span>Log in to the management console.</span></li><li id="dew_01_0098__li880294292648"><span>Click <span><img id="dew_01_0098__dew_01_0178_image10325154918393" src="en-us_image_0000001284811084.png"></span> in the upper left corner of the management console and select a region or project.</span></li><li id="dew_01_0098__li1279512297175"><span>Click <span><img id="dew_01_0098__image14904192145712" src="en-us_image_0000002479481472.png"></span> on the left and choose <span class="menucascade" id="dew_01_0098__menucascade12904192145711"><b><span class="uicontrol" id="dew_01_0098__uicontrol12904122155710">Security</span></b> > <b><span class="uicontrol" id="dew_01_0098__uicontrol19041827572">Key Management Service</span></b></span>.</span></li><li id="dew_01_0098__l17d2068cc74943f4903c3ac3e81ca4c7"><span>Click the alias of the target custom key to view its details.</span></li><li id="dew_01_0098__li13261468285"><span>In the <strong id="dew_01_0098__b14324037115115">Grants</strong> tab, locate the target grant and click <strong id="dew_01_0098__b16409022527">Revoke Grant</strong> in the <strong id="dew_01_0098__b5169856155118">Operation</strong> column.</span></li><li id="dew_01_0098__li12531352191011"><span>Enter <strong id="dew_01_0098__b11754164882817">DELETE</strong> in the confirmation dialog box and click <span class="parmvalue" id="dew_01_0098__parmvalue1575418480286"><b>OK</b></span>.</span><p><div class="p" id="dew_01_0098__p75641648114111">In the displayed dialog box, click <strong id="dew_01_0098__b3661641141713">OK</strong>. If <strong id="dew_01_0098__b96621741161716">Grant <em id="dew_01_0098__i10661184110178">grant ID</em> revoked successfully</strong> is displayed in the upper right corner, the grant has been revoked.<div class="note" id="dew_01_0098__note1267183035218"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dew_01_0098__p22671630155218">You can call the API to verify that the key grant has been revoked. 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.</p>
|
|
</div></div>
|
|
</div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dew_01_0095.html">Managing a Grant</a></div>
|
|
</div>
|
|
</div>
|
|
|