(Optional) Obtaining Authentication Information
When creating OBS links, making API calls, or locating issues, you may need to obtain information such as access keys, project IDs, and endpoints. This section describes how to obtain such information.
Obtaining an Access Key
- Log in to the management console, move the cursor to the username in the upper right corner, and select My Credentials from the drop-down list.
- On the My Credentials page, choose Access Keys, and click Create Access Key. See Figure 1.
- Click OK and save the access key file as prompted. The access key file will be saved to your browser's configured download location. Open the credentials.csv file to view Access Key Id and Secret Access Key.
- Only two access keys can be added for each user.
- To ensure access key security, the access key is automatically downloaded only when it is generated for the first time and cannot be obtained from the management console later. Keep them properly.
Obtaining a Project ID and Account ID
- Register with and log in to the management console.
- Hover the cursor on the username in the upper right corner and select My Credentials from the drop-down list.
- On the My Credentials page, obtain the account name and account ID, and obtain the project ID from the project list.
Obtaining a DataArts Studio Instance ID and Workspace ID
- On the DataArts Studio console, locate a workspace and click any module, such as Management Center.
- On the Management Center page, obtain the values of instanceId and workspace in the browser address bar, which are the instance ID and workspace ID, respectively.
As shown in Figure 2, the instance ID is 6b88…2688, and the workspace ID is 1dd3bc…d93f0.
Obtaining an Endpoint
An endpoint is the request address for calling an API. Endpoints vary depending on services and regions.
- DataArts Migration (or CDM): cdm.{region_id}.myhuaweicloud.eu. See Table 1 for details.
- DataArts Factory: dayu-dlf.{region_id}.myhuaweicloud.eu. See Table 2 for details.
- Other DataArts Studio modules (such as DataArts Architecture, DataArts Quality, DataArts Catalog, and DataArts DataService): dayu.{region_id}.myhuaweicloud.eu. See Table 3 for details.
Region Name |
Region ID |
Endpoint |
Protocol |
---|---|---|---|
EU-Dublin |
eu-west-101 |
cdm.eu-west-101.myhuaweicloud.eu |
HTTPS |
Obtaining the GUID of DataArts Catalog
Each logical, technical, or metric asset has a GUID, which is the unique identifier of the asset. Some URLs in the calls to DataArts Catalog APIs require the GUID.
To obtain the DataArts Catalog GUID, perform the following steps:
- On the DataArts Studio console, locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Catalog.
- Press F12 to open the developer debugging tool and click the Network tab.
Figure 3 Network
- On the Dashboard or Data Catalog page of the DataArts Catalog console, click the name of an asset to view its details.
- In the network request, search for a long character string whose name is similar to 09318f28-939f-4ab6-a374-9e621096652c.
Figure 4 Searching for a long character string
- Click the character string and obtain the GUID from Request URL.
Figure 5 Obtaining the GUID
- In the network request, search for a long character string whose name is similar to 09318f28-939f-4ab6-a374-9e621096652c.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.