禁用密钥

<p class="shortdesc"></p> <section class="section" id="DisableKey__section_t5g_wy3_mlb"><h2 class="doc-tairway">禁用密钥:DisableKey</h2> <p class="p"><strong class="ph b">描述</strong></p> <p class="p">将一个指定的主用户密钥(CMK)标记为禁用状态。处于禁用状态的CMK无法用于加、解密及产生数据密钥操作。</p> <p class="p"><strong class="ph b">请求参数</strong></p> <table class="table" id="DisableKey__table_d4v_wy3_mlb"><caption></caption><colgroup><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="DisableKey__table_d4v_wy3_mlb__entry__1"> <p class="p">名称</p> </th> <th class="entry" id="DisableKey__table_d4v_wy3_mlb__entry__2"> <p class="p">类型</p> </th> <th class="entry" id="DisableKey__table_d4v_wy3_mlb__entry__3"> <p class="p">是否必需</p> </th> <th class="entry" id="DisableKey__table_d4v_wy3_mlb__entry__4"> <p class="p">描述</p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="DisableKey__table_d4v_wy3_mlb__entry__1 "> <p class="p">keyId</p> </td> <td class="entry" headers="DisableKey__table_d4v_wy3_mlb__entry__2 "> <p class="p">String</p> </td> <td class="entry" headers="DisableKey__table_d4v_wy3_mlb__entry__3 "> <p class="p">是</p> </td> <td class="entry" headers="DisableKey__table_d4v_wy3_mlb__entry__4 "> <p class="p">密钥的全局唯一标识符</p> </td> </tr> </tbody></table> <p class="p"><strong class="ph b">返回参数</strong></p> <table class="table" id="DisableKey__table_e4v_wy3_mlb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="DisableKey__table_e4v_wy3_mlb__entry__1"> <p class="p">名称</p> </th> <th class="entry" id="DisableKey__table_e4v_wy3_mlb__entry__2"> <p class="p">类型</p> </th> <th class="entry" id="DisableKey__table_e4v_wy3_mlb__entry__3"> <p class="p">描述</p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="DisableKey__table_e4v_wy3_mlb__entry__1 "> <p class="p">code</p> </td> <td class="entry" headers="DisableKey__table_e4v_wy3_mlb__entry__2 "> <p class="p">String</p> </td> <td class="entry" headers="DisableKey__table_e4v_wy3_mlb__entry__3 "> <p class="p">返回码,成功返回"SUCCESS"</p> </td> </tr> <tr class="row"> <td class="entry" headers="DisableKey__table_e4v_wy3_mlb__entry__1 "> <p class="p">requestId</p> </td> <td class="entry" headers="DisableKey__table_e4v_wy3_mlb__entry__2 "> <p class="p">String</p> </td> <td class="entry" headers="DisableKey__table_e4v_wy3_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=DisableKey &keyId=<cmkid> &<公共请求参数></code></pre> <p class="p"><strong class="ph b">返回示例</strong></p> <pre class="pre codeblock"><code>{ "code": "SUCCESS", "requestId": "8a17ac06-0f67-4295-bd9d-f65f22df585c" }</code></pre> </section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

工单支持

解决云产品相关技术问题