When users who have registered with the public cloud call APIs or use SDKs to access OBS, access keys (AK/SK) are required for identity authentication and request encryption. This mechanism ensures the confidentiality and integrity of a request, and the correctness of the identities of both parties.
Detailed explanations about Access Key ID (AK) and Secret Access Key (SK) are as follows:
In the following scenarios, if you want to connect to the DWS database through a client or a JDBC/ODBC application and access OBS, obtain the access keys (AK and SK) required for accessing OBS.
DWS provides the SQL on OBS feature to allow users to query data stored on OBS using SELECT.
For details about the preceding features, download and see the following sections in the Data Warehouse Service Database Developer Guide:
Before creating the AK/SK pair, ensure that your public cloud account (used to log in to the management console) has passed real-name authentication.
To create an AK and an SK on the OBS console, perform the following steps:
If an AK/SK pair has been created on the Access Keys page, you can directly use it. However, you can view only Access Key ID on the Access Keys tab page. You can download the key file containing the AK and SK only when adding access keys. If you do not have the key file, click Add Access Key to create one.
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.
When deleting the access keys, you need to enter the login password and either an email or mobile verification code.
Deleted AK/SK pairs cannot be restored.