从关键保管库将证书上传到App Service [英] Upload Certificate to App Service from key Vault
问题描述
在Azure密钥保险库中,证书将在到期日之前自动更新.想知道如何将更新的证书上传到App-Service/Azure函数.
In Azure Key Vault Certificate will be auto renewed nearer to expiry date. would like to know how can renewed certificate be uploaded to App-Service/ Azure Functions.
KeyVault上是否有一个钩子可以用来监听证书是否成功重新创建.因此,指纹和更新的证书将更新为App Service.
Is there a hook available on KeyVault to listen for Certificate successful recreation. so Thumbprint and renewed certificate will be updated to App Service.
推荐答案
不,没有这样的钩子.您可以使用azure powershell \ cli \ rest api \任何方式来检索证书并将其推送到应用程序服务.您可以将Azure Function \ Runbook配置为按计划执行此操作,因此您不必为此担心.
No, there is no such hook. You can use azure powershell\cli\rest api\whatever to retrieve the certificate and push it to the app service. You can configure Azure Function\Runbook to do that on a schedule, so you dont have to worry about it.
Rest Api: https://docs.microsoft.com/en-us/rest/api/appservice/certificates/createorupdate
Powershell: https://docs.microsoft.com/en-us/azure/app-service/scripts/powershell-configure-ssl-certificate
Azure Cli: https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-configure-ssl-certificate
Rest Api: https://docs.microsoft.com/en-us/rest/api/appservice/certificates/createorupdate
Powershell: https://docs.microsoft.com/en-us/azure/app-service/scripts/powershell-configure-ssl-certificate
Azure Cli: https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-configure-ssl-certificate
这篇关于从关键保管库将证书上传到App Service的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!