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
  • AsymmetricSignRequest
  • AsymmetricSignResponse
  1. API reference
  2. gRPC
  3. Key Management Service API
  4. AsymmetricSignatureCrypto
  5. Sign

Key Management Service API, gRPC: AsymmetricSignatureCryptoService.Sign

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • AsymmetricSignRequest
  • AsymmetricSignResponse

Signs data specified KMS key.

gRPC requestgRPC request

rpc Sign (AsymmetricSignRequest) returns (AsymmetricSignResponse)

AsymmetricSignRequestAsymmetricSignRequest

{
  "key_id": "string",
  "message": "bytes"
}

Field

Description

key_id

string

Required field. ID of the asymmetric KMS key to use for signature.

message

bytes

Required field. Message to sign.
Should be encoded with base64.

AsymmetricSignResponseAsymmetricSignResponse

{
  "key_id": "string",
  "signature": "bytes"
}

Field

Description

key_id

string

ID of the asymmetric KMS key that was used for signature.

signature

bytes

Value of signature.
Signature value is produced in accordance with RFC 8017 for RSA
and is a DER-encoded object as defined by ANSI X9.62-2005 and RFC 3279 Section 2.2.3 for ECDSA.

Was the article helpful?

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