Azure-cli: webapp:Support deploying a certificate in Azure Key Vault to a Web App

Created on 29 Nov 2017  路  8Comments  路  Source: Azure/azure-cli

Found examples on the internet that deploy a key vault certificate into a web app. But they are done either directly via the REST endpoint, or using ARM template deployment.

https://blogs.msdn.microsoft.com/appserviceteam/2016/05/24/deploying-azure-web-app-certificate-through-key-vault/

https://winterdom.com/2017/08/29/webapp-with-keyvault-cert-and-sql-token-auth

Can we do that using Azure CLI?

App Services KeyVault Service Attention Web Apps question

Most helpful comment

this should be fixed by the change https://github.com/Azure/azure-cli/pull/11429

All 8 comments

Is there any action on this request? Uploading a cert for an app service from a keyvault entity is a trivial action when using the portal.

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI

NO ETA on this for now. We will update when we have an ETA - for now please use portal.

I've written a script to pull the cert from keyvault to the machine executing the script and then using the existing CLI commands to upload and bind. Using the portal is not a feasible workaround for the volume of times that we're doing this.

@yutanglin16 we need come up with plan/ design for supporting this.

I've written a script to pull the cert from keyvault to the machine executing the script and then using the existing CLI commands to upload and bind. Using the portal is not a feasible workaround for the volume of times that we're doing this.

@gavinbarron care to share with rest of the classroom your solution, got this far when realized this _minor_ detail...

this should be fixed by the change https://github.com/Azure/azure-cli/pull/11429

Closing since this change is now merged

Was this page helpful?
0 / 5 - 0 ratings