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

10 lines
297 B
Plaintext

# Unset the token which is configured by default
# in acceptance tests
export DATABRICKS_TOKEN=""
# "username:password" in base64 is dXNlcm5hbWU6cGFzc3dvcmQ=, expect to see this in Authorization header
export DATABRICKS_USERNAME=username
export DATABRICKS_PASSWORD=password
$CLI current-user me