Regenerate Primary Key of a SAS Policy (Hub)

[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
POST <hub-endpoint>/manage/sas/Policies/<policyName>/regenerateprimarykey?api-version=2017-04-26

URI Parameters

URI Parameter Required Description
Hub-endpoint Yes The base URL for your Customer Insights Hub
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.