Help Center/ Data Lake Insight/ User Guide/ DLI Agency Permissions/ Guidelines for Configuring DLI Agency Permissions in Specific Scenarios
Updated on 2024-08-20 GMT+08:00

Guidelines for Configuring DLI Agency Permissions in Specific 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.