What is a SAS token and what are the types?
IntermediateConceptStorage, Key Vault and Monitoring
Answer
A Shared Access Signature is a signed URL query string granting scoped, time-limited access.
- User delegation SAS: signed with an Entra-issued user delegation key. Preferred: auditable, revocable by revoking the key, no account key involved.
- Service SAS: signed with the account key, scoped to one service resource; can reference a stored access policy to allow revocation.
- Account SAS: account key, multiple services. Broadest; avoid.
az storage blob generate-sas --account-name stshop -c reports -n q3.pdf \
--permissions r --expiry 2026-11-10T12:00Z --auth-mode login --as-user --https-only --full-uri
More on Storage, Key Vault and Monitoring
What types of storage accounts and services exist?BeginnerWhat are the storage redundancy options?BeginnerExplain blob access tiers and lifecycle management.IntermediateHow do you lock down a storage account?IntermediateWhat protects blobs from accidental deletion?IntermediateWhat is Azure Key Vault and what does it store?Beginner