raulcd commented on code in PR #46837:
URL: https://github.com/apache/arrow/pull/46837#discussion_r2155034551


##########
python/pyarrow/_azurefs.pyx:
##########
@@ -66,6 +66,15 @@ cdef class AzureFileSystem(FileSystem):
         SAS token for the storage account, used as an alternative to 
account_key. If sas_token
         and account_key are None the default credential will be used. The 
parameters 
         account_key and sas_token are mutually exclusive.
+    tenant_id : str, default None
+        Tenant ID for Azure Active Directory authentication. Must be provided 
together with
+        `client_id` and `client_secret` to use ClientSecretCredential.
+    client_id : str, default None
+        Client ID for Azure Active Directory authentication. Must be provided 
together with
+        `tenant_id` and `client_secret` to use ClientSecretCredential.

Review Comment:
   It seems `client_id` could be used in isolation without `tenant_id` and 
`client_secret`:
   
https://github.com/apache/arrow/blob/28cf7a4b3d662d8faef69ec26d9720cf8746c498/cpp/src/arrow/filesystem/azurefs.cc#L219-L229
   To use `ConfigureManagedIdentityCredential` instead of 
`ConfigureClientSecretCredential`, we probably should cover that case on the PR 
too, @pitrou @kou any thoughts?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to