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

11 lines
325 B
Plaintext

# Unset the token which is configured by default
# in acceptance tests
export DATABRICKS_TOKEN=""
# "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