Trait t_rust_less_lib::secrets_store::SecretsStore [−][src]
pub trait SecretsStore: Debug + Send + Sync { fn status(&self) -> SecretStoreResult<Status>; fn lock(&self) -> SecretStoreResult<()>; fn unlock(
&self,
identity_id: &str,
passphrase: SecretBytes
) -> SecretStoreResult<()>; fn identities(&self) -> SecretStoreResult<Vec<Identity>>; fn add_identity(
&self,
identity: Identity,
passphrase: SecretBytes
) -> SecretStoreResult<()>; fn change_passphrase(
&self,
passphrase: SecretBytes
) -> SecretStoreResult<()>; fn list(&self, filter: &SecretListFilter) -> SecretStoreResult<SecretList>; fn update_index(&self) -> SecretStoreResult<()>; fn add(&self, secret_version: SecretVersion) -> SecretStoreResult<String>; fn get(&self, secret_id: &str) -> SecretStoreResult<Secret>; fn get_version(&self, block_id: &str) -> SecretStoreResult<SecretVersion>; }