Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
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 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.

Was the article helpful?

Previous
GetChain
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC