A retail company stores point-of-sale (POS) transaction audit logs in an Azure Blob Storage container named pos-audit-logs. A third-party auditing firm requires temporary read access to this container. You must design an access control solution that meets the following security requirements:
- Access must be limited to a specific 30-day auditing window.
- The security team must be able to revoke the access immediately in the event of a credential compromise, without affecting other integrations that rely on the storage account keys.
- The external auditors must be granted only the minimum required permissions.
Which access control strategy should you recommend?
- Create a Stored Access Policy on the container and generate a Shared Access Signature (SAS) token associated with that policy.Cevap
- BGenerate an ad-hoc Shared Access Signature (SAS) token directly with a start time, expiry time, and read permission.
- CAssign the Storage Blob Data Reader role directly to each of the external auditor's individual Microsoft Entra ID user accounts.
- DConfigure a Privileged Identity Management (PIM) policy that assigns the Storage Blob Data Reader role to the auditors as a permanently active assignment.
Cevap
Create a Stored Access Policy on the container and generate a Shared Access Signature (SAS) token associated with that policy.
The correct solution is to use a Stored Access Policy on the container and issue a SAS token linked to that policy. A Stored Access Policy provides a management layer on the storage container. By changing the policy parameters or deleting the policy itself, the associated SAS token is immediately invalidated, providing a reliable revocation mechanism. This satisfies the requirement to terminate access in the event of a compromise without rotating the storage account keys, which would affect other integrations.
Adım Adım Çözüm
Anahtar Kavram
Stored Access Policies provide a way to group shared access signatures and provide additional constraints, including the ability to revoke them immediately without rotating storage account keys.