Azure / Azure/azure-storage-python

Support retrieving access tokens from IMDS

オープン
#590 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
343
フォーク
243
PR マージ指標
30日以内にマージされた PR はありません

説明

Since it appears that Active Directory is the recommended way of controlling access to Azure Storage, it would be useful if azure-storage-python, when running on an Azure Virtual Machine, supported automatically retrieving access tokens from the Azure Instance Metadata Service (IMDS).

I'm willing to take a stab at implementing this functionality if it is something that would be accepted. The biggest question in my mind is - what would the API for enabling this mode look like in the constructor for, say, BaseBlobService.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

BaseBlobService コンストラクターと、issue で説明されている Azure Instance Metadata Service (IMDS) のアクセストークンフローから始めます。Azure Virtual Machine 上で実行する場合に、このモードをどのように有効化し、トークンをどのように取得するべきかを確認します。API と実装が Active Directory による Azure Storage へのアクセスをサポートすれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
authentication, cloud
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。