how to get certificate thumbprint in ARM template?

Ernesto 61 Reputation points
2023-02-03T14:55:51.4466667+00:00

after executing below arm, how can I get certificate thumbprint?

    "resources": [
      {
        "apiVersion": "2019-08-01",
        "location": "[parameters('Location')]",
        "name": "[variables('certificateName')]",
        "type": "Microsoft.Web/certificates",
        "properties": {
          "serverFarmId": "[resourceId('Microsoft.Web/serverfarms/', parameters('AppServicePlanName'))]",
          "canonicalName": "[parameters('SubjectName')]",
          "domainValidationMethod": "http-token"
        }
      }
    ],
Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
75 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,808 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,661 Reputation points
    2023-02-10T07:54:45.96+00:00

    Thanks for reaching here Check this document link: https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.web/app-service-certificate-standard

     [reference(resourceId('Microsoft.CertificateRegistration/certificateOrders', parameters('certificateOrderName'))).SignedCertificate.Thumbprint]
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.