Jaliya Udagedara 11/27/2025

Creating SAS URIs for Azure Storage Blobs using DefaultAzureCredential

Read Original

This technical article addresses a common challenge in Azure .NET development: generating Shared Access Signature (SAS) URIs for Storage Blobs when using DefaultAzureCredential for authentication. It explains why the standard GenerateSasUri() method fails without a SharedKeyCredential and provides the recommended solution using User Delegation Keys with Azure AD credentials, including a complete code example.

Creating SAS URIs for Azure Storage Blobs using DefaultAzureCredential

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
2
Container queries are rad AF!
Chris Ferdinandi 2 votes
3
Wagon’s algorithm in Python
John D. Cook 1 votes