terraform-provider-vault
terraform-provider-vault copied to clipboard
[New Resource]: Support creating a tokenization store and adding a schema
trafficstars
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