Skip to content

Create Vault

Choose how you manage your Vault

Setup

Add the dependency to your main.tf

terraform {
required_providers {
cryptvault = {
source = "cryptvault-cloud/cryptvault"
}
}
}

Configure Provider

provider "cryptvault" {}
Terminal window
terraform init

Create your Vault

Two pieces of information are required to create a Vault.

resource "cryptvault_cloud_vault" "my_vault" {
name = "name_of_your_vault"
token = "token_allow_you_to_create_vault"
}
Terminal window
terraform apply

Operator identity

When the cryptvault_cloud_vault resource is created, an operator identity is generated in the background on the client side.

This operator has all the rights to:

  • create additional identities
  • Access all secrets
  • manage the Vault itself
© 2025 CryptVault. All rigths reserved.