forked from docs/doc-exports
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
137 lines
13 KiB
HTML
137 lines
13 KiB
HTML
<a name="rds_05_0021"></a><a name="rds_05_0021"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining the SSL Certificate Download Address</h1>
|
|
<div id="body0000002507017513"><div class="section" id="rds_05_0021__en-us_topic_0238844974_section10502114133410"><h4 class="sectiontitle">Function</h4><p id="rds_05_0021__p182345246356">This API is used to obtain the address for downloading the SSL certificate of a DB instance.</p>
|
|
<ul id="rds_05_0021__en-us_topic_0238844974_ul12259155218373"><li id="rds_05_0021__en-us_topic_0238844974_en-us_topic_0110967248_li836513175363">Before calling an API, you need to understand the API in <a href="rds_03_0001.html">Authentication</a>.</li><li id="rds_05_0021__en-us_topic_0238844974_en-us_topic_0110967248_li1991981933613">Before calling this API, obtain the required <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">region and endpoint</a>.</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0021__en-us_topic_0238844974_section28961517113719"><h4 class="sectiontitle">URI</h4><ul id="rds_05_0021__en-us_topic_0238844974_ul53354139141429"><li id="rds_05_0021__en-us_topic_0238844974_li1270098217262">URI format<p id="rds_05_0021__en-us_topic_0238844974_p30251930154721"><a name="rds_05_0021__en-us_topic_0238844974_li1270098217262"></a><a name="en-us_topic_0238844974_li1270098217262"></a>GET https://{Endpoint}/v3/{<em id="rds_05_0021__en-us_topic_0238844974_i148911057155316">project_id</em>}/instances/{instance_id}/ssl-cert/download-link</p>
|
|
</li></ul>
|
|
<ul id="rds_05_0021__en-us_topic_0238844974_ul49831254144655"><li id="rds_05_0021__en-us_topic_0238844974_li15430535">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_05_0021__en-us_topic_0238844974_table4657088" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URL Parameters</caption><thead align="left"><tr id="rds_05_0021__en-us_topic_0238844974_row60083059"><th align="left" class="cellrowborder" valign="top" width="20.93%" id="mcps1.3.2.3.1.1.2.4.1.1"><p id="rds_05_0021__en-us_topic_0238844974_p34889605"><strong id="rds_05_0021__en-us_topic_0238844974_b112353209591">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.6%" id="mcps1.3.2.3.1.1.2.4.1.2"><p id="rds_05_0021__en-us_topic_0238844974_p7485743"><strong id="rds_05_0021__en-us_topic_0238844974_b495192015917">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="62.470000000000006%" id="mcps1.3.2.3.1.1.2.4.1.3"><p id="rds_05_0021__en-us_topic_0238844974_p2365466"><strong id="rds_05_0021__en-us_topic_0238844974_b8542182113593">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_05_0021__en-us_topic_0238844974_row57385070"><td class="cellrowborder" valign="top" width="20.93%" headers="mcps1.3.2.3.1.1.2.4.1.1 "><p id="rds_05_0021__en-us_topic_0238844974_p17679057">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.2.3.1.1.2.4.1.2 "><p id="rds_05_0021__en-us_topic_0238844974_p22717550">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.470000000000006%" headers="mcps1.3.2.3.1.1.2.4.1.3 "><p id="rds_05_0021__en-us_topic_0238844974_p28182251">Specifies the project ID of a tenant in a region.</p>
|
|
<p id="rds_05_0021__en-us_topic_0238844974_p14611855135510">For details about how to obtain the project ID, see <a href="rds_03_0002.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_05_0021__en-us_topic_0238844974_row2864326155157"><td class="cellrowborder" valign="top" width="20.93%" headers="mcps1.3.2.3.1.1.2.4.1.1 "><p id="rds_05_0021__en-us_topic_0238844974_p41557789155220">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.2.3.1.1.2.4.1.2 "><p id="rds_05_0021__en-us_topic_0238844974_p10737742155220">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.470000000000006%" headers="mcps1.3.2.3.1.1.2.4.1.3 "><p id="rds_05_0021__en-us_topic_0238844974_p64450739155220">Specifies the DB instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0021__en-us_topic_0238844974_section3074340117316"><h4 class="sectiontitle">Request</h4><ul id="rds_05_0021__en-us_topic_0238844974_ul5099287616954"><li id="rds_05_0021__en-us_topic_0238844974_li5628270116954">Parameter parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_05_0021__table12536623333" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="rds_05_0021__row153612211337"><th align="left" class="cellrowborder" valign="top" width="19.7%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="rds_05_0021__p95111733143318">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13.780000000000001%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="rds_05_0021__p13511123373311">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.959999999999999%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="rds_05_0021__p125111433133312">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.559999999999995%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="rds_05_0021__p551110331335">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_05_0021__row05378213331"><td class="cellrowborder" valign="top" width="19.7%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="rds_05_0021__p1163015550331">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13.780000000000001%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="rds_05_0021__p1963035563316">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.959999999999999%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="rds_05_0021__p1630105520331">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.559999999999995%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="rds_05_0021__p1086851153317">Specifies the user token.</p>
|
|
<p id="rds_05_0021__p1057635831">The user token is a response to the API used to <a href="https://docs.otc.t-systems.com/en-us/api/iam/en-us_topic_0057845583.html" target="_blank" rel="noopener noreferrer">obtain a user token</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="rds_05_0021__ul41741477385"><li id="rds_05_0021__li4411135064210">URI example<pre class="screen" id="rds_05_0021__screen5307143323116">GET https://rds.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/c90928717dc747e2a20099894a87c468in01/ssl-cert/download-link</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0021__en-us_topic_0000001474025574_section195612321339"><h4 class="sectiontitle">Response</h4><ul id="rds_05_0021__en-us_topic_0000001474025574_ul973516329319"><li id="rds_05_0021__en-us_topic_0000001474025574_li207354329313">Normal response
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rds_05_0021__en-us_topic_0000001474025574_table11574123212311" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="rds_05_0021__en-us_topic_0000001474025574_row11735173218312"><th align="left" class="cellrowborder" valign="top" width="24.240000000000002%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="rds_05_0021__en-us_topic_0000001474025574_p1773512321836"><strong id="rds_05_0021__b12315155512211">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.16%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="rds_05_0021__en-us_topic_0000001474025574_p97355321136"><strong id="rds_05_0021__b1151815514312">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="59.599999999999994%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="rds_05_0021__en-us_topic_0000001474025574_p1373510321134"><strong id="rds_05_0021__b399785212314">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_05_0021__en-us_topic_0000001474025574_row1473543216310"><td class="cellrowborder" valign="top" width="24.240000000000002%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="rds_05_0021__en-us_topic_0000001474025574_p1473519320317">cert_info_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="rds_05_0021__en-us_topic_0000001474025574_p177352322038">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.599999999999994%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="rds_05_0021__en-us_topic_0000001474025574_p67352321936">Certificate list. For details, see <a href="#rds_05_0021__en-us_topic_0000001474025574_table155872321234">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="rds_05_0021__en-us_topic_0000001474025574_table155872321234"></a><a name="en-us_topic_0000001474025574_table155872321234"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_05_0021__en-us_topic_0000001474025574_table155872321234" frame="border" border="1" rules="all"><caption><b>Table 4 </b>cert_info_list field data structure description</caption><thead align="left"><tr id="rds_05_0021__en-us_topic_0000001474025574_row773643217313"><th align="left" class="cellrowborder" valign="top" width="24.240000000000002%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="rds_05_0021__en-us_topic_0000001474025574_p773716322319"><strong id="rds_05_0021__b9477163119418">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.16%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="rds_05_0021__en-us_topic_0000001474025574_p773712321632"><strong id="rds_05_0021__b107391850140">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="59.599999999999994%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="rds_05_0021__en-us_topic_0000001474025574_p373717321836"><strong id="rds_05_0021__b1120617522049">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_05_0021__en-us_topic_0000001474025574_row187371732337"><td class="cellrowborder" valign="top" width="24.240000000000002%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="rds_05_0021__en-us_topic_0000001474025574_p11737113212316">download_link</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="rds_05_0021__en-us_topic_0000001474025574_p12737123214310">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.599999999999994%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="rds_05_0021__en-us_topic_0000001474025574_p197371032834">Download link.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_05_0021__en-us_topic_0000001474025574_row18737532131"><td class="cellrowborder" valign="top" width="24.240000000000002%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="rds_05_0021__en-us_topic_0000001474025574_p1873793210319">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="rds_05_0021__en-us_topic_0000001474025574_p2737532632">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.599999999999994%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="rds_05_0021__en-us_topic_0000001474025574_p16737932938">Certificate type. Enumerated values:</p>
|
|
<ul id="rds_05_0021__en-us_topic_0000001474025574_ul11497921141213"><li id="rds_05_0021__en-us_topic_0000001474025574_li449772112121"><strong id="rds_05_0021__b652216418716">international</strong></li><li id="rds_05_0021__en-us_topic_0000001474025574_li8498142115120"><strong id="rds_05_0021__b15221010772">national</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="rds_05_0021__en-us_topic_0000001474025574_li107372321833">Example normal response<pre class="screen" id="rds_05_0021__screen4448102812179">{
|
|
"cert_info_list": [
|
|
{
|
|
"category": "international",
|
|
"download_link": "****.com/rds/Certificate_Download.zip"
|
|
}
|
|
]
|
|
}</pre>
|
|
</li></ul>
|
|
<ul id="rds_05_0021__en-us_topic_0000001474025574_ul4820637592"><li id="rds_05_0021__en-us_topic_0000001474025574_li68218279114">Abnormal response<p id="rds_05_0021__en-us_topic_0000001474025574_p28475059"><a name="rds_05_0021__en-us_topic_0000001474025574_li68218279114"></a><a name="en-us_topic_0000001474025574_li68218279114"></a>For details, see <a href="en-us_topic_0032488197.html">Abnormal Request Results</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0021__section4778540915440"><h4 class="sectiontitle">Status Code</h4><ul id="rds_05_0021__en-us_topic_0032347778_ul7858132212142"><li id="rds_05_0021__en-us_topic_0032347778_li58581622171411">Normal<p id="rds_05_0021__en-us_topic_0032347778_p1040982941020"><a name="rds_05_0021__en-us_topic_0032347778_li58581622171411"></a><a name="en-us_topic_0032347778_li58581622171411"></a>200</p>
|
|
</li><li id="rds_05_0021__en-us_topic_0032347778_li11583183218149">Abnormal<p id="rds_05_0021__en-us_topic_0032347778_p0723374409"><a name="rds_05_0021__en-us_topic_0032347778_li11583183218149"></a><a name="en-us_topic_0032347778_li11583183218149"></a>For details, see <a href="en-us_topic_0032488240.html">Status Codes</a>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="rds_05_0021__section1183074220016"><h4 class="sectiontitle">Error Code</h4><p id="rds_05_0021__en-us_topic_0032347778_p19357163913406">For details, see <a href="en-us_topic_0032488241.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_07_0000.html">Database Security</a></div>
|
|
</div>
|
|
</div>
|
|
|