You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "YuangGao (via GitHub)" <gi...@apache.org> on 2026/05/21 02:56:50 UTC
Re: [I] bug: azdls backend doesn't load Azure credentials from environment variables [opendal]
YuangGao commented on issue #7224:
URL: https://github.com/apache/opendal/issues/7224#issuecomment-4504369435
looking at the current code after #7226
- `azblob` correctly starts with `let mut envs = OsEnv.vars();` (https://github.com/apache/opendal/blob/main/core/services/azblob/src/backend.rs#L325-L326))
- `azdls` still uses `let mut envs = std::collections::HashMap::new();` ((https://github.com/apache/opendal/blob/main/core/services/azdls/src/backend.rs#L268))
So OS env vars like `AZURE_FEDERATED_TOKEN_FILE` never make it into the env context for azdls, and Workload Identity in AKS still fails.
I can send a 1-liner to align azdls with azblob's pattern.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org