databricks-cli/acceptance/auth/credentials/oauth/script

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
325 B
Plaintext
Raw Normal View History

# Unset the token which is configured by default
# in acceptance tests
export DATABRICKS_TOKEN=""
2025-02-10 13:36:08 +00:00
# "client_id:client_secret" in base64 is Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=, expect to
# see this in Authorization header
export DATABRICKS_CLIENT_ID=client_id
export DATABRICKS_CLIENT_SECRET=client_secret
$CLI current-user me