CONNECTION
CONNECTION objects are used to store authentication credentials and access credentials for third-party services, allowing Lakehouse to process data without exposing sensitive information in plaintext. CONNECTION also supports STS (Security Token Service) authentication, enabling cross-account authorized access to external services.
Types of CONNECTION
| Type | Purpose | Supported External Services |
|---|---|---|
| API Connection | Stores authentication credentials for third-party application services, used in conjunction with Remote Function | Alibaba Cloud Function Compute FC, Tencent Cloud SCF |
| Storage Connection | Stores authentication credentials for object storage or message queues, used for VOLUME, external tables, data import/export | Alibaba Cloud OSS, Tencent Cloud COS, AWS S3, Kafka, HDFS |
| Catalog Connection | Stores connection information for external metadata services, used for federated queries | Hive Metastore, Databricks Unity Catalog |
Viewing CONNECTION
List all CONNECTIONs in the current workspace:
View details of a specific CONNECTION:
Dropping CONNECTION
Notes
- CONNECTION objects are stored at the workspace level, allowing users within the same workspace to share and use them.
- Before dropping a CONNECTION, verify that no VOLUME, external table, or Catalog is referencing it, otherwise the related objects will become inaccessible.
- Cross-cloud Storage Connection creation is not supported: Alibaba Cloud instances can only create OSS Connections, and Tencent Cloud instances can only create COS Connections.
