I am trying to retrieve app service certificate details , but it only retrieves for the entire ResourceGroup using powershell as follows:
az webapp config ssl list --resource-group "TestResourceGroup" | ConvertFrom-Json
There are a number of app services in this resource group. I want the certificate details for a certain app service not all .
How can i get the details for a particular app service ?
2
Answers
You can try using
az webapp config ssl show --resource-group <RG_val> --certificate-name <naked_FQDN>
(not sure what you need to return). Or alternatively use a JMESPath on theaz webapp config list
to control what you are returning.Thanks @mklement0, I have reproduced in my environment and got expected results as below and I followed Microsoft-Document:
XX- Name of the resource group