Certificate Manager API, gRPC: CertificateContentService.Get
Статья создана
Обновлена 17 октября 2024 г.
Returns chain and private key of the specified certificate.
gRPC request
rpc Get (GetCertificateContentRequest) returns (GetCertificateContentResponse)
GetCertificateContentRequest
{
"certificateId": "string",
"versionId": "string",
"privateKeyFormat": "PrivateKeyFormat"
}
Field |
Description |
certificateId |
string ID of the certificate to download content. |
versionId |
string Optional ID of the version. |
privateKeyFormat |
enum PrivateKeyFormat Desired format of private key
|
GetCertificateContentResponse
{
"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. |