You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "tomrutter (via GitHub)" <gi...@apache.org> on 2024/04/04 11:33:55 UTC

[I] Microsoft Azure blob storage doesn't allow managed identity connection in ObjectStore (but does in hook) [airflow]

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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Microsoft Azure blob storage doesn't allow managed identity connection in ObjectStore (but does in hook) [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #38746: Microsoft Azure blob storage doesn't allow managed identity connection in ObjectStore (but does in hook)
URL: https://github.com/apache/airflow/issues/38746


-- 
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@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org