You have an Azure Storage account named `devstore2026` that contains a blob container named `project-templates`.
An administrator named Admin1 must generate a User Delegation Shared Access Signature (SAS) token for an external developer. The developer requires read-only access to read and list blobs in the container. The SAS token must be valid for 12 hours.
You need to assign the minimum required Azure Role-Based Access Control (RBAC) roles to Admin1 to enable them to generate the User Delegation SAS token.
Which two roles should you assign to Admin1? (Select two.)
- Storage Blob DelegatorAnswer
- Storage Blob Data ReaderAnswer
- CStorage Account Contributor
- DReader
Answer
To generate a User Delegation SAS, Admin1 needs the Storage Blob Delegator role to obtain the user delegation key, and the Storage Blob Data Reader role to read and list the blob data.
To create a User Delegation SAS, the identity generating the SAS must first request a user delegation key from Microsoft Entra ID. The Storage Blob Delegator role grants the action required to generate this key. Additionally, because the SAS permissions are verified against the generator's Entra ID account, the generator must also have the data plane access they are delegation-granting. Thus, the Storage Blob Data Reader role is required to grant read and list access to the blobs.
Step-by-Step Solution
Key Concept
Generating a User Delegation SAS requires both the Storage Blob Delegator role (for control plane delegation) and appropriate data plane roles (like Storage Blob Data Reader) since permissions are bounded by the creator's identity.