vault_transform_transformation

This resource supports the "/transform/transformation/{name}" Vault endpoint.

It creates or updates a transformation with the given name. If a transformation with the name does not exist, it will be created. If the transformation exists, it will be updated with the new attributes.

Example Usage

resource "vault_mount" "example" {
  path = "transform"
  type = "transform"
}

resource "vault_transform_transformation" "example" {
  path          = vault_mount.example.path
  name          = "ccn-fpe"
  type          = "fpe"
  template      = "ccn"
  tweak_source  = "internal"
  allowed_roles = ["payments"]
}

Argument Reference

The following arguments are supported:

Tutorials

Refer to the Codify Management of Vault Enterprise Using Terraform tutorial for additional examples of configuring data transformation using the Transform secrets engine.