Scale set using keyvault in another region

前端 未结 3 1679
名媛妹妹
名媛妹妹 2021-02-06 15:50

I\'m working with an ARM template that creates a VM Scale Set for a Service Fabric cluster and associates some secrets with the VMs from a keyvault. I discovered this morning th

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-06 16:04

    You can use an architecture of a central key vault that you access for template parameters and store those secrets in a regional key vault. Then link to the regional key vault for your scale set. If the secrets are certificates you can have an ARM function to format the certificate (as a secret) properly to be imported as a part of the OSImage property on the VM/VMSS.

    A more indepth look can be found here: https://devblogs.microsoft.com/premier-developer/centralized-vm-certificate-deployment-across-multiple-regions-with-arm-templates/

提交回复
热议问题