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>
25 lines
4.1 KiB
HTML
25 lines
4.1 KiB
HTML
<a name="dew_01_0031"></a><a name="dew_01_0031"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Key</h1>
|
|
<div id="body1469675083219"><p id="dew_01_0031__p1821214004217">Before deleting the key, confirm that it is not in use and will not be used. </p>
|
|
<div class="section" id="dew_01_0031__section2256777914731"><h4 class="sectiontitle">Prerequisites</h4><p id="dew_01_0031__p13557141019212">The key to be deleted is in <strong id="dew_01_0031__b74711157135314">Enabled</strong>, <strong id="dew_01_0031__b1547165785312">Disabled</strong>, or <strong id="dew_01_0031__b14471145745317">Pending import</strong> status.</p>
|
|
</div>
|
|
<div class="section" id="dew_01_0031__section1716645918216"><h4 class="sectiontitle">Constraints</h4><ul id="dew_01_0031__ul3218201172210"><li id="dew_01_0031__li2888123512355">A key will not be deleted until its scheduled deletion period expires. You can set the period to a value within the range 7 to 1096 days.<p id="dew_01_0031__p1240175333517"><a name="dew_01_0031__li2888123512355"></a><a name="li2888123512355"></a>Before the specified deletion date, you can cancel the deletion if you want to use the CMK. Once the scheduled deletion has taken effect, the CMK will be deleted permanently and you will not be able to decrypt data encrypted by the CMK. Exercise caution when performing this operation.</p>
|
|
</li><li id="dew_01_0031__li142181811152216">Default keys created by KMS cannot be scheduled for deletion.</li></ul>
|
|
</div>
|
|
<div class="section" id="dew_01_0031__section2756238314925"><h4 class="sectiontitle">Procedure</h4><p id="dew_01_0031__p72406121154">To schedule the deletion of multiple CMKs at a time, select them and click <strong id="dew_01_0031__b9992100185420">Delete</strong> in the upper left corner of the list. The following describes how to delete a single key.</p>
|
|
<ol id="dew_01_0031__ol562648314939"><li id="dew_01_0031__li1296564718544"><span>Log in to the management console.</span></li><li id="dew_01_0031__li880294292648"><span>Click <span><img id="dew_01_0031__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_0031__li1279512297175"><span>Click <span><img id="dew_01_0031__image1732113618554" src="en-us_image_0000002479637892.png"></span> on the left and choose <span class="menucascade" id="dew_01_0031__menucascade163235614553"><b><span class="uicontrol" id="dew_01_0031__uicontrol193221665512">Security</span></b> > <b><span class="uicontrol" id="dew_01_0031__uicontrol133221066554">Key Management Service</span></b></span>.</span></li><li id="dew_01_0031__li49567148141429"><span>Locate the target key and click <span class="uicontrol" id="dew_01_0031__uicontrol4728182714356"><b>Delete</b></span> in the <strong id="dew_01_0031__b10729162717353">Operation</strong> column.</span></li><li id="dew_01_0031__li23509077163436"><span>On the key deletion dialog box, enter the deletion delay time.</span><p><div class="fignone" id="dew_01_0031__fig1174078175555"><span class="figcap"><b>Figure 1 </b>Setting scheduled deletion</span><p id="dew_01_0031__p15815192501413"><span><img id="dew_01_0031__image154929273145" src="en-us_image_0000002278274229.png"></span></p>
|
|
<p id="dew_01_0031__p1572674715720"></p>
|
|
<div class="note" id="dew_01_0031__note14588256893"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dew_01_0031__ul1558820561490"><li id="dew_01_0031__li85881561997">A key will not be deleted until its scheduled deletion period expires. You can set the period to a value within the range 7 to 1096 days. Before the specified deletion date, you can cancel the deletion if you want to use the CMK.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</p></li><li id="dew_01_0031__li12531352191011"><span>Enter <strong id="dew_01_0031__b18934226185415">DELETE</strong> in the confirmation dialog box and click <strong id="dew_01_0031__b9934142625420">OK</strong>.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dew_01_0028.html">Managing CMKs</a></div>
|
|
</div>
|
|
</div>
|
|
|