[FEATURE REQ] Azure Storage Clients should support un-authenticated access and using a preexisting HttpPipeline #7986
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Storage
Storage Service (Queues, Blobs, Files)
Is your feature request related to a problem? Please describe.
I have a storage account container with public anonymous read/list access. I wanted to use the storage SDK to read and list blobs in the container. That isn't possible without abusing the protected constructor to create a sub class that creates the HttpPipeline manually.
Describe the solution you'd like
This should be completely valid csharp
Describe alternatives you've considered
I currently have the following functioning hack:
Unfortunately this causes
GetBlobClient
to return an invalidBlobClient
instance because it passes a nullHttpPipeline
to it. I can't just overrideGetBlobClient
because the constructor that accepts an HttpPipeline is internal.Additional context
No additional context
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issue as an incomplete report
The text was updated successfully, but these errors were encountered: