-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathoutput.txt
More file actions
61 lines (49 loc) · 1.54 KB
/
output.txt
File metadata and controls
61 lines (49 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=== Initial config
; The profile defined in the DEFAULT section is to be used as a fallback when no profile is explicitly specified.
[DEFAULT]
host = [DATABRICKS_URL]
auth_type = databricks-cli
; First workspace — alpha
[alpha]
host = [DATABRICKS_URL]
auth_type = databricks-cli
; Second workspace — beta
[beta]
host = [DATABRICKS_URL]
auth_type = databricks-cli
; Third workspace — gamma
[gamma]
host = https://accounts.cloud.databricks.com
account_id = account-id
auth_type = databricks-cli
=== Delete first non-default profile (alpha)
>>> [CLI] auth logout --profile alpha --force --delete
Logged out of and deleted profile "alpha".
=== Backup file should exist
OK: Backup file exists
=== Config after deleting alpha
; The profile defined in the DEFAULT section is to be used as a fallback when no profile is explicitly specified.
[DEFAULT]
host = [DATABRICKS_URL]
auth_type = databricks-cli
; Second workspace — beta
[beta]
host = [DATABRICKS_URL]
auth_type = databricks-cli
; Third workspace — gamma
[gamma]
host = https://accounts.cloud.databricks.com
account_id = account-id
auth_type = databricks-cli
=== Delete last profile (gamma)
>>> [CLI] auth logout --profile gamma --force --delete
Logged out of and deleted profile "gamma".
=== Config after deleting gamma
; The profile defined in the DEFAULT section is to be used as a fallback when no profile is explicitly specified.
[DEFAULT]
host = [DATABRICKS_URL]
auth_type = databricks-cli
; Second workspace — beta
[beta]
host = [DATABRICKS_URL]
auth_type = databricks-cli