Provide an Azure-native web certificate code snippet.TypeScript
The following code will create an Azure Web Certificate using the azure-native provider in Pulumi. The Azure Web Certificate is a managed certificate, specifically for App Service.
In this code,
passwordare secrets that should be provided as actual values.
resourceGroupNamerefers to the Resource Group under which you want the certificate to be created. The
nameparameter is needed to give a unique name for the certificate within the Azure environment.
Make sure you replace the placeholders for the
passwordSecretwith actual secret values from your environment. The
resourceGroupNameshould be according to your setup on Azure.
The highlighted line of
new azure_native.web.Certificateis where the new Azure Web Application Managed Certificate is being created.
Please note that the
pfxBlobparameter is a base64-encoded Public-Key Cryptography Standards (PKCS): PKCS#12-formatted certificate blob.
Visit the following link for more detailed information: Azure Native: Web Certificate