Vaultier /slɒθ/ :sloth:

Small crate to read secrets from Hashicorp Vault.

Usage

```rust use vaultier::SecretClient; use serde::Deserialize;

[derive(Deserialize)]

struct MySecrets { pub username: String, pub password: String, }

let address = ""; let mount = String::from(""); let basepath = String::from(""); let client = SecretClient::new(address, mount, basepath, None).unwrap();

// read secrets from that base path let secrets = client.read_secrets::().await.unwrap();

// read secrets from the passed path relative to the base path: mount/data/basepath/my-secrets let secrets = client.readsecrets_from::("my-secrets").await.unwrap(); ```