Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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 Key Management Service
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
          • Overview
          • Decrypt
          • GetPublicKey
  • Monitoring metrics
  • Audit Trails events
  • FAQ

In this article:

  • HTTP request
  • Path parameters
  • Body parameters
  • Response
  1. API reference
  2. REST
  3. Key Management Service API
  4. AsymmetricEncryptionCrypto
  5. Decrypt

Key Management Service API, REST: AsymmetricEncryptionCrypto.Decrypt

Written by
Yandex Cloud
Updated at December 9, 2025
  • HTTP request
  • Path parameters
  • Body parameters
  • Response

Decrypts the given ciphertext with the specified key.

HTTP requestHTTP request

POST https://kms.api.cloud.yandex.net/kms/v1/asymmetricEncryptionKeys/{keyId}:decrypt

Path parametersPath parameters

Field

Description

keyId

string

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

The maximum string length in characters is 50.

Body parametersBody parameters

{
  "ciphertext": "string"
}

Field

Description

ciphertext

string (bytes)

Required field. Ciphertext to be decrypted.
Should be encoded with base64.

The maximum string length in characters is 32768.

ResponseResponse

HTTP Code: 200 - OK

{
  "keyId": "string",
  "plaintext": "string"
}

Field

Description

keyId

string

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

plaintext

string (bytes)

Decrypted plaintext.

Was the article helpful?

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