Skip to content

Instantly share code, notes, and snippets.

@MertSenel
Created August 22, 2020 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MertSenel/dc15d12e8e4b35e6e8e4436283390061 to your computer and use it in GitHub Desktop.
Save MertSenel/dc15d12e8e4b35e6e8e4436283390061 to your computer and use it in GitHub Desktop.
dbrclidemo.sh
#!/bin/bash
DatabricksUrl='https://#{AZURE-DATABRICKS-TENANT-URL}#'
dapiToken='#{AZURE-DATABRICKS-TENANT-DAPI-TOKEN}#'
databricks configure --token <<EOF
${DatabricksUrl}
${dapiToken}
EOF
echo -e "\nDatabricks workspace list:"
databricks workspace list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment