ddunn801
ddunn801

Reputation: 1890

Azure Account-Level SAS Token: Possible to Have a Policy?

I found how to create an Azure account-level SAS token with PowerShell. Link However, the cmdlet New-AzureStorageAccountSASToken does not appear to accept a -Policy parameter.

Does this mean that there cannot be a SAS policy on an account-level SAS token? An implication would be that if the token were compromised, one could not just remove the policy but would have to change the key.

Upvotes: 1

Views: 93

Answers (1)

Martin Brandl
Martin Brandl

Reputation: 58991

Stored access policies are currently not supported for account SAS.

Source.

Stored access policies are only available for:

  • Blob containers
  • File shares
  • Queues
  • Tables

Thus you won't find it on the account level.

Upvotes: 1

Related Questions