1. Registry
  2. Packages
  3. HashiCorp Vault Provider
  4. API Docs
  5. transform
  6. TransformationTokenizationStore
Viewing docs for HashiCorp Vault v7.13.0
published on Friday, Sep 18, 2026 by Pulumi
vault logo vault logo
Viewing docs for HashiCorp Vault v7.13.0
published on Friday, Sep 18, 2026 by Pulumi

    This resource supports the “/transform/stores/{name}” Vault endpoint.

    If a tokenization store with the given name doesn’t exist, it will be created. If a tokenization store with the given name exists, it will be updated with the new attributes.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const example = new vault.Mount("example", {
        path: "transform",
        type: "transform",
    });
    const exampleTransformationTokenizationStore = new vault.transform.TransformationTokenizationStore("example", {
        path: example.path,
        name: "my-store",
        type: "sql",
        driver: "postgres",
        connectionString: "postgresql://{{username}}:{{password}}@127.0.0.1:5432/vault?sslmode=disable",
        username: "vaultuser",
        password: "vaultpass",
        supportedTransformations: ["tokenization"],
    });
    const exampleTransformationTokenization = new vault.transform.TransformationTokenization("example", {
        path: example.path,
        name: "tkn-example",
        stores: [exampleTransformationTokenizationStore.name],
        deletionAllowed: true,
        allowedRoles: ["payments"],
    });
    
    import pulumi
    import pulumi_vault as vault
    
    example = vault.Mount("example",
        path="transform",
        type="transform")
    example_transformation_tokenization_store = vault.transform.TransformationTokenizationStore("example",
        path=example.path,
        name="my-store",
        type="sql",
        driver="postgres",
        connection_string="postgresql://{{username}}:{{password}}@127.0.0.1:5432/vault?sslmode=disable",
        username="vaultuser",
        password="vaultpass",
        supported_transformations=["tokenization"])
    example_transformation_tokenization = vault.transform.TransformationTokenization("example",
        path=example.path,
        name="tkn-example",
        stores=[example_transformation_tokenization_store.name],
        deletion_allowed=True,
        allowed_roles=["payments"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v7/go/vault"
    	"github.com/pulumi/pulumi-vault/sdk/v7/go/vault/transform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := vault.NewMount(ctx, "example", &vault.MountArgs{
    			Path: pulumi.String("transform"),
    			Type: pulumi.String("transform"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleTransformationTokenizationStore, err := transform.NewTransformationTokenizationStore(ctx, "example", &transform.TransformationTokenizationStoreArgs{
    			Path:             example.Path,
    			Name:             pulumi.String("my-store"),
    			Type:             pulumi.String("sql"),
    			Driver:           pulumi.String("postgres"),
    			ConnectionString: pulumi.String("postgresql://{{username}}:{{password}}@127.0.0.1:5432/vault?sslmode=disable"),
    			Username:         pulumi.String("vaultuser"),
    			Password:         pulumi.String("vaultpass"),
    			SupportedTransformations: pulumi.StringArray{
    				pulumi.String("tokenization"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = transform.NewTransformationTokenization(ctx, "example", &transform.TransformationTokenizationArgs{
    			Path: example.Path,
    			Name: pulumi.String("tkn-example"),
    			Stores: pulumi.StringArray{
    				exampleTransformationTokenizationStore.Name,
    			},
    			DeletionAllowed: pulumi.Bool(true),
    			AllowedRoles: pulumi.StringArray{
    				pulumi.String("payments"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vault = Pulumi.Vault;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Vault.Mount("example", new()
        {
            Path = "transform",
            Type = "transform",
        });
    
        var exampleTransformationTokenizationStore = new Vault.Transform.TransformationTokenizationStore("example", new()
        {
            Path = example.Path,
            Name = "my-store",
            Type = "sql",
            Driver = "postgres",
            ConnectionString = "postgresql://{{username}}:{{password}}@127.0.0.1:5432/vault?sslmode=disable",
            Username = "vaultuser",
            Password = "vaultpass",
            SupportedTransformations = new[]
            {
                "tokenization",
            },
        });
    
        var exampleTransformationTokenization = new Vault.Transform.TransformationTokenization("example", new()
        {
            Path = example.Path,
            Name = "tkn-example",
            Stores = new[]
            {
                exampleTransformationTokenizationStore.Name,
            },
            DeletionAllowed = true,
            AllowedRoles = new[]
            {
                "payments",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vault.Mount;
    import com.pulumi.vault.MountArgs;
    import com.pulumi.vault.transform.TransformationTokenizationStore;
    import com.pulumi.vault.transform.TransformationTokenizationStoreArgs;
    import com.pulumi.vault.transform.TransformationTokenization;
    import com.pulumi.vault.transform.TransformationTokenizationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Mount("example", MountArgs.builder()
                .path("transform")
                .type("transform")
                .build());
    
            var exampleTransformationTokenizationStore = new TransformationTokenizationStore("exampleTransformationTokenizationStore", TransformationTokenizationStoreArgs.builder()
                .path(example.path())
                .name("my-store")
                .type("sql")
                .driver("postgres")
                .connectionString("postgresql://{{username}}:{{password}}@127.0.0.1:5432/vault?sslmode=disable")
                .username("vaultuser")
                .password("vaultpass")
                .supportedTransformations("tokenization")
                .build());
    
            var exampleTransformationTokenization = new TransformationTokenization("exampleTransformationTokenization", TransformationTokenizationArgs.builder()
                .path(example.path())
                .name("tkn-example")
                .stores(exampleTransformationTokenizationStore.name())
                .deletionAllowed(true)
                .allowedRoles("payments")
                .build());
    
        }
    }
    
    resources:
      example:
        type: vault:Mount
        properties:
          path: transform
          type: transform
      exampleTransformationTokenizationStore:
        type: vault:transform:TransformationTokenizationStore
        name: example
        properties:
          path: ${example.path}
          name: my-store
          type: sql
          driver: postgres
          connectionString: postgresql://{{username}}:{{password}}@127.0.0.1:5432/vault?sslmode=disable
          username: vaultuser
          password: vaultpass
          supportedTransformations:
            - tokenization
      exampleTransformationTokenization:
        type: vault:transform:TransformationTokenization
        name: example
        properties:
          path: ${example.path}
          name: tkn-example
          stores:
            - ${exampleTransformationTokenizationStore.name}
          deletionAllowed: true
          allowedRoles:
            - payments
    
    pulumi {
      required_providers {
        vault = {
          source = "pulumi/vault"
        }
      }
    }
    
    resource "vault_mount" "example" {
      path = "transform"
      type = "transform"
    }
    resource "vault_transform_transformationtokenizationstore" "example" {
      path                      = vault_mount.example.path
      name                      = "my-store"
      type                      = "sql"
      driver                    = "postgres"
      connection_string         = "postgresql://{{username}}:{{password}}@127.0.0.1:5432/vault?sslmode=disable"
      username                  = "vaultuser"
      password                  = "vaultpass"
      supported_transformations = ["tokenization"]
    }
    resource "vault_transform_transformationtokenization" "example" {
      path             = vault_mount.example.path
      name             = "tkn-example"
      stores           = [vault_transform_transformationtokenizationstore.example.name]
      deletion_allowed = true
      allowed_roles    = ["payments"]
    }
    

    Create TransformationTokenizationStore Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TransformationTokenizationStore(name: string, args: TransformationTokenizationStoreArgs, opts?: CustomResourceOptions);
    @overload
    def TransformationTokenizationStore(resource_name: str,
                                        args: TransformationTokenizationStoreArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransformationTokenizationStore(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        connection_string: Optional[str] = None,
                                        driver: Optional[str] = None,
                                        username: Optional[str] = None,
                                        type: Optional[str] = None,
                                        path: Optional[str] = None,
                                        password: Optional[str] = None,
                                        namespace: Optional[str] = None,
                                        name: Optional[str] = None,
                                        max_open_connections: Optional[int] = None,
                                        schema: Optional[str] = None,
                                        supported_transformations: Optional[Sequence[str]] = None,
                                        max_idle_connections: Optional[int] = None,
                                        max_connection_lifetime: Optional[int] = None)
    func NewTransformationTokenizationStore(ctx *Context, name string, args TransformationTokenizationStoreArgs, opts ...ResourceOption) (*TransformationTokenizationStore, error)
    public TransformationTokenizationStore(string name, TransformationTokenizationStoreArgs args, CustomResourceOptions? opts = null)
    public TransformationTokenizationStore(String name, TransformationTokenizationStoreArgs args)
    public TransformationTokenizationStore(String name, TransformationTokenizationStoreArgs args, CustomResourceOptions options)
    
    type: vault:transform:TransformationTokenizationStore
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "vault_transform_transformation_tokenization_store" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TransformationTokenizationStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TransformationTokenizationStoreArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TransformationTokenizationStoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransformationTokenizationStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransformationTokenizationStoreArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var transformationTokenizationStoreResource = new Vault.Transform.TransformationTokenizationStore("transformationTokenizationStoreResource", new()
    {
        ConnectionString = "string",
        Driver = "string",
        Username = "string",
        Type = "string",
        Path = "string",
        Password = "string",
        Namespace = "string",
        Name = "string",
        MaxOpenConnections = 0,
        Schema = "string",
        SupportedTransformations = new[]
        {
            "string",
        },
        MaxIdleConnections = 0,
        MaxConnectionLifetime = 0,
    });
    
    example, err := transform.NewTransformationTokenizationStore(ctx, "transformationTokenizationStoreResource", &transform.TransformationTokenizationStoreArgs{
    	ConnectionString:   pulumi.String("string"),
    	Driver:             pulumi.String("string"),
    	Username:           pulumi.String("string"),
    	Type:               pulumi.String("string"),
    	Path:               pulumi.String("string"),
    	Password:           pulumi.String("string"),
    	Namespace:          pulumi.String("string"),
    	Name:               pulumi.String("string"),
    	MaxOpenConnections: pulumi.Int(0),
    	Schema:             pulumi.String("string"),
    	SupportedTransformations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	MaxIdleConnections:    pulumi.Int(0),
    	MaxConnectionLifetime: pulumi.Int(0),
    })
    
    resource "vault_transform_transformation_tokenization_store" "transformationTokenizationStoreResource" {
      lifecycle {
        create_before_destroy = true
      }
      connection_string         = "string"
      driver                    = "string"
      username                  = "string"
      type                      = "string"
      path                      = "string"
      password                  = "string"
      namespace                 = "string"
      name                      = "string"
      max_open_connections      = 0
      schema                    = "string"
      supported_transformations = ["string"]
      max_idle_connections      = 0
      max_connection_lifetime   = 0
    }
    
    var transformationTokenizationStoreResource = new TransformationTokenizationStore("transformationTokenizationStoreResource", TransformationTokenizationStoreArgs.builder()
        .connectionString("string")
        .driver("string")
        .username("string")
        .type("string")
        .path("string")
        .password("string")
        .namespace("string")
        .name("string")
        .maxOpenConnections(0)
        .schema("string")
        .supportedTransformations("string")
        .maxIdleConnections(0)
        .maxConnectionLifetime(0)
        .build());
    
    transformation_tokenization_store_resource = vault.transform.TransformationTokenizationStore("transformationTokenizationStoreResource",
        connection_string="string",
        driver="string",
        username="string",
        type="string",
        path="string",
        password="string",
        namespace="string",
        name="string",
        max_open_connections=0,
        schema="string",
        supported_transformations=["string"],
        max_idle_connections=0,
        max_connection_lifetime=0)
    
    const transformationTokenizationStoreResource = new vault.transform.TransformationTokenizationStore("transformationTokenizationStoreResource", {
        connectionString: "string",
        driver: "string",
        username: "string",
        type: "string",
        path: "string",
        password: "string",
        namespace: "string",
        name: "string",
        maxOpenConnections: 0,
        schema: "string",
        supportedTransformations: ["string"],
        maxIdleConnections: 0,
        maxConnectionLifetime: 0,
    });
    
    type: vault:transform:TransformationTokenizationStore
    properties:
        connectionString: string
        driver: string
        maxConnectionLifetime: 0
        maxIdleConnections: 0
        maxOpenConnections: 0
        name: string
        namespace: string
        password: string
        path: string
        schema: string
        supportedTransformations:
            - string
        type: string
        username: string
    

    TransformationTokenizationStore Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TransformationTokenizationStore resource accepts the following input properties:

    ConnectionString string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    Driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    Password string
    The password value to use when connecting to the database.
    Path string
    Path to where the back-end is mounted within Vault.
    Type string
    Specifies the type of store, currently only sql is supported.
    Username string
    The username value to use when connecting to the database.
    MaxConnectionLifetime int
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    MaxIdleConnections int
    The maximum number of idle connections to the database at any given time. Default is 4.
    MaxOpenConnections int
    The maximum number of connections to the database at any given time. Default is 4.
    Name string
    Name of the store to create or update.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Schema string
    The schema within the database to expect tokenization state tables. Default is public.
    SupportedTransformations List<string>
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    ConnectionString string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    Driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    Password string
    The password value to use when connecting to the database.
    Path string
    Path to where the back-end is mounted within Vault.
    Type string
    Specifies the type of store, currently only sql is supported.
    Username string
    The username value to use when connecting to the database.
    MaxConnectionLifetime int
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    MaxIdleConnections int
    The maximum number of idle connections to the database at any given time. Default is 4.
    MaxOpenConnections int
    The maximum number of connections to the database at any given time. Default is 4.
    Name string
    Name of the store to create or update.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Schema string
    The schema within the database to expect tokenization state tables. Default is public.
    SupportedTransformations []string
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    connection_string string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    password string
    The password value to use when connecting to the database.
    path string
    Path to where the back-end is mounted within Vault.
    type string
    Specifies the type of store, currently only sql is supported.
    username string
    The username value to use when connecting to the database.
    max_connection_lifetime number
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    max_idle_connections number
    The maximum number of idle connections to the database at any given time. Default is 4.
    max_open_connections number
    The maximum number of connections to the database at any given time. Default is 4.
    name string
    Name of the store to create or update.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    schema string
    The schema within the database to expect tokenization state tables. Default is public.
    supported_transformations list(string)
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    connectionString String
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver String
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    password String
    The password value to use when connecting to the database.
    path String
    Path to where the back-end is mounted within Vault.
    type String
    Specifies the type of store, currently only sql is supported.
    username String
    The username value to use when connecting to the database.
    maxConnectionLifetime Integer
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    maxIdleConnections Integer
    The maximum number of idle connections to the database at any given time. Default is 4.
    maxOpenConnections Integer
    The maximum number of connections to the database at any given time. Default is 4.
    name String
    Name of the store to create or update.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    schema String
    The schema within the database to expect tokenization state tables. Default is public.
    supportedTransformations List<String>
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    connectionString string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    password string
    The password value to use when connecting to the database.
    path string
    Path to where the back-end is mounted within Vault.
    type string
    Specifies the type of store, currently only sql is supported.
    username string
    The username value to use when connecting to the database.
    maxConnectionLifetime number
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    maxIdleConnections number
    The maximum number of idle connections to the database at any given time. Default is 4.
    maxOpenConnections number
    The maximum number of connections to the database at any given time. Default is 4.
    name string
    Name of the store to create or update.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    schema string
    The schema within the database to expect tokenization state tables. Default is public.
    supportedTransformations string[]
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    connection_string str
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver str
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    password str
    The password value to use when connecting to the database.
    path str
    Path to where the back-end is mounted within Vault.
    type str
    Specifies the type of store, currently only sql is supported.
    username str
    The username value to use when connecting to the database.
    max_connection_lifetime int
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    max_idle_connections int
    The maximum number of idle connections to the database at any given time. Default is 4.
    max_open_connections int
    The maximum number of connections to the database at any given time. Default is 4.
    name str
    Name of the store to create or update.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    schema str
    The schema within the database to expect tokenization state tables. Default is public.
    supported_transformations Sequence[str]
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    connectionString String
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver String
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    password String
    The password value to use when connecting to the database.
    path String
    Path to where the back-end is mounted within Vault.
    type String
    Specifies the type of store, currently only sql is supported.
    username String
    The username value to use when connecting to the database.
    maxConnectionLifetime Number
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    maxIdleConnections Number
    The maximum number of idle connections to the database at any given time. Default is 4.
    maxOpenConnections Number
    The maximum number of connections to the database at any given time. Default is 4.
    name String
    Name of the store to create or update.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    schema String
    The schema within the database to expect tokenization state tables. Default is public.
    supportedTransformations List<String>
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TransformationTokenizationStore resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TransformationTokenizationStore Resource

    Get an existing TransformationTokenizationStore resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TransformationTokenizationStoreState, opts?: CustomResourceOptions): TransformationTokenizationStore
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connection_string: Optional[str] = None,
            driver: Optional[str] = None,
            max_connection_lifetime: Optional[int] = None,
            max_idle_connections: Optional[int] = None,
            max_open_connections: Optional[int] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            password: Optional[str] = None,
            path: Optional[str] = None,
            schema: Optional[str] = None,
            supported_transformations: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            username: Optional[str] = None) -> TransformationTokenizationStore
    func GetTransformationTokenizationStore(ctx *Context, name string, id IDInput, state *TransformationTokenizationStoreState, opts ...ResourceOption) (*TransformationTokenizationStore, error)
    public static TransformationTokenizationStore Get(string name, Input<string> id, TransformationTokenizationStoreState? state, CustomResourceOptions? opts = null)
    public static TransformationTokenizationStore get(String name, Output<String> id, TransformationTokenizationStoreState state, CustomResourceOptions options)
    resources:  _:    type: vault:transform:TransformationTokenizationStore    get:      id: ${id}
    import {
      to = vault_transform_transformation_tokenization_store.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ConnectionString string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    Driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    MaxConnectionLifetime int
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    MaxIdleConnections int
    The maximum number of idle connections to the database at any given time. Default is 4.
    MaxOpenConnections int
    The maximum number of connections to the database at any given time. Default is 4.
    Name string
    Name of the store to create or update.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Password string
    The password value to use when connecting to the database.
    Path string
    Path to where the back-end is mounted within Vault.
    Schema string
    The schema within the database to expect tokenization state tables. Default is public.
    SupportedTransformations List<string>
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    Type string
    Specifies the type of store, currently only sql is supported.
    Username string
    The username value to use when connecting to the database.
    ConnectionString string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    Driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    MaxConnectionLifetime int
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    MaxIdleConnections int
    The maximum number of idle connections to the database at any given time. Default is 4.
    MaxOpenConnections int
    The maximum number of connections to the database at any given time. Default is 4.
    Name string
    Name of the store to create or update.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Password string
    The password value to use when connecting to the database.
    Path string
    Path to where the back-end is mounted within Vault.
    Schema string
    The schema within the database to expect tokenization state tables. Default is public.
    SupportedTransformations []string
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    Type string
    Specifies the type of store, currently only sql is supported.
    Username string
    The username value to use when connecting to the database.
    connection_string string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    max_connection_lifetime number
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    max_idle_connections number
    The maximum number of idle connections to the database at any given time. Default is 4.
    max_open_connections number
    The maximum number of connections to the database at any given time. Default is 4.
    name string
    Name of the store to create or update.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    password string
    The password value to use when connecting to the database.
    path string
    Path to where the back-end is mounted within Vault.
    schema string
    The schema within the database to expect tokenization state tables. Default is public.
    supported_transformations list(string)
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    type string
    Specifies the type of store, currently only sql is supported.
    username string
    The username value to use when connecting to the database.
    connectionString String
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver String
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    maxConnectionLifetime Integer
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    maxIdleConnections Integer
    The maximum number of idle connections to the database at any given time. Default is 4.
    maxOpenConnections Integer
    The maximum number of connections to the database at any given time. Default is 4.
    name String
    Name of the store to create or update.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    password String
    The password value to use when connecting to the database.
    path String
    Path to where the back-end is mounted within Vault.
    schema String
    The schema within the database to expect tokenization state tables. Default is public.
    supportedTransformations List<String>
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    type String
    Specifies the type of store, currently only sql is supported.
    username String
    The username value to use when connecting to the database.
    connectionString string
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver string
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    maxConnectionLifetime number
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    maxIdleConnections number
    The maximum number of idle connections to the database at any given time. Default is 4.
    maxOpenConnections number
    The maximum number of connections to the database at any given time. Default is 4.
    name string
    Name of the store to create or update.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    password string
    The password value to use when connecting to the database.
    path string
    Path to where the back-end is mounted within Vault.
    schema string
    The schema within the database to expect tokenization state tables. Default is public.
    supportedTransformations string[]
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    type string
    Specifies the type of store, currently only sql is supported.
    username string
    The username value to use when connecting to the database.
    connection_string str
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver str
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    max_connection_lifetime int
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    max_idle_connections int
    The maximum number of idle connections to the database at any given time. Default is 4.
    max_open_connections int
    The maximum number of connections to the database at any given time. Default is 4.
    name str
    Name of the store to create or update.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    password str
    The password value to use when connecting to the database.
    path str
    Path to where the back-end is mounted within Vault.
    schema str
    The schema within the database to expect tokenization state tables. Default is public.
    supported_transformations Sequence[str]
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    type str
    Specifies the type of store, currently only sql is supported.
    username str
    The username value to use when connecting to the database.
    connectionString String
    A database connection string with template slots for username and password that Vault will use for locating and connecting to a database. Each database driver type has a different syntax for its connection strings. Note: When using MySQL, make sure to append ?parseTime=true to enable timestamp parsing.
    driver String
    Specifies the database driver to use, and thus which SQL database type. Currently the supported options are postgres, mysql, and mssql.
    maxConnectionLifetime Number
    The maximum amount of time a connection can be open before closing it. 0 means no limit. Default is 0.
    maxIdleConnections Number
    The maximum number of idle connections to the database at any given time. Default is 4.
    maxOpenConnections Number
    The maximum number of connections to the database at any given time. Default is 4.
    name String
    Name of the store to create or update.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    password String
    The password value to use when connecting to the database.
    path String
    Path to where the back-end is mounted within Vault.
    schema String
    The schema within the database to expect tokenization state tables. Default is public.
    supportedTransformations List<String>
    The list of transformations that this store can support. Currently, only tokenization is supported. Default is [tokenization]
    type String
    Specifies the type of store, currently only sql is supported.
    username String
    The username value to use when connecting to the database.

    Import

    Transform tokenization stores can be imported using path/name, e.g.

    $ pulumi import vault:transform/transformationTokenizationStore:TransformationTokenizationStore example transform/stores/my-store
    

    Note that the following fields cannot be recovered from Vault on import and will be empty after import: type, username, password, schema, maxOpenConnections, maxIdleConnections, maxConnectionLifetime.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Vault pulumi/pulumi-vault
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vault Terraform Provider.
    vault logo vault logo
    Viewing docs for HashiCorp Vault v7.13.0
    published on Friday, Sep 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial