Azure rest apis to ListKeys of classic storage account

一世执手 提交于 2019-12-02 10:26:35

For classic storage accounts, the documented way to list keys is using Service Management API (unfortunately I am not able to find the documentation).

You can get the keys for a classic storage accounts using ARM API as well however it is not supported and Microsoft may remove that API completely anytime. To do so, simply use the following URL:

https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ClassicStorage/storageAccounts/{accountName}/listKeys?api-version=2015-06-01

It is also recommended that you convert your classic storage accounts to ARM storage accounts if possible.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!