[QUERY] How to import certificate from KeyVault when creating/updating an AppService (CreateOrUpdateWebSiteResource)? #46369
Labels
App Services
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.ResourceManager 1.12.0
Query/Question
I cannot find a working way to import a certificate from KeyVault when creating/updating an AppService (WebSite).
I'm am NOT using the certificate for TLS/SSL host binding. The certificate is used by the application code to authenticate with a database service.
I have tried this:
But it doesn't show up in the app service certificates when browsing the portal under "Bring your own certificates (.pfx)".
I haven't found any example code except similar to the webSiteData.HostNameSslStates.Add. If I add the certificate through the portal it works perfect, I just need to be able to do the same using Azure.ResourceManager
Environment
No response
The text was updated successfully, but these errors were encountered: