首页 > 解决方案 > VMSS 的 Keyvault 扩展

问题描述

我找到了这个文档https://devblogs.microsoft.com/aspnet/announcing-an-easier-way-to-use-latest-certificates-from-key-vault/和一些其他 ARM 参考资料来添加 Keyvault 扩展VMSS 以实现证书自动轮换。但是,当我尝试进行部署时,扩展只是超时而没有给出任何有用的错误消息。为此,是否有任何限制,例如,密钥保管库和 VMSS 需要位于同一资源组上?有谁知道我的模板可能有什么问题。

这是我的扩展:

{ 
   "name": "KeyVaultForWindows", 
   "location": "[variables('location')]", 
   "properties": { "publisher": "Microsoft.Azure.KeyVault", 
   "type": "KeyVaultForWindows", "typeHandlerVersion": "0.0", 
   "autoUpgradeMinorVersion": true, 
   "settings": 
   { 
      "secretsManagementSettings": { 
          "pollingIntervalInS": "60", 
          "requireInitialSync": true, 
          "certificateStoreName": "MY", 
          "certificateStoreLocation": "LocalMachine", 
          "observedCertificates": ["https:///secrets/"] }
       } 
    }
}```

标签: armazure-keyvaultazure-vm-scale-set

解决方案


推荐阅读