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
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Key Management Service
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
          • Overview
          • Sign
          • SignHash
          • GetPublicKey
  • Monitoring metrics
  • Audit Trails events
  • FAQ

In this article:

  • gRPC request
  • AsymmetricGetPublicKeyRequest
  • AsymmetricGetPublicKeyResponse
  1. API reference
  2. gRPC
  3. Key Management Service API
  4. AsymmetricSignatureCrypto
  5. GetPublicKey

Key Management Service API, gRPC: AsymmetricSignatureCryptoService.GetPublicKey

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • AsymmetricGetPublicKeyRequest
  • AsymmetricGetPublicKeyResponse

Gets value of public key.

gRPC requestgRPC request

rpc GetPublicKey (AsymmetricGetPublicKeyRequest) returns (AsymmetricGetPublicKeyResponse)

AsymmetricGetPublicKeyRequestAsymmetricGetPublicKeyRequest

{
  "key_id": "string"
}

Field

Description

key_id

string

Required field. ID of the asymmetric KMS key to be used for public key retrieval.

AsymmetricGetPublicKeyResponseAsymmetricGetPublicKeyResponse

{
  "key_id": "string",
  "public_key": "string"
}

Field

Description

key_id

string

ID of the asymmetric KMS key to get public key of.

public_key

string

Public key value.
The value is a PEM-encoded X.509 public key, also known as SubjectPublicKeyInfo (SPKI),
as defined in RFC 5280.

Was the article helpful?

Previous
SignHash
Next
Overview
© 2025 Direct Cursus Technology L.L.C.