You have an Azure Storage account named `datashareeast` that contains a blob container named `reports`.
You need to grant an external partner read-only access to the `reports` container. The access must meet the following requirements:
- Allow access only from the IP address range .
- Allow access only via HTTPS.
- Expire in days.
- Support the ability to immediately revoke access to the partner without rotating the storage account access keys or impacting other active SAS tokens.
Which configuration should you use?
- A service SAS associated with a stored access policy on the containerCevap
- BAn account SAS signed with the storage account access key
- CA user delegation SAS signed with Microsoft Entra ID credentials
- DA service SAS signed with the storage account access key directly on the container
Cevap
A service SAS associated with a stored access policy on the container
The correct option is a service SAS associated with a stored access policy on the container. A service SAS delegates access to a resource in just one of the storage services, such as Blob storage. By associating the service SAS with a stored access policy on the container, you can revoke the SAS token immediately by modifying or deleting the policy, without having to rotate the storage account access keys or impacting other active SAS tokens.
Adım Adım Çözüm
Anahtar Kavram
Shared Access Signature (SAS) types and revocation mechanisms using Stored Access Policies
Tahmini Süre:1m 30s