本文介绍了一系列密钥保密机密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以将一个对象数组引用到密钥保管库中作为ARM模板的参数?
我希望我的链接模板能够根据参数数组引用多个事件中心。
与此类似的东西:
" eventHubs":{" value":[ {" connectionString":{" reference":{" keyVault":{" id":" [resourceId('Microsoft.KeyVault / vaults','keyVault']" }," secretName": " connectionStringA" } }," name":" eventhubA" }, {" connectionString":{"引用":{" keyVault" ;: {" id":" [resourceId('Microsoft.KeyVault / vaults','keyVault']" }," secretName":" connectionStringB" } }," name":" eventhubB" } ] },解决方案
您好Reginbaldr,
如果您还没有,请查看 这个 Azure快速启动模板,看看它是否符合您的需求。
Hi,
Is it possible to have an array of objects that reference secrets in a key vault as a parameter into an ARM template?
I would like that my linked template is able to reference multiple event hubs based on the parameter array.
Something similar to this:
"eventHubs": { "value": [ { "connectionString": { "reference": { "keyVault": { "id": "[resourceId('Microsoft.KeyVault/vaults', 'keyVault']" }, "secretName": "connectionStringA" } }, "name": "eventhubA" }, { "connectionString": { "reference": { "keyVault": { "id": "[resourceId('Microsoft.KeyVault/vaults', 'keyVault']" }, "secretName": "connectionStringB" } }, "name": "eventhubB" } ] }, 解决方案Hi Reginbaldr,
If you haven't already, check out this Azure Quick start template and see if it meets your needs.
更多推荐
一系列密钥保密机密
发布评论