An organization has an Azure Storage account named saassessmentlogs that contains a blob container named securityaudit. You need to grant an external application temporary read-only access to the blobs inside the securityaudit container. The solution must meet the following security requirements:
- The access must be temporary and expire in hours.
- Access to other containers or storage services must be prevented.
- Access must be restricted to HTTPS traffic originating from the IP range .
- The generation and usage of the token must be auditable to a specific Microsoft Entra ID security principal, without utilizing or exposing the storage account access keys.
Which access delegation configuration should you implement to meet the requirements?
- AAssign the Storage Blob Data Reader role directly to the external application in Microsoft Entra ID, and restrict the storage account control plane access using Azure RBAC.
- BGenerate a Service SAS signed with Storage Account Key 1, configure a Stored Access Policy on the container with a -hour expiration, and rotate Key 1 immediately after the application finishes.
- Generate a User Delegation SAS using a security principal assigned the Storage Blob Delegator role at the storage account level and the Storage Blob Data Reader role at the container level.Answer
- DEnable the firewall bypass for trusted Microsoft services on the storage account, and generate an Account SAS signed with Storage Account Key 2 that has a -hour expiration.
Answer
Generate a User Delegation SAS using a security principal assigned the Storage Blob Delegator role at the storage account level and the Storage Blob Data Reader role at the container level.
The correct option satisfies the scenario because a User Delegation SAS is signed using Microsoft Entra ID credentials instead of the storage account key, satisfying the requirement to avoid exposing access keys. It uses the Storage Blob Delegator role to request the user delegation key and the Storage Blob Data Reader role to authorize container-level read operations. Furthermore, SAS tokens natively allow limiting access by IP address, restricting connections to HTTPS, and defining a specific expiration window.
Step-by-Step Solution
Key Concept
User Delegation SAS utilizes Microsoft Entra ID credentials to secure the SAS, avoiding the exposure of storage account keys and providing auditability.
Estimated Time:2m 35s