Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • 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.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • lockbox_secret
          • lockbox_secret_iam_binding
          • lockbox_secret_iam_member
          • lockbox_secret_version
          • lockbox_secret_version_hashed

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Lockbox
  4. Resources
  5. lockbox_secret_version_hashed

yandex_lockbox_secret_version_hashed (Resource)

Written by
Yandex Cloud
Updated at February 9, 2026
  • Example usage
  • Arguments & Attributes Reference

Yandex Cloud Lockbox secret version resource (with values hashed in state). For more information, see the official documentation.

~> The <NUMBER> can range from 1 to 10. If you only need one entry, use key_1/text_value_1. If you need a second entry, use key_2/text_value_2, and so on.

Example usageExample usage

//
// Create a new Lockbox Secret Hashed Version.
//
resource "yandex_lockbox_secret" "my_secret" {
  name = "test secret"
}

resource "yandex_lockbox_secret_version_hashed" "my_version" {
  secret_id = yandex_lockbox_secret.my_secret.id
  key_1     = "key1"
  // in Terraform state, these values will be stored in hash format
  text_value_1 = "sensitive value 1"
  key_2        = "k2"
  text_value_2 = "sensitive value 2"
  // etc. (up to 10 entries)
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • description (String). The Yandex Cloud Lockbox secret version description.
  • id (String).
  • key_1 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_10 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_2 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_3 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_4 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_5 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_6 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_7 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_8 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • key_9 (String). Each of the entry keys in the Yandex Cloud Lockbox secret version.
  • secret_id (Required)(String). The Yandex Cloud Lockbox secret ID where to add the version.
  • text_value_1 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_10 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_2 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_3 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_4 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_5 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_6 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_7 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_8 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.
  • text_value_9 (String). Each of the entry values in the Yandex Cloud Lockbox secret version.

Was the article helpful?

Previous
lockbox_secret_version
Next
airflow_cluster
© 2026 Direct Cursus Technology L.L.C.