[FEATURE REQ] Add TokenCredential auth to azure.storage.blob.nio #43341
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.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Is your feature request related to a problem? Please describe.
We would like to use Microsoft EntraID/Azure AD authentication when we use azure.storage.blob.nio to access Azure Blob Storage containers
Describe the solution you'd like
Add the possibility to use TokenCredential interface based object in the configmap that is sent into AzureFileSystemProvider#newFileSystem method. Basically it seems the handling of that Interface need to be added in the AzureFileSystem#buildBlobServiceClient that only handles the AzureStorageSharedKeyCredential and AzureStorageSasTokenCredential ath the moment.
Describe alternatives you've considered
Alternatives...well use the AzureStorageSharedKeyCredential object but it would be a lot nicer to use EntraID
The text was updated successfully, but these errors were encountered: