You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/authentication.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Note that many authentication variants are already supported natively.
44
44
- Workload identity OAuth2, using a `client_id`, `tenant_id`, and `federated_token_file` passed in by the user
45
45
- OAuth2, using a `client_id`, `client_secret`, and `tenant_id` passed in by the user
46
46
- A SAS key passed in by the user.
47
-
- Azure CLI
47
+
- Azure CLI. (If you want to ensure the IMDS authentication is used below, pass [`use_azure_cli=False`][obstore.store.AzureConfigInput.use_azure_cli] to `AzureStore`.)
48
48
- IMDS Managed Identity Provider.
49
49
50
50
(A transcription of [this underlying code](https://github.com/apache/arrow-rs/blob/a00f9f43a0530b9255e4f9940e43121deedb0cc7/object_store/src/azure/builder.rs#L942-L1019)).
In general, we wish to follow the upstream `object_store` as closely as possible, which should reduce the maintenance overhead here.
4
+
5
+
However, there are occasionally places where we want to diverge from the upstream decision making, and we document those here.
6
+
7
+
## Azure CLI
8
+
9
+
We always check for Azure CLI authentication as a fallback.
10
+
11
+
If we stuck with the upstream `object_store` default, you would need to pass `use_azure_cli=True` to check for Azure CLI credentials.
12
+
13
+
The Azure CLI is the [second-to-last Azure authentication method checked](https://github.com/apache/arrow-rs/blob/9c92a50b6d190ca9d0c74c3ccc69e348393d9246/object_store/src/azure/builder.rs#L1015-L1016) checked. So this only changes the default behavior for people relying on instance authentication. For those people, they can still pass `use_azure_cli=False`.
14
+
15
+
See upstream discussion [here](https://github.com/apache/arrow-rs/issues/7204).
0 commit comments