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