Your company has an Azure Storage account named `mystorageacct`. You need to grant a third-party application read-only access to a specific blob container named `datasets`. The access must meet the following security requirements:
* Access must be restricted to HTTPS only.
* Access must only be allowed from the IP address range `192.0.2.128/26`.
* You must be able to revoke the access immediately before the planned expiration time, without affecting other applications or rotating the storage account keys.
Which of the following should you create to meet these requirements?
- AA Service SAS signed with the storage account access key and configured with an ad-hoc policy
- BAn Account SAS associated with a stored access policy on the storage account
- A Service SAS associated with a stored access policy on the datasets containerCevap
- DA User Delegation SAS signed with Microsoft Entra ID credentials and configured with an ad-hoc policy
Cevap
A Service SAS associated with a stored access policy on the datasets container
A Service SAS associated with a stored access policy on the datasets container satisfies all requirements. The stored access policy allows you to revoke the SAS immediately by deleting or modifying the policy, without affecting any other SAS tokens or rotating the storage account access keys. The SAS token itself can be generated with constraints to enforce HTTPS-only and restrict access to the specified IP address range.
Adım Adım Çözüm
Anahtar Kavram
Stored Access Policies and Shared Access Signatures (SAS)