问题
Azure has a simple way of adding an App Service Certificate
to a Key Vault
from the web interface. I did this and later I accidentally deleted the certificate from the Key Vault
. The App Service Certificate
resource is still there, but the certificate no longer shows up in my Key Vault
(obviously).
Is there a way that I can re-add my App Service Certificate
to my Key Vault
?
Attached images:
The App Service Certificate still thinks it's been added to Key Vault:
... but the cert is no longer available in the Key Vault:
回答1:
App Service Certificate stores the private certificate into a user-provided Key Vault secret. When App Service Certificate is deployed into a web app, a Web Apps resource provider deploys it from the Key Vault secret that's associated with App Service Certificate.
So, when you add app service certificate to azure keyvault, you could not see anything in Certificate
option.
For more details, you could refer to this article.
来源:https://stackoverflow.com/questions/53202773/azure-manually-add-app-service-certificate-to-key-vault