databricks-cli icon indicating copy to clipboard operation
databricks-cli copied to clipboard

"databricks configure --token" does not store the token correctly

Open mroovaz opened this issue 4 years ago • 2 comments

When you run "databricks configure --token" and provide host + token in the prompts, authentication details are stored in %%USERPROFILE%%.databrickscfg file. However, the token is stored incorrectly: image

In order to authenticate to Databricks CLI correctly, you need to modify .databrickscfg file manually and paste proper token value.

mroovaz avatar Dec 29 '21 13:12 mroovaz

what do you mean by host + token. Can you provide an example.

Spratiher9 avatar Jan 27 '22 13:01 Spratiher9

Hi! You have the example in the code above: host is the url of your Databricks workspace token is the personal token that you generate in Databricks UI: image

mroovaz avatar Jan 27 '22 15:01 mroovaz