Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate Azure Databricks Token using Powershell script

Tags:

I need to generate Azure Databricks token using Powershell script. I am done with creation of Azure Databricks using ARM template , now i am looking to generate Databricks token using powershell script .

Kindly let me know how to create Databricks token using Powershell script

like image 736
kartik iyer Avatar asked Jan 10 '19 06:01

kartik iyer


1 Answers

The only way to generate a new token is via the api which requires you to have a token in the first place. Or use the Web ui manually. There is no official powershell commands for databricks, there are some unofficial ones but they still require you to generate a token manually first.

https://github.com/DataThirstLtd/azure.databricks.cicd.tools

Disclaimer I'm the author of these.

UPDATE: these powershell commands can now authenticate using a service principal instead of a bearer token (or can generate a bearer token for you).

like image 65
simon_dmorias Avatar answered Nov 12 '22 11:11

simon_dmorias