Help Center/ Data Lake Insight/ User Guide/ Configuring an Agency to Allow DLI to Access Other Cloud Services/ Example of Configuring DLI Agency Permissions in Typical Scenarios
Updated on 2025-03-18 GMT+08:00

Example of Configuring DLI Agency Permissions in Typical Scenarios

Table 1 Guidelines for configuring DLI agency permissions in specific scenarios

Type

Description

Flink job

Guideline for using DEW to manage and access credentials for Flink OpenSource SQL jobs. When writing the output data of Flink jobs to MySQL or GaussDB(DWS), set attributes such as the username and password in the connector.

Guideline for Flink Jar jobs to acquire an AK/SK to read and write data from and to OBS.

DLI provides a common interface to obtain temporary credentials for Flink job agencies set by users during job launch. The interface encapsulates the obtained temporary credentials for the job agency in the com.huaweicloud.sdk.core.auth.BasicCredentials class.

Guideline for obtaining a temporary credential for a Flink job agency.

Spark job

Guideline for Spark Jar jobs to acquire an AK/SK to read and write data from and to OBS.

Guideline for obtaining a temporary credential for a Spark Jar job agency.