-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Switch AzureDataLakeStorageV2Hook to use ManagedIdentityCredential for managed identity/workload auth #38497
Switch AzureDataLakeStorageV2Hook to use ManagedIdentityCredential for managed identity/workload auth #38497
Conversation
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
@Lee-W Thank you! Made the change you suggested and added a test, sorry it took so long! 🙂 I used the changed hook in a deployment with managed workload identity set up and got a successful task with:
On the testing side, I hope this works, I don't know that much about azure/ workload identity so I hope I am testing the right configuration. 😅 |
…anaged identity/workload auth (apache#38497)
…anaged identity/workload auth (apache#38497)
When testing the AzureDataLakeStorageV2Hook with a managed identity authentication @melugoyal got the following error:
It seems like
AzureIdentityCredentialAdapter
is not accepted byDataLakeServiceClient
(potentially relevant Azure SDK line)This PR worked for our workload identity auth. :)
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.