tomrutter opened a new issue, #38746:
URL: https://github.com/apache/airflow/issues/38746

   ### Apache Airflow Provider(s)
   
   microsoft-azure
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Apache Airflow version
   
   9.0.1
   
   ### Operating System
   
   linux (standard airflow slim images extended with custom code running on 
kubernetes)
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   We use airflow connections to azure blob storage using managed identity. We 
would like to use the ObjectStore but this doesn't currently work.
   
   ### What you think should happen instead
   
   I propose to update the provider code to pass the required arguments to 
adlfs.AzureBlobFileSystem. The aim is consistent handling of the airflow 
connection data between WasbHook and the ObjectStoragePath for "abfs://" paths.
   
   ### How to reproduce
   
   For an existing azure blob storage container, add to airflow a connection of 
type `"wasb"` containing extra fields `"account_name", 
"managed_identity_client_id", "workload_identity_tenant_id"`.
   
   Compare results of:
   `WasbHook(conn_id).get_blobs_list(container_name)`
   to
   `ObjectStoragePath(f"abfs://{container_name}/", conn_id=conn_id).iterdir()`
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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