Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Certificate Manager
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • 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 December 17, 2024
  • 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.

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
© 2025 Direct Cursus Technology L.L.C.