systemprompt-config 0.65.0

Profile-based configuration for systemprompt.io AI governance infrastructure. Bootstraps profiles, secrets, and credentials with zero environment-variable fallback.
Documentation
//! Bootstrap entry points.
//!
//! [`ProfileBootstrap`] and [`SecretsBootstrap`] install the process-global
//! profile and secrets, in that order. The ordering is a runtime invariant of
//! the entry-crate boot sequence — which interleaves credential and routing
//! resolution between the two steps — rather than a type-state, so these
//! initialisers are called directly by the CLI/API runners.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

mod key_material;
mod manifest;
mod master_key;
mod profile;
mod secrets;

pub use key_material::KeyMaterialError;
pub use manifest::{MANIFEST_SIGNING_SEED_BYTES, decode_seed, generate_seed, persist_seed};
pub use master_key::{ENCRYPTION_MASTER_KEY_BYTES, decode_master_key, generate_master_key};
pub use profile::{ProfileBootstrap, ProfileBootstrapError};
pub use secrets::{
    ResolvedSource, SecretsBootstrap, SecretsBootstrapError, SecretsDocument, SecretsProvider,
    VaultAttemptFailure, VaultError, VaultKvProvider, build_loaded_secrets_message,
    load_secrets_from_path, resolve_source,
};