authy/lib.rs
1//! Authy — encrypted secrets vault with policy-based ACL, session tokens, and audit logging.
2//!
3//! This library exposes the core vault, authentication, policy, session, and audit
4//! modules for programmatic use. The CLI and TUI are gated behind the `cli` feature
5//! and are private to the binary.
6//!
7//! # Quick start
8//!
9//! ```no_run
10//! use authy::api::AuthyClient;
11//!
12//! let client = AuthyClient::with_passphrase("my-vault-passphrase")?;
13//! client.store("api-key", "sk-secret-value", false)?;
14//! let value = client.get("api-key")?;
15//! # Ok::<(), authy::error::AuthyError>(())
16//! ```
17
18pub mod api;
19pub mod audit;
20pub mod auth;
21pub mod config;
22pub mod error;
23pub mod policy;
24pub mod session;
25pub mod subprocess;
26pub mod types;
27pub mod vault;