Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Resource]: Support creating a tokenization store and adding a schema #2390

Open
opp-svega opened this issue Jan 15, 2025 · 0 comments
Open

Comments

@opp-svega
Copy link

Description

Are there any plans on creating a new resource to create/update tokenization stores? I would also like to be able to create the schemas in the same resource or another resource if all possible.

https://developer.hashicorp.com/vault/api-docs/secret/transform#create-update-tokenization-store
https://developer.hashicorp.com/vault/api-docs/secret/transform#create-update-store-schema

Potential Terraform Configuration

resource "vault_transform_tokenization_store" "example" {
  name                       = "example"
  type                       = "mysql"
  driver                     = "postgres"
  connection_string          = "internal"
  username                   = "postgres"
  password                   = "xxxxxxxx"
  supported_transformations  = ["payments"]
  schema                     = "vault"
  max_connections            = 4
  max_idle_connections       = 4
  max_connection_lifetime    = 0
  create_schema              = true
}

References

No response

Would you like to implement a fix?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant