Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Certificate Manager
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
          • Overview
          • GetChain
          • GetPrivateKey
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • gRPC request
  • GetCertificatePrivateKeyRequest
  • GetCertificatePrivateKeyResponse
  1. API reference
  2. gRPC
  3. Certificate Manager Private CA API
  4. PrivateCaCertificateContent
  5. GetPrivateKey

Certificate Manager Private CA API, gRPC: PrivateCaCertificateContentService.GetPrivateKey

Written by
Yandex Cloud
Updated at January 29, 2026
View in Markdown
  • gRPC request
  • GetCertificatePrivateKeyRequest
  • GetCertificatePrivateKeyResponse

Returns the private key for the specified certificate.

gRPC requestgRPC request

rpc GetPrivateKey (GetCertificatePrivateKeyRequest) returns (GetCertificatePrivateKeyResponse)

GetCertificatePrivateKeyRequestGetCertificatePrivateKeyRequest

{
  "certificate_id": "string"
}

Request message for GetPrivateKey.

Field

Description

certificate_id

string

Required field. ID of the certificate to get the private key for.

The maximum string length in characters is 50.

GetCertificatePrivateKeyResponseGetCertificatePrivateKeyResponse

{
  "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.

Was the article helpful?

Previous
GetChain
Next
Overview
© 2026 Direct Cursus Technology L.L.C.