You manage an Azure Storage account named storagedata. An external partner application requires temporary access to read and write blobs in a container named incoming. You must generate a Shared Access Signature (SAS) that meets the following security requirements:
- The access token must be immediately revoked if the primary storage access key (key1) is rotated.
- The access token must remain valid if the secondary storage access key (key2) is rotated.
- The partner application must only be allowed to connect from the public IP address .
In the Azure portal, you set the allowed protocols to HTTPS only. Which two configurations should you select to generate the SAS? (Select two.)
- Signing key set to Key 1Answer
- BSigning key set to Key 2
- Allowed IP addresses set to Answer
- DAssign the Storage Blob Data Contributor role to the partner application
Answer
Select Key 1 as the signing key and set the allowed IP addresses to the specific IP address .
The correct configurations are setting the signing key to Key 1 and setting the allowed IP addresses to the single IP address . Setting the signing key to Key 1 ensures that the SAS is invalidated when Key 1 is rotated but remains valid if Key 2 is rotated. Restricting the allowed IP addresses to the specific IP address limits access to only the partner application.
Step-by-Step Solution
Key Concept
Shared Access Signature (SAS) token configuration, key rotation binding, and network access restrictions.
Estimated Time:2m 0s