Certificate Manager API, REST: CertificateContent.get
Returns chain and private key of the specified certificate.
HTTP request
GET https://dpl.ycm.api.il.nebius.cloud/certificate-manager/v1/certificates/{certificateId}:getContent
Path parameters
Parameter | Description |
---|---|
certificateId | ID of the certificate to download content. |
Query parameters
Parameter | Description |
---|---|
versionId | Optional ID of the version. |
privateKeyFormat | Desired format of private key |
Response
HTTP Code: 200 - OK
{
"certificateId": "string",
"certificateChain": [
"string"
],
"privateKey": "string"
}
Field | Description |
---|---|
certificateId | string ID of the certificate. |
certificateChain[] | string PEM-encoded certificate chain content of the certificate. |
privateKey | string PEM-encoded private key content of the certificate. |