mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
eb58d11f9b
commit
007a714750
|
@ -10,6 +10,6 @@ trace $CLI bundle exec -t pat -- $CLI current-user me
|
|||
trace errcode $CLI bundle exec -t pat -- $CLI current-user me -t oauth
|
||||
|
||||
# Explicitly select oauth target
|
||||
export DATABRICKS_TOKEN=""
|
||||
unset DATABRICKS_TOKEN
|
||||
export DATABRICKS_CLIENT_SECRET="client_secret"
|
||||
trace $CLI bundle exec -t oauth -- $CLI current-user me
|
||||
|
|
|
@ -4,5 +4,4 @@ unset DATABRICKS_TOKEN
|
|||
# Confirm that bundle exec works for commands that do not require authentication,
|
||||
# even if authentication is not provided.
|
||||
trace $CLI bundle exec -- echo hello
|
||||
|
||||
trace $CLI bundle exec -- pwd
|
||||
|
|
Loading…
Reference in New Issue