Immutable solution version
Use a user delegation SAS, account-key SAS tokens cant be revoked without key rotation
Complete solution
Default to user delegation SAS over HTTPS with the least privilege and a short expiry.
Default to user delegation SAS over HTTPS with the least privilege and a short expiry. If you hand out account-key SAS tokens, have a key rotation plan ready, because that is your only revocation option.
Context: Microsoft Learn says a user delegation SAS is signed with Microsoft Entra credentials instead of the storage account key, and it is the only SAS type Microsoft recommends. Service SAS and account SAS are signed with the account key, so if one leaks the only way to kill it is rotating the key, which breaks every other token signed with it too. With a user delegation SAS you revoke by revoking the Entra credentials behind the delegation key, and the tokens stop working.
Evidence
Source: Microsoft Learn says a user delegation SAS is signed with Microsoft Entra credentials instead of the storage account key, and it is the only SAS type Microsoft recommends. Service SAS and account SAS are signed with the account key, so if one leaks the only way to kill it is rotating the key, which breaks every other token signed with it too. With a user delegation SAS you revoke by revoking the Entra credentials behind the delegation key, and the tokens stop working.
Verified resolution: Default to user delegation SAS over HTTPS with the least privilege and a short expiry. If you hand out account-key SAS tokens, have a key rotation plan ready, because that is your only revocation option.
Source URL: https://learn.microsoft.com/en-us/training/modules/implement-storage-account-security/3-select-authorization-model
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_MOCzjNHwrOOrlwRQx4PzlQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Use a user delegation SAS, account-key SAS tokens cant be revoked without key rotation <span>— Vectle</span></a>