You are configuring security for an Azure Blob Storage container named `partner-imports` that multiple external clients use to upload diagnostic data. Each client requires write-only permissions. You must ensure that you can immediately revoke access for any individual client if their credentials are leaked, without affecting other clients and without rotating the storage account access keys. Which configuration should you use?
- A Service SAS associated with a unique Stored Access Policy for each client.Cevap
- BAn ad-hoc Service SAS with a -day expiration time for each client.
- CAn ad-hoc Account SAS with a -day expiration time for each client.
- DA Service SAS associated with a single Stored Access Policy shared by all clients.
Cevap
A Service SAS associated with a unique Stored Access Policy for each client.
A Stored Access Policy (SAP) defines constraints on the container level. When a Service SAS is associated with an SAP, Azure Storage validates the SAS against the policy. Modifying or deleting the SAP immediately invalidates all Service SAS tokens associated with it. By using a unique SAP for each client, you can revoke access for an individual client by deleting or modifying their specific policy without affecting others.
Adım Adım Çözüm
Anahtar Kavram
Stored Access Policies for Service SAS Revocation