删除密钥材料

<p class="shortdesc"></p> <section class="section" id="DELETEKEYMATERIAL__section_djw_g2j_mlb"><h2 class="doc-tairway">删除密钥材料:DeleteKeyMaterial</h2> <p class="p"><strong class="ph b">描述</strong></p> <p class="p">删除已导入的密钥材料。</p> <div class="note important note_important"><span class="note__title">重要:</span> <ol class="ol" id="DELETEKEYMATERIAL__ol_wjc_ldj_mlb"> <li class="li">只有外部密钥的密钥材料能进行手工删除;</li> <li class="li">该操作只会删除密钥材料,不会删除其对应的主密钥(CMK);</li> <li class="li">如果CMK处于待删除状态,删除密钥材料不会改变密钥状态和预计删除时间;如果密钥不是处于待删除状态,删除密钥材料会使得密钥状态变更为待导入;</li> <li class="li">删除密钥材料后,可以重新导入密钥材料,但必须与之前的密钥材料相同;</li> </ol> </div> <p class="p"><strong class="ph b">请求参数:</strong></p> <table class="table" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb"><caption></caption><colgroup><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__1"> <p class="p">keyId</p> </th> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__2"> <p class="p">String</p> </th> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__3"> <p class="p">是</p> </th> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__4"> <p class="p">CMK全局唯一标识符</p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__1 "> <p class="p">名称</p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__2 "> <p class="p">类型</p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__3 "> <p class="p">是否必须</p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__4 "> <p class="p">描述</p> </td> </tr> </tbody></table> <p class="p"><strong class="ph b">返回参数</strong></p> <table class="table" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__1">名称</th> <th class="entry" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__2">类型</th> <th class="entry" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__3">描述</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__1 "> <p class="p">code</p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__2 "> <p class="p">String</p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__3 "> <p class="p">返回码,成功返回"SUCCESS"</p> </td> </tr> <tr class="row"> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__1 "> <p class="p">requestId</p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__2 "> <p class="p">String</p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__3 "> <p class="p">当前请求Id</p> </td> </tr> </tbody></table> <p class="p"><strong class="ph b">请求示例</strong></p> <pre class="pre codeblock"><code>https://kms-cn-shanghai.yun.pingan.com/?action=DeleteKeyMaterial &keyId=<cmkid> &<公共请求参数></code></pre> <p class="p"><strong class="ph b">返回示例</strong></p> <pre class="pre codeblock"><code>{ "code": "SUCCESS", "requestId": "cbef6f5d-39f6-416b-918e-0e86d5ff1f9e" }</code></pre> </section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询 - 7x24 小时

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

7x24 小时,急速解答

工单支持

解决云产品相关技术问题