I want to use databricks cli:
databricks clusters list
but this requires a manual step that requires interactive work with the user:
databricks configure --token
Is there a way to use databricks cli without manual intervention so that you can run it as part of a ci/cd pipeline?
Typically, this file is located at ~/. bash_profile . Azure Databricks already aliases databricks fs to dbfs ; databricks fs ls and dbfs ls are equivalent.
You can just export the variables DATABRICKS_HOST and DATABRICKS_TOKEN. With those variables, you don't need a config file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With