Skill 2.1.3
Configure stored access policies
Key Concepts
A stored access policy is created on a blob container, file share, queue or table with an identifier, a start time, an expiry time and permissions. A service SAS that references the policy by its identifier inherits those values instead of carrying them in the URL. Each container, share, queue or table can have up to five stored access policies, and changes can take up to 30 seconds to take effect.
The main benefit is revocation. Deleting the policy, renaming its identifier or setting its expiry time to the past immediately invalidates every SAS associated with it, without rotating the account key and breaking every other client. Stored access policies are not supported for user delegation SAS or account SAS. In the portal, policies are managed on the container's Access policy page, and the SAS generation dialog lets you select a stored access policy.