Skip to content

Revise auth in WASBHook to use explicit credentials#68486

Closed
uranusjr wants to merge 1 commit into
apache:mainfrom
astronomer:azure-compat-fix
Closed

Revise auth in WASBHook to use explicit credentials#68486
uranusjr wants to merge 1 commit into
apache:mainfrom
astronomer:azure-compat-fix

Conversation

@uranusjr

Copy link
Copy Markdown
Member

The previous approach of using a token suffix in the URL seems to have been broken in the latest azure-storage-blob (12.30.0, released on 8 Jun 2026). This switched the hook to use the more canonical approach to provide the credential with an argument to the service client instead, which should work both before and after the version.

This should fix recent CI failures in provider compat jobs.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [Claude Code] following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

The previous approach of using a token suffix in the URL seems to have
been broken in the latest azure-storage-blob (12.30.0, released on 8 Jun
2026). This switched the hook to use the more canonical approach to
provide the credential with an argument to the service client instead,
which should work both before and after the version.

This should fix recent CI failures in provider compat jobs.
@FrankYang0529

Copy link
Copy Markdown
Member

Hi @uranusjr, I have another PR also focuses on the same topic #68490 and CI passes.

Based on @Lee-W's comment, using AzureSasCredential is a good approach, I will try to use it in my PR to fix the error. Thank you.

@uranusjr uranusjr closed this Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants