tsafe-cli 1.0.21

tsafe CLI — local secret and credential manager (replaces .env files)
Documentation
//! KeePass `.kdbx` cloud-pull provider.
//!
//! Opens a local `.kdbx` database file and extracts entries as key/value pairs
//! suitable for import into the tsafe vault.  This provider performs file I/O
//! only — no network calls are made.
//!
//! ## Configuration (`.tsafe.yml`)
//!
//! ```yaml
//! pulls:
//!   - source: kp
//!     path: /home/user/.secrets/dev.kdbx
//!     password_env: TSAFE_KP_PASSWORD   # env var; never literal in manifest
//!     keyfile_path: /home/user/.keys/dev.keyx  # optional
//!     group: Infrastructure             # optional group filter
//!     recursive: false                  # default
//!     ns: infra                         # ADR-012 namespace prefix
//! ```
//!
//! ## Key mapping
//!
//! Standard KeePass fields are mapped as follows (title normalised):
//!
//! | KeePass field | Vault key example        |
//! |---------------|--------------------------|
//! | `UserName`    | `DATABASE_CREDS_USERNAME`|
//! | `Password`    | `DATABASE_CREDS_PASSWORD`|
//! | `URL`         | `DATABASE_CREDS_URL`     |
//! | custom field  | `DATABASE_CREDS_<FIELD>` |
//!
//! `Notes` are skipped by default.

pub mod config;
pub mod error;
pub mod reader;

pub use config::KeePassConfig;
pub use error::KeePassError;
pub use reader::pull_entries;