Certificate Manager Private CA API, gRPC: PrivateCaCertificateContentService.GetPrivateKey
Written by
Updated at December 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. |