config-vault-source
config-vault-source is an extension for the config crate that allows loading configurations
directly from HashiCorp Vault.
Source code of config-vault-source is pretty similar as in parent crate config-vault but with support
of async and nested configuration keys.
TODO: implement TLS connection.
This library implements a custom Source or AsyncSource via async feature for the config crate that can
connect to a HashiCorp Vault server and load secrets from the KV1/KV2 engines as
configuration values.
Example
use ;
use VaultSource;
If you want to use the KV1 engine, you can use the new_v1 method instead of new:
use VaultSource;
let vault_source = new_v1;