禁用密钥
<p><span style="font-size:18px"><strong>禁用密钥:DisableKey</strong></span></p>
<p><span style="font-size:14px"><strong>描述:</strong></span></p>
<p>将一个指定的主用户密钥(CMK)标记为禁用状态。处于禁用状态的CMK无法用于加、解密及产生数据密钥操作。</p>
<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; width:59px"><strong>类型</strong></td>
<td style="background-color:#ededed; width:79px"><strong>是否必需</strong></td>
<td style="background-color:#ededed; width:153px"><strong>描述</strong></td>
</tr>
<tr>
<td>keyId</td>
<td style="width:59px">String</td>
<td style="width:79px">是</td>
<td style="width:153px">密钥的全局唯一标识符</td>
</tr>
</tbody>
</table>
<p><span style="font-size:14px"><strong>返回参数:</strong></span></p>
<table border="1" cellpadding="1" cellspacing="1" style="width:429px">
<tbody>
<tr>
<td style="background-color:#ededed">名称</td>
<td style="background-color:#ededed; width:76px">类型</td>
<td style="background-color:#ededed; width:278px">描述</td>
</tr>
<tr>
<td>code</td>
<td style="width:76px">String</td>
<td style="width:278px">返回码,成功返回"SUCCESS"</td>
</tr>
<tr>
<td>requestId</td>
<td style="width:76px">String</td>
<td style="width:278px">当前请求Id</td>
</tr>
</tbody>
</table>
<p><span style="font-size:14px"><strong>请求示例:</strong></span></p>
<pre>
<code>https:// kms-cn-shanghai.ocftcloud.com/?action=DisableKey
&keyId=<cmkid>
&<公共请求参数></code></pre>
<p><span style="font-size:14px"><strong>返回示例:</strong></span></p>
<pre>
<code>{
"code": "SUCCESS",
"requestId": "8a17ac06-0f67-4295-bd9d-f65f22df585c"
}</code></pre>
<p> </p>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!