Overview

What Is Datasource Authentication?

When analyzing across multiple sources, it is not recommended to configure authentication information directly in a job as it can lead to password leakage. Instead, you are advised to use either Data Encryption Workshop (DEW) or datasource authentication provided by DLI to securely store data source authentication information.

This section describes how to use datasource authentication provided by DLI.

Notes and Constraints

Datasource Authentication Types

DLI supports four types of datasource authentication. Select an authentication type specific to each data source.

Jobs That Can Connect to Data Sources Through Datasource Authentication

Different types of jobs can connect to data sources through different types of datasource authentication.

Table 1 Data sources that Spark SQL jobs can connect to through datasource authentication

Datasource Authentication Type

Data Source

Notes and Constraints

CSS

CSS

The CSS cluster version must be 6.5.4 or later.

The security mode has been enabled for the CSS cluster.

Password

GaussDB(DWS), RDS, DDS, and Redis

-

Table 2 Data sources that Flink SQL jobs can connect to through datasource authentication

Table Type

Datasource Authentication Type

Data Source

Notes and Constraints

Source table

Kerberos

Kafka

Kerberos authentication has been enabled for MRS Kafka.

Kafka_SSL

Kafka

SASL_SSL authentication has been enabled for DMS Kafka.

SASL authentication has been enabled for MRS Kafka.

SSL authentication has been enabled for MRS Kafka.

Result table

Kerberos

HBase

Kerberos authentication has been enabled for the MRS cluster.

Kafka

Kerberos authentication has been enabled for MRS Kafka.

Kafka_SSL

Kafka

SASL_SSL authentication has been enabled for DMS Kafka.

SASL authentication has been enabled for MRS Kafka.

SSL authentication has been enabled for MRS Kafka.

Password

GaussDB(DWS), RDS, and CSS

-

Dimension table

Password

RDS and Redis

-