Certificate Manager Private CA API, gRPC: PrivateCaCertificateContentService.GetPrivateKey
Статья создана
Обновлена 17 декабря 2024 г.
Returns the private key for the specified certificate.
gRPC request
rpc GetPrivateKey (GetCertificatePrivateKeyRequest) returns (GetCertificatePrivateKeyResponse)
GetCertificatePrivateKeyRequest
{
"certificate_id": "string"
}
Request message for GetPrivateKey.
Field |
Description |
certificate_id |
string Required field. ID of the certificate to get the private key for. |
GetCertificatePrivateKeyResponse
{
"certificate_id": "string",
"private_key": "string"
}
Response message containing the private key.
Field |
Description |
certificate_id |
string ID of the certificate. |
private_key |
string The private key in PEM format. |