Databricks CLI Workspace Configuration - pathfinder-analytics-uk/dab_project GitHub Wiki

Links and Resources


Commands

The below command configures the authentication for a Databricks workspace under the DEFAULT profile.

You will be required to provide a Personal Access Token.

databricks configure --host [enter your workspace url] --profile DEFAULT

.databrickscfg Configuration File

You can directly configure the .databrickscfg file in your home directory.

[DEFAULT]
host = your-databricks-host
token = your-databricks-pat

[TEST]
host = your-databricks-host
token = your-databricks-pat

[PROD]
host = your-databricks-host
token = your-databricks-pat