how to revoke Shared Access Signature in Azure SDK

前端 未结 4 1242
后悔当初
后悔当初 2021-02-19 07:58

I could not find any code sample for revoking the created Shared Access Signature access on blob, can anyone provide me link or reference for removing the Shared Access Signatu

4条回答
  •  不知归路
    2021-02-19 08:19

    You can't revoke a shared access signature unless it is based on a stored access policy. See http://msdn.microsoft.com/en-us/library/azure/dn140257.aspx for more information:

    To revoke a stored access policy, you can either delete it, or rename it by changing the signed identifier. Changing the signed identifier breaks the associations between any existing signatures and the stored access policy. Deleting or renaming the stored access policy immediately effects all of the shared access signatures associated with it.

提交回复
热议问题