使用Arm模板设置存储帐户密钥 [英] Set Storage Account key using an Arm Template
问题描述
我希望能够使用ARM模板设置天蓝色存储帐户的访问密钥.我看了没有任何示例的快速入门模板.这没有给我任何示例: https://docs. microsoft.com/en-us/azure/templates/microsoft.storage/storageaccounts 和Google搜寻展示了许多如何获取动态生成的密钥的示例.
I want to be able to set the access keys of a azure storage account using an ARM Template. I have looked at the quick start templates which don't have any examples. This does not give me any examples: https://docs.microsoft.com/en-us/azure/templates/microsoft.storage/storageaccounts and googling reveals lots of examples of how to get the dynamically generated keys.
推荐答案
我希望能够设置一个Azure存储帐户的访问密钥 使用ARM模板.
I want to be able to set the access keys of a azure storage account using an ARM Template.
一个简单的答案就是你做不到.当前,Azure存储服务会自动为您生成访问密钥.您无法选择/指定自定义帐户密钥.
Simple answer is that you can't. Currently Azure Storage Service generates access keys for you automatically. You can't choose/specify a custom account key.
这篇关于使用Arm模板设置存储帐户密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!