rusty_vault 0.2.1

RustyVault is a powerful identity-based secrets management software, providing features such as cryptographic key management, encryption as a service, public key cryptography, certificates management, identity credentials management and so forth. RustyVault's RESTful API is designed to be fully compatible with Hashicorp Vault.
Documentation
1
2
3
4
5
6
7
8
9
use serde_json::{Map, Value};

use super::{Client, HttpResponse};
use crate::errors::RvError;

pub trait LoginHandler: Send + Sync {
    fn auth(&self, client: &Client, data: &Map<String, Value>) -> Result<HttpResponse, RvError>;
    fn help(&self) -> String;
}