## providers.vault.VaultDtoKeyValueStore

<span id="hexkit.providers.vault.VaultDtoKeyValueStore"></span>


Vault-specific KVStore provider for Pydantic model (DTO) data.


Usage

``` python
providers.vault.VaultDtoKeyValueStore(
    *,
    client,
    config,
    dto_model,
    **kwargs,
)
```


This store allows arbitrary DTOs (Pydantic models) to be stored as values, with the DTO model passed in the constructor. DTOs are serialized using Pydantic's model_dump and stored as dicts in Vault.


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize the provider with configuration and model type. |

<span id="__init__"></span>

<span id="hexkit.providers.vault.VaultDtoKeyValueStore.__init__"></span>


#### \_\_init\_\_()


Initialize the provider with configuration and model type.


Usage

``` python
__init__(*, client, config, dto_model, **kwargs)
```


##### Parameters


`client: ConfiguredVaultClient`  
An instance of a configured Vault client.

`config: VaultConfig`  
Vault-specific config parameters.

`dto_model: type[Dto]`  
The Pydantic model type to support for values.


You might be able to pass additional arguments specific to subclasses.
