0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Databricks CLI (Windows)にて Azure CLI 認証により Databricks Repos 上にコードを配置する方法

Posted at

概要

Databricks CLI にて、Azure CLI 認証によりローカルから Databricks Repos 上にコードを配置する方法を共有します。次の記事にて Databricks トークンにて実施する方法を紹介しているため変更箇所のみ本記事にて紹介します。

1. Azure CLI をインストール

image.png

引用元:Windows 用 Azure CLI をインストールする | Microsoft Learn

2. 動作確認

az --version

image.png

3. コマンド実行後に表示される Web ページにて Azure にログイン

az login

image.png

image.png

Databricks CLI (Windows)にてローカルから Databricks Repos 上にコードを配置する方法の変更箇所

3-1. Databricks CLI の認証情報の設定

Personal Access Tokenに何も入力せずにEnterを押す。

./databricks.exe configure --host {host}

image.png

3-2. Databricks CLI の認証情報の確認

Tokenという項目がなく、hostのみであることを確認する。

$UserName = $env:UserName
$Path = "C:\Users\$UserName\"
explorer $Path

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?