删除密钥材料
<p><span style="font-size:14px"><strong>描述:</strong></span></p>
<p>删除已导入的密钥材料。</p>
<p><img src="https://obs-cn-shanghai.ocftcloud.com/pacloud/20191608102448-1860ecad9fc8.png" style="height:32px; margin:0px; width:65px" /></p>
<ol>
<li>只有外部密钥的密钥材料能进行手工删除;</li>
<li>该操作只会删除密钥材料,不会删除其对应的主密钥(CMK);</li>
<li>如果CMK处于待删除状态,删除密钥材料不会改变密钥状态和预计删除时间;如果密钥不是处于待删除状态,删除密钥材料会使得密钥状态变更为待导入;</li>
<li>删除密钥材料后,可以重新导入密钥材料,但必须与之前的密钥材料相同;</li>
</ol>
<p><span style="font-size:14px"><strong>请求参数:</strong></span></p>
<table border="1" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="background-color:#ededed"><strong>名称</strong></td>
<td style="background-color:#ededed"><strong>类型</strong></td>
<td style="background-color:#ededed"><strong>是否必须</strong></td>
<td style="background-color:#ededed"><strong>描述</strong></td>
</tr>
<tr>
<td>keyId</td>
<td>String</td>
<td>是</td>
<td>CMK全局唯一标识符</td>
</tr>
</tbody>
</table>
<p><span style="font-size:14px"><strong>返回参数:</strong></span></p>
<table border="1" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="background-color:#ededed"><strong>名称</strong></td>
<td style="background-color:#ededed"><strong>类型</strong></td>
<td style="background-color:#ededed"><strong>描述</strong></td>
</tr>
<tr>
<td>code</td>
<td>String</td>
<td>返回码,成功返回"SUCCESS"</td>
</tr>
<tr>
<td>requestId</td>
<td>String</td>
<td>当前请求Id</td>
</tr>
</tbody>
</table>
<p><span style="font-size:14px"><strong>请求示例:</strong></span></p>
<pre>
<code>https://kms-cn-shanghai.ocftcloud.com/?action=DeleteKeyMaterial请求示例:
&keyId=<cmkid>
&<公共请求参数></code></pre>
<p><img src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==" /><span style="background-color:rgba(220,220,220,0.5)"><img src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==" style="height:15px; width:15px" /></span></p>
<p><span style="font-size:14px"><strong>返回示例:</strong></span></p>
<pre>
<code>{
"code": "SUCCESS",
"requestId": "cbef6f5d-39f6-416b-918e-0e86d5ff1f9e"
}</code></pre>
<p><img src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==" /><span style="background-color:rgba(220,220,220,0.5)"><img src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==" style="height:15px; width:15px" /></span></p>
<p> </p>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!