Regenerate Primary Key of a SAS Policy (ARM)

[This topic is pre-release documentation and is subject to change.]

Regenerates the primary key of the storage account associated with a Authentication Policy.


The request is constructed as follows:

HTTP Verb Request URI

URI Parameters

URI Parameter Required Description
subId Yes The Azure subscription ID
rgName Yes The resource group name
policyName Yes The name of SAS Policy associated with the key


The response includes a response body, an HTTP status code and a set of standard response headers.

Response Body

A SasPolicy type definition containing the new key.

Status Code

  • 200 (OK) - if the request completed successfully.
  • 401 (Access denied) - not authorized to perform regen operation.