Skip to content
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

Fix Azure Queue Streaming IConfiguration provider #9320

Merged

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Feb 7, 2025

Unlike the Table & Blob clients, the Queue client's constructor taking a single URI expects that URI to contain a shared access signature. This PR changes the way we construct the queue client to check if the URI is a SAS URI and, if not, call an alternative constructor which accepts a token credential.

In tests, we use the Asire Azure Storage Queues package to configure a client.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond force-pushed the fix/aq-streaming-provider-and-tests branch from cd722ad to 5e52c3d Compare February 7, 2025 17:31
@ReubenBond ReubenBond force-pushed the fix/aq-streaming-provider-and-tests branch from 5e52c3d to 60fd16d Compare February 7, 2025 19:14
@ReubenBond ReubenBond merged commit 1f40041 into dotnet:main Feb 7, 2025
18 checks passed
@ReubenBond ReubenBond deleted the fix/aq-streaming-provider-and-tests branch February 7, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants