Azure Key Vault parameter reference limit

删除回忆录丶 提交于 2019-12-12 19:10:06

问题


When I reference more than 30 keys from my global Key Vault in ARM template parameter file, then I get the following error in my deployments.

The deployment has specified too many KeyVault parameter references. The maximum of KeyVault parameter references is '30'.

Please help me how to override this limit or what is the alternative to reference more than 30 secrets/keys from Key Vault?


回答1:


Just create a nested deployment that will reference 30 more secrets and return those as output into the main one, that way you can work around that restriction




回答2:


One alternative is to store multiple values in a single secret as JSON. You can load that single secret from key vault and then use the json() template function to convert it into an object. Pass the secret to a linked template as a string, then use the json function in that linked template.



来源:https://stackoverflow.com/questions/51602558/azure-key-vault-parameter-reference-limit

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