Azure / Azure/azure-storage-python

Is it possible to generate an account-level SAS token for blob storage?

Offen
#656 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @xiafu-msft Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
343
Forks
243
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Which service(blob, file, queue) does this issue concern?
Blob

### Which version of the SDK was used? Please provide the output of `pip freeze`.
azure-storage-blob==12.2.0

### What problem was encountered?
I am trying to generate an account level SAS token from a `BlobServiceClient`. I have looked around a bit and cant seem to figure out how I can create a token or if it is even possible. It looks like you could do this with a BlockBlobClient, but that doesnt seem to exist anymore.

### Have you found a mitigation/solution?
I can use Powershell or Azure Portal to generate the token, but would prefer if I can script it.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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