Open 840 opened 2 months ago
encountered the same issue - manually prefixing "https://"
to the host
key in ~/.databrickscfg
works around the issue
[DEFAULT]
[ACCOUNT-341a3819-260d-4cba-945d-d4ae646f866a]
host = https://accounts.gcp.databricks.com
account_id = xxx
auth_type = databricks-cli
Describe the issue
When using
databricks auth login
for configuring an account configuration, if you do not specify https in the--host
flag, it will be deemed as an invalid Databricks account configuration in subsequent commands that use the profile, even though the initial authentication succeeded.Steps to reproduce the behavior
databricks auth login --host accounts.cloud.databricks.com --account-id <uuid>
databricks account workspaces list
Expected Behavior
It should work even if you do not specify https scheme.
Actual Behavior
OS and CLI version
MacOS 14.3.1 Databricks CLI v0.218.1
Is this a regression?
No
Debug Logs