doc-exports/docs/kms/api-ref/kms_02_0022.html
Li, Qiao dfe65b9551 KMS API 20230817 version.
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
Co-authored-by: Li, Qiao <qiaoli@huawei.com>
Co-committed-by: Li, Qiao <qiaoli@huawei.com>
2024-04-02 13:42:22 +00:00

208 lines
20 KiB
HTML

<a name="kms_02_0022"></a><a name="kms_02_0022"></a>
<h1 class="topictitle1">Encrypting a DEK</h1>
<div id="body1474684560502"><div class="section" id="kms_02_0022__en-us_topic_0112992344_s1731a14fb0144c79bf0fa90c694f34f7"><h4 class="sectiontitle">Function</h4><p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0020091565_p23115188">This API enables you to encrypt a DEK using a specified CMK.</p>
<div class="note" id="kms_02_0022__en-us_topic_0112992344_note1085171894917"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="kms_02_0022__en-us_topic_0112992344_p885118154917">By default, the performance threshold for encrypting DEKs is 1000 TPS per customer. To apply for higher performance, submit a service ticket.</p>
</div></div>
</div>
<div class="section" id="kms_02_0022__en-us_topic_0112992344_se70c3e5518a04f60b06032524dddfef4"><h4 class="sectiontitle">URI</h4><ul id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0020091565_ul60390938"><li id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0020091565_li6647531">URI format<p id="kms_02_0022__en-us_topic_0112992344_p138073181080"><a name="kms_02_0022__en-us_topic_0112992344_en-us_topic_0020091565_li6647531"></a><a name="en-us_topic_0112992344_en-us_topic_0020091565_li6647531"></a>POST /v1.0/{project_id}/kms/encrypt-datakey</p>
</li><li id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0020091565_li14211994">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0022__en-us_topic_0112992344_t982da1e0196d4ec1a28d1fbff2cc8191" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="kms_02_0022__en-us_topic_0112992344_r6e963322c1e740d181726d2f0e91df5a"><th align="left" class="cellrowborder" valign="top" width="22.74%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="kms_02_0022__en-us_topic_0112992344_a3b5bbe5a7f644fd3a74cecbfb3f7ed60"><strong id="kms_02_0022__en-us_topic_0112992344_b842352706184616">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.119999999999997%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="kms_02_0022__en-us_topic_0112992344_ad98d2f62bd064b4e96ea922645197c24"><strong id="kms_02_0022__en-us_topic_0112992344_b842352706184620">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.56%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="kms_02_0022__en-us_topic_0112992344_a3becf0b3aec9468984c2efc8d5abbea5">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="31.580000000000002%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="kms_02_0022__en-us_topic_0112992344_a6bb6f1fe56a2454982832e8d56d354d8">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="kms_02_0022__en-us_topic_0112992344_r69bf37b65d3f446eab7b3f4d1b2fcec0"><td class="cellrowborder" valign="top" width="22.74%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_ae42d73592f58424ea93a11e52d2478dd">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_a56440c0f0ae34ba3b8033d1247673984">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="22.56%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_a1a4a71c11a4a45a58d0de2fbe009e9d9">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.580000000000002%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_a1314869d2dc147b38461e037d622f7b4">Project ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="kms_02_0022__en-us_topic_0112992344_seb7b7901701247fab30a59b76f1c7f93"><h4 class="sectiontitle">Requests</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0022__en-us_topic_0112992344_table46221022101230" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="kms_02_0022__en-us_topic_0112992344_row9315574101230"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.2.5.1.1"><p id="kms_02_0022__en-us_topic_0112992344_p16364058101230"><strong id="kms_02_0022__en-us_topic_0112992344_b312971662">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.2.5.1.2"><p id="kms_02_0022__en-us_topic_0112992344_p57514295101230"><strong id="kms_02_0022__en-us_topic_0112992344_b842352706184654">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.2.2.5.1.3"><p id="kms_02_0022__en-us_topic_0112992344_p50420322101230"><strong id="kms_02_0022__en-us_topic_0112992344_b842352706184650">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.2.5.1.4"><p id="kms_02_0022__en-us_topic_0112992344_p28146304101230">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="kms_02_0022__en-us_topic_0112992344_row44009584101643"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p30581115113751">key_id</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p54306670113751">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p61151280113751">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p15086246172845">36-byte ID of a CMK that matches the regular expression <span class="parmvalue" id="kms_02_0022__en-us_topic_0112992344_parmvalue80435593163333"><b>^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$</b></span></p>
<p id="kms_02_0022__en-us_topic_0112992344_p36764124113751">Example: 0d0466b0-e727-4d9c-b35d-f84bb474a37f</p>
</td>
</tr>
<tr id="kms_02_0022__en-us_topic_0112992344_row6126595713547"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p6359549113547">encryption_context</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p3421543413547">No</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p5096118613547">Object</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p299262517255">Key-value pairs with a maximum length of 8192 characters. This parameter is used to record resource context information, excluding sensitive information, to ensure data integrity.</p>
<p id="kms_02_0022__en-us_topic_0112992344_p87033116108">If this parameter is specified during encryption, it is also required for decryption.</p>
<p id="kms_02_0022__en-us_topic_0112992344_p1998675413547">Example: {"<strong id="kms_02_0022__en-us_topic_0112992344_b07991322181213">Key1</strong>":"<strong id="kms_02_0022__en-us_topic_0112992344_b499914231121">Value1</strong>","<strong id="kms_02_0022__en-us_topic_0112992344_b82181925151219">Key2</strong>":"<strong id="kms_02_0022__en-us_topic_0112992344_b12582162615120">Value2</strong>"}</p>
</td>
</tr>
<tr id="kms_02_0022__en-us_topic_0112992344_row57603225101653"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p40816810113819">plain_text</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p34729111113819">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p17827348113819">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p61594586113819">Hexadecimal character string concatenated from plaintext of a DEK and the plaintext digest (32-byte character string generated using SHA256)</p>
<p id="kms_02_0022__en-us_topic_0112992344_p15159639205813">For details, see <a href="#kms_02_0022__en-us_topic_0112992344_section144011443913">Examples</a>.</p>
</td>
</tr>
<tr id="kms_02_0022__en-us_topic_0112992344_row2638193101722"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p63747682113930">datakey_plain_length</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p26101679113930">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p63288584113930">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p7134121514415">Number of bytes of a DEK in plaintext. The value is <strong id="kms_02_0022__en-us_topic_0112992344_b14844103283612">64</strong>.</p>
</td>
</tr>
<tr id="kms_02_0022__en-us_topic_0112992344_row35142504101726"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p269135101746">sequence</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p20967256101746">No</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p21799971101746">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p1376019217293">36-byte serial number of a request message</p>
<p id="kms_02_0022__en-us_topic_0112992344_p20626198101746">Example: 919c82d4-8046-4722-9094-35c3c6524cff</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="kms_02_0022__en-us_topic_0112992344_sfadd53a5f4714e8f87811818d62d0296"><h4 class="sectiontitle">Responses</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0022__en-us_topic_0112992344_t98d238e10953421e84a073707024c329" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameters</caption><thead align="left"><tr id="kms_02_0022__en-us_topic_0112992344_r144a2c52c5054c6d9243eb2ef3875a21"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.2.5.1.1"><p id="kms_02_0022__en-us_topic_0112992344_a9156e0b03f054d4e8547e0787f88a51b"><strong id="kms_02_0022__en-us_topic_0112992344_b182602349">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.4.2.2.5.1.2"><p id="kms_02_0022__en-us_topic_0112992344_a1851157c81e14d7f82db752a5737195a"><strong id="kms_02_0022__en-us_topic_0112992344_b842352706184736">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.2.5.1.3"><p id="kms_02_0022__en-us_topic_0112992344_a39360acf5daf4c01a1ebddeff5d68a1c"><strong id="kms_02_0022__en-us_topic_0112992344_b842352706184730">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.5.1.4"><p id="kms_02_0022__en-us_topic_0112992344_a0097000016b14857972b7929bcaaa038">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="kms_02_0022__en-us_topic_0112992344_r3c4af7b36e9240d197ab56255e37b83c"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p43705601102713">key_id</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p63384753102713">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p50492797102713">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p33891398102713">CMK ID</p>
</td>
</tr>
<tr id="kms_02_0022__en-us_topic_0112992344_rf212a916c502452a8e151eba2f118272"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p39084276114251">cipher_text</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p8966119114251">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p11709755114251">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p55167072114251">The ciphertext of a DEK is expressed in hexadecimal format, and two characters indicate one byte.</p>
</td>
</tr>
<tr id="kms_02_0022__en-us_topic_0112992344_row2815702411432"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_p52145403114310">datakey_length</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.2.5.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_p5005242114310">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_p63028134114310">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.5.1.4 "><p id="kms_02_0022__en-us_topic_0112992344_p2771421114310">Number of bytes in the length of a DEK</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="kms_02_0022__en-us_topic_0112992344_section144011443913"><a name="kms_02_0022__en-us_topic_0112992344_section144011443913"></a><a name="en-us_topic_0112992344_section144011443913"></a><h4 class="sectiontitle">Examples</h4><p id="kms_02_0022__en-us_topic_0112992344_p52701613659">In the following example, the 512-bit plaintext DEK (<strong id="kms_02_0022__en-us_topic_0112992344_b171839144596">7549d9aea901767bf3c0b3e14b10722eaf6f59053bbd82045d04e075e809a0fe6ccab48f8e5efe74e4b18ff0512525e527b10331100f357bf42125d8d5ced94f</strong>) generated from the customer master key whose key ID is <strong id="kms_02_0022__en-us_topic_0112992344_b33381424195612">0d0466b0-e727-4d9c-b35d-f84bb474a37f</strong> can be obtained through the API in <a href="kms_02_0020.html#kms_02_0020">Creating a DEK</a>.</p>
<p id="kms_02_0022__en-us_topic_0112992344_p176713285711">The digest of the plaintext DEK is <span class="parmvalue" id="kms_02_0022__en-us_topic_0112992344_parmvalue558111415813"><b>fbc8ac72b0785ca7fe33eb6776ce3990b11e32b299d9c0a9ee0305fb9540f797</b></span>. The method for calculating the digest is as follows:</p>
<pre class="screen" id="kms_02_0022__en-us_topic_0112992344_screen1893351420918">//Digest calculation
public static byte[] sha256(byte[] cmkData) {
byte[] digest = new byte[0];
try {
MessageDigest md = MessageDigest.<em id="kms_02_0022__en-us_topic_0112992344_i981114541293">getInstance</em>("SHA-256");
md.update(cmkData);
digest = md.digest();
} catch (Exception e) {
System.out.println("calculate digest failure, exception is " + e.toString());
}
return digest;
}
//Convert the obtained digest into a hexadecimal character string.
public static String bytesToHexString(byte[] digest) {
...
}</pre>
</div>
<p id="kms_02_0022__en-us_topic_0112992344_p93956341515">The value of <strong id="kms_02_0022__en-us_topic_0112992344_b15947142151518">plain_text</strong> (a hexadecimal character string concatenated from plaintext of the DEK and the plaintext digest) is <strong id="kms_02_0022__en-us_topic_0112992344_b62761955800">7549d9aea901767bf3c0b3e14b10722eaf6f59053bbd82045d04e075e809a0fe6ccab48f8e5efe74e4b18ff0512525e527b10331100f357bf42125d8d5ced94f fbc8ac72b0785ca7fe33eb6776ce3990b11e32b299d9c0a9ee0305fb9540f797</strong>.</p>
<ul id="kms_02_0022__en-us_topic_0112992344_ul1846413143914"><li id="kms_02_0022__en-us_topic_0112992344_li17743414394">Example request<pre class="screen" id="kms_02_0022__en-us_topic_0112992344_screen1574104153918">{
"key_id": "0d0466b0-e727-4d9c-b35d-f84bb474a37f",
"plain_text": "7549d9aea901767bf3c0b3e14b10722eaf6f59053bbd82045d04e075e809a0fe6ccab48f8e5efe74e4b18ff0512525e527b10331100f357bf42125d8d5ced94f fbc8ac72b0785ca7fe33eb6776ce3990b11e32b299d9c0a9ee0305fb9540f797",
"datakey_plain_length": "64"
}</pre>
</li><li id="kms_02_0022__en-us_topic_0112992344_li137512453918">Example response<pre class="screen" id="kms_02_0022__en-us_topic_0112992344_screen57411453917">{
"key_id": "0d0466b0-e727-4d9c-b35d-f84bb474a37f",
"cipher_text": "020098005273E14E6E8E95F5463BECDC27E80AF820B9FC086CB47861899149F67CF07DAFF2810B7D27BDF19AB7632488E0926A48DB2FC85BEA905119411B46244C5E6B8036C60A0B0B4842FFE6994518E89C19B1C1D688D9043BCD6053EA7BA0652642CE59F2543C80669139F4F71ABB9BD9A24330643034363662302D653732372D346439632D623335642D66383462623437346133376600000000D34457984F9730D57F228C210FD22CA6017913964B21D4ECE45D81092BB9112E",
"datakey_length": "64"
}</pre>
<p id="kms_02_0022__en-us_topic_0112992344_p14758453910">or</p>
<pre class="screen" id="kms_02_0022__en-us_topic_0112992344_screen147534183912">{
"error": {
"error_code": "KMS.XXXX",
"error_msg": "XXX"
}
}</pre>
</li></ul>
<div class="section" id="kms_02_0022__en-us_topic_0112992344_section3454223421"><h4 class="sectiontitle">Status Codes</h4><div class="p" id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_p17772351"><a href="#kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_table20596071">Table 4</a> lists the normal status code returned by the response.
<div class="tablenoborder"><a name="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_table20596071"></a><a name="en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_table20596071"></a><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_table20596071" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Status codes</caption><thead align="left"><tr id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_row9746163"><th align="left" class="cellrowborder" valign="top" width="16.16%" id="mcps1.3.8.2.2.2.4.1.1"><p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_p57545694203043">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.28%" id="mcps1.3.8.2.2.2.4.1.2"><p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_p4531342288">Status</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.8.2.2.2.4.1.3"><p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_p30689603203043">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_row48621261"><td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.8.2.2.2.4.1.1 "><p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_en-us_topic_0079615001_p46008046">200</p>
</td>
<td class="cellrowborder" valign="top" width="28.28%" headers="mcps1.3.8.2.2.2.4.1.2 "><p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_p7538425819">OK</p>
</td>
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.8.2.2.2.4.1.3 "><p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_p1885682315512">Request processed successfully.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p id="kms_02_0022__en-us_topic_0112992344_en-us_topic_0112992294_p5626181018551">Exception status code. For details, see <a href="kms_02_0301.html#kms_02_0301">Status Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="kms_02_0011.html">CMK Management</a></div>
</div>
</div>