CmdID / az / az nginx / az nginx deployment / az nginx deployment certificate
az nginx deployment certificate update
Update an NGINX deployment certificate Azure CLI extensions reference
1 example 4 options Its page in the Azure CLI extensions reference
Examples
Update the certificate virtual path, key virtual path and certificate
az nginx deployment certificate update --certificate-name myCertificate --deployment-name myDeployment --resource-group myResourceGroup --certificate-path /etc/nginx/testupdated.cert --key-path /etc/nginx/testupdated.key --key-vault-secret-id newKeyVaultSecretIdIdentify--certificate-nameThe name of certificate--deployment-nameThe name of targeted Nginx deployment--resource-groupName of resource group.--key-vault-secret-idThe secret ID for your certificate from Azure Key VaultOptions
--certificate-name, --name, -nThe name of certificate--certificate-path, --key-path--deployment-nameThe name of targeted Nginx deployment--key-vault-secret-idThe secret ID for your certificate from Azure Key Vault