Create a User Delegation SAS Using Azure CLI

Pluralsight Hands-On Lab — Azure Storage Security

Create a User Delegation SAS Using Azure CLI

Pluralsight Hands-On Lab — Storage


At a Glance

PlatformPluralsight
CategoryAzure Storage Security
Lab TypeGuided + Challenge Mode
EnvironmentAzure Portal, Azure Cloud Shell (Bash)
Completed2026

Overview

A user delegation SAS is a more secure alternative to a standard Shared Access Signature because it is backed by an Azure Active Directory identity rather than a storage account key. This means access can be revoked by revoking the delegation keys rather than rotating the account key. In this lab, I uploaded a file to a private blob container, generated a user delegation SAS using Azure CLI with scoped permissions and a time-bound expiry, validated access via the generated URL, and then revoked the SAS by invalidating all user delegation keys on the storage account.


What I Did


← Back to Pluralsight Labs