CmdID / az / az containerapp / az containerapp env / az containerapp env certificate
az containerapp env certificate upload
Add or update a certificate. Azure CLI reference
2 examples 4 options Its page in the Azure CLI reference
Examples
Add or update a certificate.
az containerapp env certificate upload -g MyResourceGroup --name MyEnvironment --certificate-file MyFilepathIdentify-gName of resource group.--nameName of the Container Apps environment.--certificate-fileThe filepath of the .pfx or .pem fileAdd or update a certificate with a user-provided certificate name.
az containerapp env certificate upload -g MyResourceGroup --name MyEnvironment --certificate-file MyFilepath --certificate-name MyCertificateNameIdentify-gName of resource group.--nameName of the Container Apps environment.--certificate-fileThe filepath of the .pfx or .pem file--certificate-nameName of the certificate which should be unique within the Container Apps environment.Options
--certificate-file, -fThe filepath of the .pfx or .pem file--certificate-name, -cName of the certificate which should be unique within the Container Apps environment.--password, -pThe certificate file password--show-promptShow prompt to upload an existing certificate.