An organization needs to allow a partner application to read data from a specific Azure Blob Storage container named `reports`. You must configure a Shared Access Signature (SAS) token that meets the following security requirements:
- Allows read-only (least-privilege) access to the `reports` container only.
- Restricts access to a specific external IP address range: .
- Restricts communication to the HTTPS protocol only.
- Begins validity immediately and expires in exactly hours.
- Uses Microsoft Entra ID credentials to secure and sign the token, avoiding the use of the storage account key.
Which type of Shared Access Signature (SAS) must you generate?
- User Delegation SASAnswer
- BService SAS
- CAccount SAS
- DStored Access Policy
Answer
User Delegation SAS
The correct answer is the User Delegation SAS. A User Delegation SAS is signed with Microsoft Entra ID credentials rather than the storage account key. It utilizes a user delegation key obtained from the Microsoft Entra ID token to sign the SAS, providing enhanced security and auditing capability while satisfying the constraint to restrict access to a single container with specific IP ranges, protocols, and lifetime bounds.
Step-by-Step Solution
Key Concept
Selecting the correct type of Shared Access Signature based on credentials and scope requirements