forked from docs/doc-exports
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: qiaoli <qiaoli@huawei.com> Co-committed-by: qiaoli <qiaoli@huawei.com>
211 lines
21 KiB
HTML
211 lines
21 KiB
HTML
<a name="kms_02_0035"></a><a name="kms_02_0035"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining CMK Import Parameters</h1>
|
|
<div id="body1501490663475"><div class="section" id="kms_02_0035__en-us_topic_0112992295_section2809137816511"><h4 class="sectiontitle">Function</h4><p id="kms_02_0035__en-us_topic_0112992295_p4072185016521">This API enables you to obtain necessary parameters to import a CMK, including a CMK import token and a CMK encryption public key.</p>
|
|
<div class="note" id="kms_02_0035__en-us_topic_0112992295_note17475151510256"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="kms_02_0035__en-us_topic_0112992295_p1147621514254">The returned public key type is RSA_2048 by default.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="kms_02_0035__en-us_topic_0112992295_section3802320916511"><h4 class="sectiontitle">URI</h4><ul id="kms_02_0035__en-us_topic_0112992295_ul5998110316511"><li id="kms_02_0035__en-us_topic_0112992295_li295902016511">URI format<p id="kms_02_0035__en-us_topic_0112992295_p58775332165237"><a name="kms_02_0035__en-us_topic_0112992295_li295902016511"></a><a name="en-us_topic_0112992295_li295902016511"></a>POST /v1.0/{project_id}/kms/get-parameters-for-import</p>
|
|
</li><li id="kms_02_0035__en-us_topic_0112992295_li3835404516511">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0035__en-us_topic_0112992295_table964209216511" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter</caption><thead align="left"><tr id="kms_02_0035__en-us_topic_0112992295_row1607974516511"><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_0035__en-us_topic_0112992295_p13230838154934">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.919999999999998%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="kms_02_0035__en-us_topic_0112992295_p65064970154934">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.55%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="kms_02_0035__en-us_topic_0112992295_p35771181154934">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.79%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="kms_02_0035__en-us_topic_0112992295_p11784586154934">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0035__en-us_topic_0112992295_row2971415116511"><td class="cellrowborder" valign="top" width="22.74%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p5803601316511">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.919999999999998%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p329664916511">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.55%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p4386100291125">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p2026050816511">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="kms_02_0035__en-us_topic_0112992295_section4812685216511"><h4 class="sectiontitle">Request Message</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_row209291944115219"><th align="left" class="cellrowborder" valign="top" width="20.080000000000002%" id="mcps1.3.3.2.2.5.1.1"><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p17930194414521">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.919999999999998%" id="mcps1.3.3.2.2.5.1.2"><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p15930244195213">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p39301444155210">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p109301444105220">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_row1292934416529"><td class="cellrowborder" valign="top" width="20.080000000000002%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p109311444155211">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.919999999999998%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p9931104412528">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p193104485212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0000001176937539_p1093134420527">User token. It can be obtained by calling an IAM API. The value of <strong id="kms_02_0035__en-us_topic_0112992295_b846528843105149">X-Subject-Token</strong> in the response header is the user token.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0035__en-us_topic_0112992295_row17121816165912"><td class="cellrowborder" valign="top" width="20.080000000000002%" headers="mcps1.3.3.2.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p1279425073711">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.919999999999998%" headers="mcps1.3.3.2.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p2794195010376">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p9794195015373">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p5617163694719">application/json</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0035__en-us_topic_0112992295_table1307199216511" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request parameters</caption><thead align="left"><tr id="kms_02_0035__en-us_topic_0112992295_row2216064416511"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.3.2.5.1.1"><p id="kms_02_0035__en-us_topic_0112992295_p14691165413488">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.3.2.5.1.2"><p id="kms_02_0035__en-us_topic_0112992295_p969155484813">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.3.3.2.5.1.3"><p id="kms_02_0035__en-us_topic_0112992295_p46911854104819">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.3.2.5.1.4"><p id="kms_02_0035__en-us_topic_0112992295_p10691854114810">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0035__en-us_topic_0112992295_row990996316511"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.3.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p6450954916511">key_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.3.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p5865974316511">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.3.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p194651658369">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p21929114422">36-byte key ID that matches the regular expression <span class="parmvalue" id="kms_02_0035__en-us_topic_0112992295_parmvalue10691070804327"><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_0035__en-us_topic_0112992295_p11134104114149">For example, <strong id="kms_02_0035__en-us_topic_0112992295_b8802407364613">0d0466b0-e727-4d9c-b35d-f84bb474a37f</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0035__en-us_topic_0112992295_row2869160916511"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.3.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p1322852165315">wrapping_algorithm</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.3.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p2539755516511">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.3.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p48301302716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.5.1.4 "><div class="p" id="kms_02_0035__en-us_topic_0112992295_p5501165794712">Cryptographic algorithm for CMK material. Possible values are as follows:<ul id="kms_02_0035__en-us_topic_0112992295_ul2802984616441"><li id="kms_02_0035__en-us_topic_0112992295_li17794932202025"><strong id="kms_02_0035__en-us_topic_0112992295_b85881113184110">RSAES_PKCS1_V1_5</strong></li><li id="kms_02_0035__en-us_topic_0112992295_li249656894719"><strong id="kms_02_0035__en-us_topic_0112992295_b1063761512412">RSAES_OAEP_SHA_1</strong></li><li id="kms_02_0035__en-us_topic_0112992295_li1096334994738"><strong id="kms_02_0035__en-us_topic_0112992295_b789101744113">RSAES_OAEP_SHA_256</strong></li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0035__en-us_topic_0112992295_row4675342116511"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.3.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p2893076916511">sequence</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.3.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p3090833716511">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.3.3.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p107661929711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p19620161172915">A 36-byte serial number of a request message.</p>
|
|
<p id="kms_02_0035__en-us_topic_0112992295_p2054735816511">For example, <strong id="kms_02_0035__en-us_topic_0112992295_b4747403174258">919c82d4-8046-4722-9094-35c3c6524cff</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="kms_02_0035__en-us_topic_0112992295_section5661868116511"><h4 class="sectiontitle">Response Message</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0035__en-us_topic_0112992295_table2760760616511" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameters</caption><thead align="left"><tr id="kms_02_0035__en-us_topic_0112992295_row4144383516511"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.2.5.1.1"><p id="kms_02_0035__en-us_topic_0112992295_p654882104911">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.4.2.2.5.1.2"><p id="kms_02_0035__en-us_topic_0112992295_p185481428495">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.2.5.1.3"><p id="kms_02_0035__en-us_topic_0112992295_p15481827491">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.5.1.4"><p id="kms_02_0035__en-us_topic_0112992295_p154818217495">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0035__en-us_topic_0112992295_row2850406516511"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p2712791116511">key_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p1352290616511">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p63871661575">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p2161362216511">ID of a CMK in Base64 format</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0035__en-us_topic_0112992295_row108966291709"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p4333407017714">import_token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p502689121708">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p539111618716">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p6372516917828">CMK import token</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0035__en-us_topic_0112992295_row691841617013"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p1032497917951">expiration_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p3247317617012">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p33951561070">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p5836292317847">Expiration time of the import parameter. The value is a timestamp expressed in the number of seconds since 00:00:00 UTC on January 1, 1970.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="kms_02_0035__en-us_topic_0112992295_row5939348917016"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_p455624517105">public_key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.4.2.2.5.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_p2303816517015">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.2.5.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_p2399364714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.5.1.4 "><p id="kms_02_0035__en-us_topic_0112992295_p579022301793">Public key (in Base64 format) used to encrypt CMK material</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="kms_02_0035__en-us_topic_0112992295_section11823115617213"><h4 class="sectiontitle">Example</h4><p id="kms_02_0035__en-us_topic_0112992295_p422561613226">The following example describes how to obtain the imported parameter of a CMK (ID: <span class="parmvalue" id="kms_02_0035__en-us_topic_0112992295_parmvalue725239968195423"><b>bb6a3d22-dc93-47ac-b5bd-88df7ad35f1e</b></span>; algorithm: <span class="parmvalue" id="kms_02_0035__en-us_topic_0112992295_parmvalue495161817195455"><b>RSAES_OAEP_SHA_1</b></span>).</p>
|
|
<ul id="kms_02_0035__en-us_topic_0112992295_ul685317563210"><li id="kms_02_0035__en-us_topic_0112992295_li0853135652112">Example request<pre class="screen" id="kms_02_0035__en-us_topic_0112992295_screen13853195642115">{
|
|
"key_id": "bb6a3d22-dc93-47ac-b5bd-88df7ad35f1e",
|
|
"wrapping_algorithm":"RSAES_OAEP_SHA_1"
|
|
}</pre>
|
|
</li><li id="kms_02_0035__en-us_topic_0112992295_li18531056182114">Example response<pre class="screen" id="kms_02_0035__en-us_topic_0112992295_screen48531856192114">{
|
|
"key_id": "bb6a3d22-dc93-47ac-b5bd-88df7ad35f1e",
|
|
"import_token":"AACIBjY2ZTQxYjBmLTY3ZWItNDU4Ny04OTIxLWVhZTVhZjg5NDZmYQAAuihvPN7Hly3uhp7cWw4cfuwDIem9mGwaIl7/HTx10+8ENsRR4FB7DCR+zG1s7UIZMAZRLx7LD1lkXY+rfN5ibDOOHZkoIiVSh+9u7xtC5m/mNpIFeyqumxHei2I8CNdsNuJtjLV5bDU3tQrIkj72HCWpC0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mDt2I6oVSPckk9y3JiaGjXKYlepawob9b61IRR97Bcr4Sf2p3J6J3gpiYGp1Ai3495rYF+FSZAxW+VDOzbN3vig6SVxcP1PXtaKzQbtNfnlIh+rvSMJpVI3MFHh5lWjEn8L/XpprLy1FqHSSvgB99qwiPw1ZGTL5XGSrIpCV3/ah8u+5VGoIUJZTtiZk6OQDkFH9fxwIahYvLI8/yjrWFLtJuApr7aIrhRN0iDBINxddNh8M0A9sIFoS3D5RNKITjIKIMl/GVz+mHaPjK+91M/b7JrNvinFCMQDGrb/1qoGQIDAQAB"
|
|
}</pre>
|
|
<p id="kms_02_0035__en-us_topic_0112992295_p1385315563218">or</p>
|
|
<pre class="screen" id="kms_02_0035__en-us_topic_0112992295_screen16853125622114">{
|
|
"error": {
|
|
"error_code": "KMS.XXXX",
|
|
"error_msg": "XXX"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="kms_02_0035__en-us_topic_0112992295_section655115613254"><h4 class="sectiontitle">Status Codes</h4><div class="p" id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_p17772351"><a href="#kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_table20596071">Table 5</a> lists the normal status code returned by the response.
|
|
<div class="tablenoborder"><a name="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_table20596071"></a><a name="en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_table20596071"></a><table cellpadding="4" cellspacing="0" summary="" id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_table20596071" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Status codes</caption><thead align="left"><tr id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_row9746163"><th align="left" class="cellrowborder" valign="top" width="16.16%" id="mcps1.3.6.2.2.2.4.1.1"><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_p57545694203043">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.28%" id="mcps1.3.6.2.2.2.4.1.2"><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_p4531342288">Status</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="55.559999999999995%" id="mcps1.3.6.2.2.2.4.1.3"><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_p30689603203043">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_row48621261"><td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.6.2.2.2.4.1.1 "><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_en-us_topic_0079615001_p46008046">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.28%" headers="mcps1.3.6.2.2.2.4.1.2 "><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_p7538425819">OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="55.559999999999995%" headers="mcps1.3.6.2.2.2.4.1.3 "><p id="kms_02_0035__en-us_topic_0112992295_en-us_topic_0112992294_p1885682315512">Request processed successfully.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<p id="kms_02_0035__en-us_topic_0112992295_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>
|
|
|