删除密钥材料

<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>返回码,成功返回&quot;SUCCESS&quot;</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请求示例: &amp;keyId=&lt;cmkid&gt; &amp;&lt;公共请求参数&gt;</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>&nbsp;</p>
以上内容是否解决了您的问题?
请补全提交信息!
联系我们

电话咨询

400-151-8800

邮件咨询

fincloud@ocft.com

在线客服

工单支持

解决云产品相关技术问题