Expand description
merka-vault - Vault provisioning library
This crate provides tools to initialize and configure a HashiCorp Vault server.
It includes an Actix actor (VaultActor) for use in async systems and
standalone functions for direct use or CLI.
§Architecture
The crate follows a layered architecture with the following dependencies:
servermodule - HTTP API layer (can only access actor module)actormodule - Domain layer (can access vault and database modules)climodule - Command-line interface (can access actor module)vaultmodule - Vault implementation (core functionality, private to crate)databasemodule - Persistence layer (accessed through actor module)
This enforces separation of concerns and a clean dependency hierarchy. The vault module is private to the crate, ensuring all external access goes through the actor module, which enforces business rules and manages persistence.
Re-exports§
pub use actor::VaultActor;pub use database::DatabaseManager;pub use database::VaultCredentials;
Modules§
- actor
- Actor module for the Merka Vault library
- cli
- CLI module for the Merka Vault library
- database
- Database module for the Merka Vault library
- interface
- server