使用Powershell脚本生成Azure Databricks令牌 [英] Generate Azure Databricks Token using Powershell script

查看:92
本文介绍了使用Powershell脚本生成Azure Databricks令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用Powershell脚本生成Azure Databricks令牌. 我已经完成了使用ARM模板创建Azure Databricks的工作,现在我希望使用powershell脚本生成Databricks令牌.

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 .

请让我知道如何使用Powershell脚本创建Databricks令牌

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

推荐答案

生成新令牌的唯一方法是通过api,它要求您首先拥有一个令牌. 或手动使用Web ui. 没有针对数据块的官方powershell命令,虽然有一些非官方的命令,但是它们仍然需要您首先手动生成令牌.

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.

更新:这些powershell命令现在可以使用服务主体而不是承载令牌进行身份验证(或可以为您生成承载令牌).

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

这篇关于使用Powershell脚本生成Azure Databricks令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆