Automate certificate creation during deployment #535
Replies: 2 comments 2 replies
-
Hello, I solved this solution by add CertificatePolicy collection to options and create time triggered function, which reads pre-configured certificates from options and issue unissued ones.
I configure function via bicep template, during deployment. Disadvantage is, certificate is not created right away after deployment. Another option is to call api from your pipeline |
Beta Was this translation helpful? Give feedback.
-
I can use terraform to pull down a certificate using vancluever/acme and store it in the same keyvault that acmebot will use. You still need to manually have acmebot manage the certificate, by clicking "renew" in the web portal though. |
Beta Was this translation helpful? Give feedback.
-
Hi,
first, thank you for the great solution.
Here is my issue:
When deploying resources, such as app gw, an existing certificate in a key vault is needed. Now after you deploy keyvault-acmebot (f. e. using the tf module), how can you create the certificate right away, and retrieve it later in the same automation when deploying the resource which requires the certificate?
(if available, a code sample would be great)
Thanks! :)
Beta Was this translation helpful? Give feedback.
All reactions