Azure / Azure/azure-storage-python

Support retrieving access tokens from IMDS

Offen
#590 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
343
Forks
243
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the BaseBlobService constructor and the Azure Instance Metadata Service (IMDS) access-token flow described in the issue. Determine how this mode should be enabled and how tokens should be retrieved when running on an Azure Virtual Machine; done means the API and implementation support Active Directory access to Azure Storage.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, python
Bereich
authentication, cloud
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.