cli
cli copied to clipboard
Allow setting the token cache directory via the DATABRICKS_TOKEN_CACHE_DIR env var
Changes
Allow setting the token cache directory without modifying HOME env via the DATABRICKS_TOKEN_CACHE_DIR env var. Previously, there was no way to set the location of the token cache directory, which caused issues when using either multiple DataBricks accounts or Docker environments without a HOME set.
Tests
Unit tests added to verify that the location reflects the env var. Tested both locally and via Docker.
Hi @BenPhegan ! Could you please try to resolve the conflict in the PR, I'll take a look one more time and I think we're ready to merge it. Thank you!
This PR has not received an update in a while. If you want to keep this PR open, please leave a comment below or push a new commit and auto-close will be canceled.