origin-secrets 0.2.0

SecretStore contract for Origin, with an in-memory implementation and a shared contract test suite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Credential storage as a port (ADR-0008).
//!
//! Tokens never go into the application database. They go here, and the concrete
//! backend is the OS keychain wherever one exists.

mod key;
mod memory;
mod secret;
mod store;

#[cfg(feature = "testing")]
pub mod contract;

pub use key::SecretKey;
pub use memory::MemorySecretStore;
pub use secret::Secret;
pub use store::SecretStore;