Share via


List all certificates

 

The list all certificates operation gets all the certificates that belong to an automation account.

Request

To specify the request, replace <subscription-id> with your subscription ID, <cloud-service-name> with the name of the cloud service to use for making the request, <automation-account-name> with the name of the automation account to use for making the request. Include required URI parameters.

Method

Request URI

GET

https://management.core.windows.net/<subscriptionId>/cloudServices/<cloud-service-name>/resources/automation/~/automationAccounts/<automation-account-name>/certificates?api-version={api-version}

URI Parameters

Parameter

Description

api-version

Required. Must be set to 2014-12-08.

Request Headers

The request header in the following table is required.

Request Header

Description

x-ms-version

Specifies the version of the operation. Set to 2013-06-01 or a later version.

Request Body

None

Response

Status Code

A successful operation returns 200 (OK). For information about common error codes, see HTTP/1.1 Status Code Definitions.

Response Headers

Request Header

Description

x-ms-request-id

A unique identifier for the current operation.

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"
         }
      }
   ]
}

Element

Description

name

Friendly name for the certificate.

description

Description of the certificate or additional information.

isExportable

true if the certificate can be exported; otherwise false.

thumbprint

The thumbprint of the certificate.

expriryTime

The date and time the certificate expires.

creationTime

The date and time the certificate was created.

lastmodificationTime

The date and time the certificate was last changed.

nextLink

Returned only when the number of records exceeds the page size (100 records). This link, and any subsequent links, returns the next page of records.

See Also

Automation Certificates
Operations on Automation