Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • 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
© 2026 Direct Cursus Technology L.L.C.
Yandex Key Management Service
  • Getting started
  • Access management
  • Pricing policy
    • Overview
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • FAQ
  1. CLI reference
  2. Overview

yc kms

Written by
Yandex Cloud
Updated at October 16, 2026
View in Markdown

Manage Key Management Service resources (compatible command tree)

Command tree v0 is the default. Run yc kms <command> or yc kms v0 <command>.

Command UsageCommand Usage

Syntax:

yc kms <group>

Command TreeCommand Tree

  • yc kms v0 — Manage Key Management Service resources (compatible command tree)

  • yc kms asymmetric-encryption-crypto — Perform asymmetric encryption crypto operations

    • yc kms asymmetric-encryption-crypto decrypt — Decrypt data with specified asymmetric encryption key

    • yc kms asymmetric-encryption-crypto get-public-key — Get public key

  • yc kms asymmetric-encryption-key — Manage asymmetric encryption keys

    • yc kms asymmetric-encryption-key add-access-binding — Add access binding for the specified asymmetric encryption key

    • yc kms asymmetric-encryption-key create — Create asymmetric encryption key

    • yc kms asymmetric-encryption-key delete — Delete the specified asymmetric encryption key

    • yc kms asymmetric-encryption-key get — Show information about the specified asymmetric encryption key

    • yc kms asymmetric-encryption-key list — List asymmetric encryption keys of the specified folder

    • yc kms asymmetric-encryption-key list-access-bindings — List access bindings for the specified asymmetric encryption key

    • yc kms asymmetric-encryption-key list-operations — List operations for the specified asymmetric encryption key

    • yc kms asymmetric-encryption-key remove-access-binding — Remove access binding for the specified asymmetric encryption key

    • yc kms asymmetric-encryption-key set-access-bindings — Set access bindings for the specified asymmetric encryption key and delete all existing access bindings if there were any

    • yc kms asymmetric-encryption-key update — Update the specified asymmetric encryption key

  • yc kms asymmetric-signature-crypto — Perform asymmetric signature crypto operations

    • yc kms asymmetric-signature-crypto get-public-key — Get public key

    • yc kms asymmetric-signature-crypto sign — Sign data with specified asymmetric signature key

    • yc kms asymmetric-signature-crypto sign-hash — Sign hash value with specified asymmetric signature key

  • yc kms asymmetric-signature-key — Manage asymmetric signature keys

    • yc kms asymmetric-signature-key add-access-binding — Add access binding for the specified asymmetric signature key

    • yc kms asymmetric-signature-key create — Create asymmetric signature key

    • yc kms asymmetric-signature-key delete — Delete the specified asymmetric signature key

    • yc kms asymmetric-signature-key get — Show information about the specified asymmetric signature key

    • yc kms asymmetric-signature-key list — List asymmetric signature keys of the specified folder

    • yc kms asymmetric-signature-key list-access-bindings — List access bindings for the specified asymmetric signature key

    • yc kms asymmetric-signature-key list-operations — List operations for the specified asymmetric signature key

    • yc kms asymmetric-signature-key remove-access-binding — Remove access binding for the specified asymmetric signature key

    • yc kms asymmetric-signature-key set-access-bindings — Set access bindings for the specified asymmetric signature key and delete all existing access bindings if there were any

    • yc kms asymmetric-signature-key update — Update the specified asymmetric signature key

  • yc kms symmetric-crypto — Perform symmetric crypto operations

    • yc kms symmetric-crypto decrypt — Decrypt data with specified symmetric key

    • yc kms symmetric-crypto encrypt — Encrypt data with specified symmetric key

    • yc kms symmetric-crypto generate-data-key — Generate data key and encrypt it with specified symmetric key

    • yc kms symmetric-crypto re-encrypt — Re-encrypt a ciphertext with the specified symmetric key

  • yc kms symmetric-key — Manage symmetric keys

    • yc kms symmetric-key add-access-binding — Add access binding for the specified symmetric key

    • yc kms symmetric-key cancel-version-destruction — Cancel destruction of the scheduled for destruction symmetric key version

    • yc kms symmetric-key create — Create symmetric key

    • yc kms symmetric-key delete — Delete the specified symmetric key

    • yc kms symmetric-key get — Show information about the specified symmetric key

    • yc kms symmetric-key list — List symmetric keys of the specified folder

    • yc kms symmetric-key list-access-bindings — List access bindings for the specified symmetric key

    • yc kms symmetric-key list-operations — List operations for the specified symmetric key

    • yc kms symmetric-key list-versions — List versions of the specified symmetric key

    • yc kms symmetric-key remove-access-binding — Remove access binding for the specified symmetric key

    • yc kms symmetric-key rotate — Rotate the specified symmetric key: creates a new key version and makes it the primary version

    • yc kms symmetric-key schedule-version-destruction — Schedule destruction of the specified symmetric key version

    • yc kms symmetric-key set-access-bindings — Set access bindings for the specified symmetric key and delete all existing access bindings if there were any

    • yc kms symmetric-key set-primary-version — Set primary version of the specified symmetric key

    • yc kms symmetric-key update — Update the specified symmetric key

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom profile.

--region

string

Set the region.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--pager

string

Set the custom pager.

--no-pager

Do not pipe help output through a pager.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--timeout

string

Set the timeout.

--token

string

Set the OAuth token to use.

--jq

string

Query to select values from the response using jq syntax

--endpoint

string

Set the Cloud API endpoint (host:port).

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--query

string

Query to select values from the response using jq syntax

--print-metadata

Print operation metadata along with result.

--syntax

string

Choose syntax option.

--cli-auto-prompt

string[="on"]

Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on.

--no-cli-auto-prompt

Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile).

-h, --help

Display help for the command.

  • Assigning a role
  • Getting a list of operations

Was the article helpful?

Previous
Pricing policy
Next
Overview
© 2026 Direct Cursus Technology L.L.C.