[Yandex Cloud documentation](../index.md) > [Yandex Lockbox](index.md) > Terraform reference

# Terraform reference for Yandex Lockbox

With [Terraform](https://www.terraform.io/), you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the [Business Source License](https://github.com/hashicorp/terraform/blob/main/LICENSE). The [Yandex Cloud provider for Terraform](https://github.com/yandex-cloud/terraform-provider-yandex) is distributed under the [MPL-2.0](https://www.mozilla.org/en-US/MPL/2.0/) license.


For more information about Terraform, see [this tutorial](../tutorials/infrastructure-management/terraform-quickstart.md#install-terraform).

## Resources {#resources}

Yandex Lockbox supports the following Terraform resources :

| **Terraform resource** | **Yandex Cloud resource** |
| --- | --- |
| [yandex_lockbox_secret](../terraform/resources/lockbox_secret.md) | [Secret](concepts/secret.md#secret) |
| [yandex_lockbox_secret_iam_binding](../terraform/resources/lockbox_secret_iam_binding.md) | [Assigning](../iam/concepts/access-control/index.md#access-bindings) access permissions for a secret. <br>We recommend using `yandex_lockbox_secret_iam_member` instead of `yandex_lockbox_secret_iam_binding`. |
| [yandex_lockbox_secret_iam_member](../terraform/resources/lockbox_secret_iam_member.md) | [Assigning](../iam/concepts/access-control/index.md#access-bindings) access permissions for a secret |
| [yandex_lockbox_secret_version](../terraform/resources/lockbox_secret_version.md) | [Secret version](concepts/secret.md#version)<br> We recommend using `lockbox_secret_version_hashed` instead of `lockbox_secret_version`. |
| [yandex_lockbox_secret_version_hashed](../terraform/resources/lockbox_secret_version_hashed.md) | [Secret version](concepts/secret.md#version), stores values in Terraform state in hashed format. <br> Storing your data in like this is more secure than storing it openly. <br> May contain a maximum of 10 key-value pairs. |

## Data sources {#data-sources}

Yandex Lockbox supports the following Terraform data sources:

| **Terraform data source** | **Description** |
| --- | --- |
| [yandex_lockbox_secret](../terraform/data-sources/lockbox_secret.md) | Information about a [secret](concepts/secret.md#secret) |
| [yandex_lockbox_secret_version](../terraform/data-sources/lockbox_secret_version.md) | Information about a [secret version](concepts/secret.md#version) |