pinot icon indicating copy to clipboard operation
pinot copied to clipboard

Add the support for DefaultAzureCredential for ADLSGen2PinotFS

Open snleee opened this issue 4 years ago • 5 comments

Currently, S3PinotFS implementation falls back to initialize credential using DefaultCredentialsProvider when the access key and secret is not provided by the pinot config. In this way, we allow users to set env variables like AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

For ADLS Gen2 Pinot FS, we expect users to pass accessKey and accountName via pinot config. We should use default credential provider when those information is not given.

Some references to look:

https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-java?tabs=powershell%2Cmanaged-identity%2Croles-azure-portal%2Csign-in-azure-cli https://blog.jongallant.com/2021/08/azure-identity-101/

snleee avatar Nov 15 '22 22:11 snleee

@xiangfu0

snleee avatar Nov 23 '22 15:11 snleee

Hi @snleee, is this still a valid issue? If so, can I pick this up?

ceekay47 avatar Apr 05 '24 08:04 ceekay47

I think this is supported with #9855. @snleee Can you please verify?

Jackie-Jiang avatar Apr 08 '24 18:04 Jackie-Jiang

It appears to be supported, see here.

But it is not documented, see here.

wisercoder avatar Nov 01 '24 22:11 wisercoder

@wisercoder Thanks for looking it up! Do you want to help contribute the documentation?

Jackie-Jiang avatar Nov 04 '24 23:11 Jackie-Jiang