Azure / Azure/azure-storage-python

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

Open
#656 1 comment 0 reactions 1 assignee Claimed by @xiafu-msft View on GitHub
Dominant language
Python
Stars
343
Forks
243
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.