AccessKey management
An AccessKey ID and an AccessKey Secret are the credentials used to access the Dataphin OpenAPI. You must store them securely. This topic explains how to manage your Dataphin AccessKeys.
Prerequisites
The OpenAPI add-on is required.
Limits
Dataphin AccessKeys do not support automatic expiration.
You cannot use Dataphin AccessKeys to authenticate with other Alibaba Cloud products.
AccessKeys from Resource Access Management (RAM) or Apsara Uni-manager Operation Console (ASCM) cannot be used to authenticate with Dataphin.
Procedure
In the Dataphin console, click your profile picture in the upper-right corner and select My Account to open the User Center page.
In the left-side navigation pane, choose API Access > AccessKey Management to open the AccessKey Management page.
On the AccessKey Management page, you can manage the OpenAPI endpoint and the AccessKey list.
OpenAPI Endpoint: This section displays the server endpoint (domain name) for your API calls. Click the Copy icon to copy the endpoint. You can also click Download Dataphin JDBC or Download OpenAPI SDK, and then select Java SDK or Python SDK to download the file.
NoteThe OpenAPI endpoint can take up to 30 minutes to become active.
AccessKey list: This section displays the AccessKey ID, creation time, and last used time for each key. The following actions are available for each AccessKey.
Action
Actions
Create AccessKey
ImportantDownload the AccessKey file immediately. After you close the dialog box, you can no longer retrieve the AccessKey ID and AccessKey Secret.
You can create a maximum of two AccessKeys.
To create an AccessKey, click Create AccessKey. In the AccessKey created dialog box, retrieve the AccessKey ID and AccessKey Secret. Then, click Download CSV File and click Close.
Status
To enable or disable an AccessKey, click the switch in the Status column. After you disable an AccessKey, it becomes invalid 30 minutes later.
Delete
Click the delete icon in the Actions column for the target AccessKey. The AccessKey becomes invalid 30 minutes later. You can no longer use the key to authenticate OpenAPI calls. The exception message Invalid AccessKey. Please check whether the AccessKey exists or is enabled is returned.
ImportantThis action cannot be undone. Proceed with caution.