Help Center> DataArts Studio> Preparations> (Optional) Obtaining Authentication Information
Updated on 2022-09-15 GMT+08:00

(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

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

You can obtain the project ID and account ID by performing the following steps:
  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 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

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.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.
Table 1 DataArts Migration endpoints

Region Name

Region ID

Endpoint

Protocol

EU-Dublin

eu-west-101

cdm.eu-west-101.myhuaweicloud.eu

HTTPS

Table 2 DataArts Factory endpoints

Region Name

Region ID

Endpoint

Protocol

EU-Dublin

eu-west-101

dayu-dlf.eu-west-101.myhuaweicloud.eu

HTTPS

Table 3 Endpoints of other modules

Region Name

Region ID

Endpoint

Protocol

EU-Dublin

eu-west-101

dayu.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:

  1. On the DataArts Studio console, locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Catalog.
  2. Press F12 to open the developer debugging tool and click the Network tab.
    Figure 3 Network
  3. On the Dashboard or Data Catalog page of the DataArts Catalog console, click the name of an asset to view its details.
    1. 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
    2. Click the character string and obtain the GUID from Request URL.
      Figure 5 Obtaining the GUID