Certificates

Gets information about the specified certificate.

get/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})

Path parameters

thumbprintAlgorithmstring required

The algorithm used to derive the thumbprint parameter. This must be sha1.

thumbprintstring required

The thumbprint of the certificate to get.

Query parameters

$selectstring

Sets an OData $select clause.

timeoutinteger

Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

api-versionstring required

Client API Version.

Headers

client-request-idstring

Caller generated request identity, in the form of a GUID with no decoration such as curly braces e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

return-client-request-idboolean

Specifies if the server should return the client-request-id identifier in the response.

ocp-datestring date-time-rfc1123

The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

Response

OK

thumbprintstring

Get or sets the X.509 thumbprint of the certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed).

thumbprintAlgorithmstring

Gets or sets the algorithm used to derive the thumbprint. This must be sha1.

urlstring

Gets or sets the URL of the certificate.

state'active' | 'deleting' | 'deletefailed'

Gets or sets the current state of the certificate.

stateTransitionTimestring date-time

Gets or sets the time at which the certificate entered its current state.

previousState'active' | 'deleting' | 'deletefailed'

Gets or sets the previous state of the certificate. This property is not set if the certificate is in its initial Active state.

previousStateTransitionTimestring date-time

Gets or sets the time at which the certificate entered its previous state. This property is not set if the certificate is in its initial Active state.

publicDatastring

Gets or sets the public part of the certificate as a base-64 encoded .cer file.

Changes