Azure / Azure/azure-sdk-for-java
[FEATURE REQ] Add TokenCredential auth to azure.storage.blob.nio
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
**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
Contributor guide
Assessment
This issue has not been assessed yet.