List Management Certificates

 

The List Management Certificates operation returns basic information about all of the management certificates that are associated with the specified subscription.

Request

The List Management Certificates request may be specified as follows. Replace <subscription-id> with the subscription ID.

Method

Request URI

GET

https://management.core.windows.net/<subscription-id>/certificates

URI Parameters

None.

Request Headers

The following table describes the request headers.

Request Header

Description

x-ms-version

Required. Specifies the version of the operation to use for this request. This header should be set to 2012-03-01 or higher.

Request Body

None.

Response

The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

A successful operation returns status code 200 (OK).

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers.

Response Header

Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

Response Body

The format of the response body is as follows:

<?xml version="1.0" encoding="utf-8"?>
   <SubscriptionCertificates xmlns=”https://schemas.microsoft.com/windowsazure”>
      <SubscriptionCertificate> 
         <SubscriptionCertificatePublicKey>public-key</SubscriptionCertificatePublicKey>
         <SubscriptionCertificateThumbprint>certificate-thumbprint</SubscriptionCertificateThumbprint>
         <SubscriptionCertificateData>raw-certificate-data</SubscriptionCertificateData>
         <Created>time-created</Created>
      </SubscriptionCertificate>
   </SubscriptionCertificates>

The following table describes the elements of the response body.

Element name

Description

SubscriptionCertificatePublicKey

Specifies a base-64 encoded public key for the management certificate.

SubscriptionCertificateThumbprint

Specifies the thumbprint of the management certificate.

SubscriptionCertificateData

Specifies the base-64 encoded data contained in the management certificate, in .cer format.

Created

Specifies the time that the management certificate was created, in UTC. An example Created value is 2011-05-11T16:15:26Z.