forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
29 lines
8.8 KiB
HTML
29 lines
8.8 KiB
HTML
<a name="EN-US_TOPIC_0000001233883335"></a><a name="EN-US_TOPIC_0000001233883335"></a>
|
|
|
|
<h1 class="topictitle1">Creating Access Keys (AK and SK)</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_p6658556485819">In this example, OBS data is imported to <span id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001145770851_ph1692512422530">GaussDB(DWS)</span> databases. When users who have registered with the cloud platform access OBS using clients, call APIs, or SDKs, access keys (AK/SK) are required for user authentication. Therefore, if you want to connect to the <span id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001145770851_ph10227315134119">GaussDB(DWS)</span> database through a client or a JDBC/ODBC application to access OBS, obtain the access keys (AK and SK) first.</p>
|
|
<ul id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_ul1924912504918"><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li324919503910">Access Key ID (AK): indicates the ID of the access key, which is a unique identifier used in conjunction with a Secret Access Key to sign requests cryptographically.</li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li2024915501098">Secret Access Key (SK): indicates the key used with its associated AK to cryptographically sign requests and identify request senders to prevent requests from being modified.</li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_section5520161143920"><h4 class="sectiontitle">Creating Access Keys (AK and SK)</h4><p id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_p3666343285022">Before creating an AK/SK pair, ensure that your account (used to log in to the management console) has passed real-name authentication.</p>
|
|
<p id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_p20210260141658">To create an AK/SK pair on the management console, perform the following steps:</p>
|
|
<ol id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_ol1378340151457"><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li1926620202717"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li44902295103735"><span>Click the username in the upper right corner and choose <span class="parmname" id="EN-US_TOPIC_0000001233883335__parmname17406601263"><b>My Credentials</b></span> from the drop-down list.</span></li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li31510716103735"><span>Select the <span class="parmname" id="EN-US_TOPIC_0000001233883335__parmname157571976268"><b>Access Keys</b></span> tab.</span><p><p id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_p42176964151631">If an access key already exists in the access key list, you can directly use it. However, you can view only <strong id="EN-US_TOPIC_0000001233883335__en-us_topic_0106894675_b31479101273">Access Key ID</strong> in the access key list. You can download the key file containing the AK and SK only when adding an access key. If you do not have the key file, click <span class="parmname" id="EN-US_TOPIC_0000001233883335__en-us_topic_0106894675_parmname1110131141016"><b>Create Access Key</b></span> to create one.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_note60890944151631"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_ul64657197390"><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li771373513584">Each user can create a maximum of two valid access keys. If there are already two access keys, delete them and create one. To delete an access key, you need to enter the current login password and email address or SMS verification code. Deletion is successful only after the verification is passed.</li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li4713735165818">To ensure account security, change your access keys periodically and keep them secure.</li></ul>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li15963139103735"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001233883335__en-us_topic_0131286905_en-us_topic_0106894675_uicontrol32578776103735"><b>Add Access Key</b></span>.</span></li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li63402814103735"><span>In the displayed <strong id="EN-US_TOPIC_0000001233883335__b471132251412">Add Access Key</strong> dialog box, enter the password and its verification code and click <span class="uicontrol" id="EN-US_TOPIC_0000001233883335__uicontrol25085786152531"><b>OK</b></span>.</span><p><div class="note" id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_note1790440815254"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_ul2961135884248"><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li2888205284248">If you have not bound an email address or a mobile number, enter only the login password.</li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li4682154884248">If you have bound an email address and a mobile phone number, you can use either of them for verification.</li></ul>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li47497488103735"><span>In the displayed <strong id="EN-US_TOPIC_0000001233883335__b8337141612517">Download Access Key</strong> dialog box, click <strong id="EN-US_TOPIC_0000001233883335__b5337316855">OK</strong> to save the access keys to your browser's default download path.</span><p><div class="note" id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_n84b9bf7ac1be42fba82f547d479acce8"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_ube15d574b9b2416dbf66e85eb780b925"><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li502624288429">Keep the access keys secure to prevent them from being leaked.</li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li1474521584157">If you click <strong id="EN-US_TOPIC_0000001233883335__b163656325236">Cancel</strong> in the dialog box, the access keys will not be downloaded, and you cannot download them later. In this case, re-create access keys.</li></ul>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_li6611298715239"><span>Open the downloaded <strong id="EN-US_TOPIC_0000001233883335__b991215571326">credentials.csv</strong> file to obtain the access keys (AK and SK).</span></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_sdc9358e59c034ab2a09ee3440e8eca15"><h4 class="sectiontitle">Precautions</h4><p id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_p6708306417236">If you find that your AK/SK pair is abnormally used (for example, the AK/SK pair is lost or leaked) or will be no longer used, delete your AK/SK pair in the access key list or contact the administrator to reset your AK/SK pair.</p>
|
|
<p id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_p26617896172311">When deleting the access keys, you need to enter the login password and either an email or mobile verification code.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_nb69015b098dd422b8da9f4afdf8fdc47"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233883335__en-us_topic_0000001083024861_en-us_topic_0106894675_a6871c0158d1944469d0e748916b1d8c6">Deleted AK/SK pairs cannot be restored.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0154.html">Importing CSV/TXT Data from the OBS</a></div>
|
|
</div>
|
|
</div>
|
|
|