Question 230
A partner must list documents in one Blob container and download selected blobs for the next two days. The partner cannot edit or delete data. What delegation should be issued?
Explanation
Correct Answer
To enumerate blobs in a container, the delegated operation needs list permission, while downloading blob contents requires read permission. A SAS can constrain both operations to the selected container and expire after the authorized period. Avoid write, delete and account-wide resource types because the partner should not modify data or inspect unrelated datasets. If the storage firewall restricts external clients, provide an approved network path as a separate prerequisite.
Incorrect Answers
A broad contributor role permits writes and deletes and may extend to other accounts in the subscription. It is inconsistent with temporary read-only partner access. Use SAS read/list permissions at the specific container scope for the intended two-day period. The authorized task is confined to a single container.
Downloading a blob is a read operation, and listing container members requires list permission. A token with write only would fail those requested operations while granting an unneeded mutation capability. Generate a container-scoped read/list SAS rather than trying to compensate with broader access.
Account keys confer broad authority over supported storage services and are inappropriate for limited partner access to one container. The partner's activities and lifetime can be enforced by a scoped SAS, avoiding long-lived credentials that are difficult to contain if leaked.