ARM-如何从存储帐户中获取访问密钥,以便稍后在模板的AppSettings中使用? [英] ARM - How can I get the access key from a storage account to use in AppSettings later in the template?
本文介绍了ARM-如何从存储帐户中获取访问密钥,以便稍后在模板的AppSettings中使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建一个Azure资源管理器模板,该模板可实例化多个资源,包括Azure存储帐户和带有Web App的Azure App Service.
I'm creating an Azure Resource Manager template that instantiates multiple resources, including an Azure storage account and an Azure App Service with a Web App.
我希望能够从新创建的存储帐户中捕获主访问密钥(或完整的连接字符串,无论哪种方式都可以),并将其用作Web的AppSettings之一的值应用程序.
I'd like to be able to capture the primary access key (or the full connection string, either way is fine) from the newly-created storage account, and use that as a value for one of the AppSettings for the Web App.
有可能吗?
推荐答案
This quickstart does something similar:
这篇关于ARM-如何从存储帐户中获取访问密钥,以便稍后在模板的AppSettings中使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文