Skip to content

Databricks CLI auth login command removes cluster id #1897

@frbaxter-kr

Description

@frbaxter-kr

Describe the issue

Starting with Databricks CLI v0.233.0, doing a "databricks auth login" removes data from my profile entry.

Steps to reproduce the behavior

My profile before:
[test]
cluster_id = 0816-163139-kqxcega3
host = https://adb-9999999999999999.1.azuredatabricks.net
auth_type = databricks-cli

$ databricks auth login

My profile after:
[test]
host = https://adb-9999999999999999.1.azuredatabricks.net
auth_type = databricks-cli

Expected Behavior

Doing a login should not delete profile information, it should only authenticate.

Actual Behavior

My profile was ruined.

OS and CLI version

Databricks CLI v0.233.0

Is this a regression?

Yes, all versions before this worked correctly.

Debug Logs

N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions