Skip to content

Revert defaulting use_azure_cli to True #325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

kylebarron
Copy link
Member

@kylebarron kylebarron commented Mar 6, 2025

Closes #324, reverts #292.

I didn't realize that #292 would prevent falling back to instance metadata authentication.

In my first read of https://github.com/apache/arrow-rs/blob/95c42a7e235dbc689dbf50636aea514331c714c9/object_store/src/azure/builder.rs#L1015-L1028 I thought that it would attempt CLI authentication, and if it can't do that, it'll fall back to instance metadata authentication.

But this is not true. If use_azure_cli is turned on, then every user who wants to use instance authentication needs to explicitly turn CLI authentication off.

cc @daviewales

@kylebarron kylebarron merged commit 627e6eb into main Mar 6, 2025
4 checks passed
@kylebarron kylebarron deleted the kyle/use_azure_cli_default branch March 6, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revert #292
1 participant