An administrator needs to configure temporary access for a partner application to download blobs from a container named incoming-transfers in an Azure Storage account named partnerdataretrieval. The access configuration must meet the following security requirements:
- The partner application must only connect from the public IP address 198.51.100.55.
- The connection must be restricted to HTTPS.
- Access must automatically expire after 8 hours.
- The administrator must be able to revoke this access immediately before the 8-hour period expires without affecting other active SAS tokens or rotating the storage account access keys.
Which two actions should the administrator perform to meet these requirements?
- Create a stored access policy on the incoming-transfers container.Cevap
- Generate a Service SAS for the container that references the stored access policy, specifying the allowed IP address and requiring HTTPS.Cevap
- CAssign the Reader Azure RBAC role to the partner application at the resource group level.
- DGenerate an Account SAS that specifies the allowed IP address, HTTPS protocol, and expiration time.
Cevap
Create a stored access policy on the container and generate a Service SAS for the container that references the stored access policy while specifying the allowed IP address and requiring HTTPS.
To support immediate revocation of the Shared Access Signature (SAS) without affecting other tokens, you must associate the SAS with a stored access policy on the container. A Service SAS supports association with stored access policies, allowing revocation by simply deleting or modifying the policy. The specific constraints for the client IP address and HTTPS protocol are specified when generating the SAS token.
Adım Adım Çözüm
Anahtar Kavram
Manage Storage Access Keys and Shared Access Signatures (SAS)