[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Get Certificate Library Item
DescriptionRetrieves the specified certificate library item. Note: This API also supports a former (erroneously spelt) alternate path /cetificateLibrary/{id} as a Deprecated API (deprecated-in and removed after API version 36.0)
Request
URLURL
https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary/{id}
Path Parameters
Path Parameters
string
id
Required
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
CertificateLibraryItem
of type(s) application/json;version=37.1
{
"alias": "string",
"certificate": "string",
"description": "string",
"id": "string",
"privateKey": "string",
"privateKeyPassphrase": "string"
}
string
alias
Required
string
certificate
Required
PEM encoded certificate. All extraneous whitespace and other information is removed.
string
description
Optional
Description of the certificate library item
string
id
Changed
Optional
string
privateKey
Optional
PEM encoded private key. Required if providing a certificate chain
string
privateKeyPassphrase
Optional
passphrase for the private key. Required if the private key is encrypted
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary/{id}
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 35.0