We are currently using Azure CLI in order to create resources dynamically from a third party application.
Everything goes well, except for importing an app certificate for our dynamically created app service.
We do have an "App Service Certificate", and through the portal we can import it without any problem.
But how can we do this through Azure CLI WITHOUT having to download/upload a .PFX
file?
Is there some command like the following pseudo-command?
az app service --add-app-service-certificate -subscriptionId MY_SUB -app-service MY_APP_SERVICE --certificate MY_APP_SERVICE_CERTIFICATE
.pfx
file. – MasonApp Service certificate
and store it to Key Vault, please check first half of the doc. – George Chen