Help Center> DataArts Studio> Preparations> (Optional) Obtaining Authentication Information
Updated on 2024-04-29 GMT+08:00

(Optional) Obtaining Authentication Information

When using DataArts Studio, for example, when creating OBS links, calling APIs, 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

To obtain an access key, perform the following steps:
  1. 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.
  2. On the My Credentials page, choose Access Keys, and click Create Access Key. See Figure 1.
    Figure 1 Clicking Create Access Key
  3. 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

A project is a group of tenant resources, and an account ID corresponds to the current account. The IAM ID corresponds to the current user. You can view the project IDs, account IDs, and user IDs in different regions on the corresponding pages.
  1. Register with and log in to the management console.
  2. Hover the cursor on the username in the upper right corner and select My Credentials from the drop-down list.
  3. On the API Credentials page, obtain the account name, account ID, IAM username, and IAM user ID, and obtain the project ID from the project list.

Obtaining a DataArts Studio Instance ID and Workspace ID

To obtain a DataArts Studio instance ID and workspace ID, perform the following steps:
  1. On the DataArts Studio console, locate a workspace and click any module, such as Management Center.
  2. 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.
    Figure 2 Obtaining the instance ID and workspace ID

Obtaining an Endpoint

An endpoint is the request address for calling an API. Endpoints vary depending on services and regions.

DataArts Studio endpoints are in the following formats. Select an endpoint based on your service requirements.
  • DataArts Migration (or CDM): cdm.{region_id}.myhuaweicloud.com. See Table 1 for details.
  • DataArts Factory: dayu-dlf.{region_id}.myhuaweicloud.com. See Table 2 for details.
Table 1 CDM endpoints

Region Name

Region ID

Endpoint

Protocol

CN-Hong Kong

ap-southeast-1

cdm.ap-southeast-1.myhuaweicloud.com

HTTPS

AP-Bangkok

ap-southeast-2

cdm.ap-southeast-2.myhuaweicloud.com

HTTPS

AP-Singapore

ap-southeast-3

cdm.ap-southeast-3.myhuaweicloud.com

HTTPS

LA-Sao Paulo1

sa-brazil-1

cdm.sa-brazil-1.myhuaweicloud.com

HTTPS

LA-Santiago

la-south-2

cdm.la-south-2.myhuaweicloud.com

HTTPS

LA-Mexico City1

na-mexico-1

cdm.na-mexico-1.myhuaweicloud.com

HTTPS

Table 2 DataArts Factory endpoints

Region Name

Region ID

Endpoint

Protocol

CN-Hong Kong

ap-southeast-1

dayu-dlf.ap-southeast-1.myhuaweicloud.com

HTTPS

AP-Bangkok

ap-southeast-2

dayu-dlf.ap-southeast-2.myhuaweicloud.com

HTTPS

AP-Singapore

ap-southeast-3

dayu-dlf.ap-southeast-3.myhuaweicloud.com

HTTPS

LA-Sao Paulo1

sa-brazil-1

dayu-dlf.sa-brazil-1.myhuaweicloud.com

HTTPS

LA-Santiago

la-south-2

dayu-dlf.la-south-2.myhuaweicloud.com

HTTPS

LA-Mexico City1

na-mexico-1

dayu-dlf.na-mexico-1.myhuaweicloud.com

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 or Data Map APIs require the GUID.

To obtain the GUID of a data asset in DataArts Catalog or Data Map, perform the following operations:

  1. On the DataArts Studio console, locate an instance and click Access. On the displayed page, click Data Map or locate a workspace and click DataArts Catalog.
    Figure 3 Clicking Data Map or DataArts Catalog

  2. Press F12 to open the developer debugging tool and click the Network tab.
    Figure 4 Network
  3. On the Home or Data Search page of the Data Map console, or on the Dashboard or Data Catalog page of the DataArts Catalog console, locate an asset and click its name to access its details page.
    1. In the network request, search for a long string whose name is similar to 09318f28-939f-4ab6-a374-9e621096652c.
      Figure 5 Searching for a long string
    2. Click the string and obtain the GUID from Request URL.
      Figure 6 Obtaining the GUID