-
Notifications
You must be signed in to change notification settings - Fork 3.3k
BlobSasPermissions needs List support for directory-scoped SAS tokens #48022
Copy link
Copy link
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
No fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
Version 12.30.0 introduced the ability to created directory- and prefix-scoped SAS tokens, through setting
is_directory=Trueongenerate_blob_sas.The REST documentation clearly mentions that
listis supported for directory-scoped SAS tokens.However,
BlobSasPermissionsdoes not exposeListparameter. This means the only way to grant list permissions on a directory- or prefix-scoped SAS token is to use a raw string.Describe the solution you'd like
Expose a
Listoption onBlobSasPermissionsthat works for directory- or prefix-scoped SAS tokens.Describe alternatives you've considered
Raw string works, but it's not pretty
Additional context
#35899 was closed because list permissions don't make sense for individual Blobs. But this issue predates the addition of directory- and prefix-scoped SAS tokens.