List certificates

 

Updated: May 26, 2016

The List certificates task lists the certificate assets in an automation account.

The related Windows PowerShell cmdlet for this task is Get-AzureRmAutomationCertificate.

To specify the request, replace {subscription-id} with your subscription ID, {resource-group-name} with the name of your resource group, and {automation-account-name} with the name of the automation account to use for this task.

Method

Request URI

GET

https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Automation/automationAccounts/{automation-account-name}/certificates?api-version=2015-10-31

URI parameter

Description

api-version

Required. Valid values include 2015-10-31

The following code shows an example of the response body.

{
   "value":[
      {
         "name":"SSLCert-Litware.com",
         "properties":{
            "description":"Litware.com certificate",
            "isExportable":false,
            "thumbprint":"99E7C5699E4C54AC8A8F7191800599DE94BBCE94",
            "expiryTime":"2016-12-30T20:24:57+00:00",
            "creationTime":"2015-03-26T03:47:11.713+00:00",
            "lastModifiedTime":"2015-03-26T03:47:11.713+00:00"
         }
      },
      {
         "name":"SSLCert-Litware_X3.com",
         "properties":{
            "description":"Litware.com certificate (X3)",
            "isExportable":false,
            "thumbprint":"0735053FAEDB0F971D9111CDCCA5ACADE1E1734E",
            "expiryTime":"2017-02-25T23:54:23+00:00",
            "creationTime":"2015-03-26T04:38:15.83+00:00",
            "lastModifiedTime":"2015-03-26T04:38:15.83+00:00"
         }
      },
      {
         "name":" SSLCert-Litware_X3.com ",
         "properties":{
            "description":" Litware.com certificate (X4)",
            "isExportable":false,
            "thumbprint":"2025933192FE0BD8D288F627510A3A6E7F14F0E2",
            "expiryTime":"2039-12-31T23:59:59+00:00",
            "creationTime":"2015-02-13T18:00:00.12+00:00",
            "lastModifiedTime":"2015-03-16T06:56:39.85+00:00"
         }
      }
   ]
}



If the number of records exceeds the page size (100 records), a 'nextLink' element is provided to link to subsequent pages as needed.

200

For information about common error codes, see Service Management Status and Error Codes

Show: