Enable external data access in Unity catalog
- Configure your Unity Catalog metastore to allow external data access. See Enable external data access on the metastore for more details.
-
Grant a principal Unity Catalog privileges on Databricks.
- Acquire Databricks credentials. See Access Databricks tables from Apache Iceberg clients for more information. You need to fetch these parameters:
catalog.uri
- Format:
<workspace-url>/api/2.1/unity-catalog/iceberg-rest
- Value:
<workspace-url>
is the Databricks workspace URL.
- Format:
catalog.oauth2_server_uri
catalog.credential
- Format:
<oauth_client_id>:<oauth_client_secret>
- Value:
<oauth_client_id>
is OAuth client ID for the authenticating principal;<oauth_client_secret>
is OAuth client secret for the authenticating principal.
- Format:
catalog.scope
:all-apis
warehouse.path
:- Format:
<uc-catalog-name>
- Value: The name of the catalog in Unity Catalog that contains your tables.
- Format: