Get Management Certificate

 

The Get Management Certificate operation retrieves information about the management certificate with the specified thumbprint.

Request

The Get Management Certificate request may be specified as follows. Replace <subscription-id> with the subscription ID and <thumbprint> with the thumbprint of the certificate.

Method

Request URI

GET

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

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 must 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 for the response body is as follows:

< SubscriptionCertificate xmlns=”https://schemas.microsoft.com/windowsazure”>
   <SubscriptionCertificatePublicKey>public-key</SubscriptionCertificatePublicKey>
   <SubscriptionCertificateThumbprint>certificate-thumbprint</SubscriptionCertificateThumbprint>
   <SubscriptionCertificateData>raw-certificate-data</SubscriptionCertificateData>
   <Created>time-created</Created>
</SubscriptionCertificate>

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 for the management certificate.

SubscriptionCertificateData

Specifies a 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.