An open-source Rust reimplementation of HashiCorp Vault or openbao
Find a file
C0ffeeCode 16aada55c5
Add readme
and update container's alpine
2025-06-17 10:58:29 -07:00
.github/workflows Create CI workflow 2024-04-27 13:22:25 +02:00
.sqlx Docs & sqlx prep: Improved documentation and update sqlx preparation files for offline builds 2025-06-17 10:08:38 -07:00
go_tests Refactor: Secret struct and feature-gates 2025-04-02 18:59:33 +02:00
migrations Added basic token auth extractor 2025-05-19 13:21:10 +02:00
src cargo fmt 2025-06-17 10:11:50 -07:00
.gitignore Feat (sealing): Simple Password sealing 2025-03-27 17:13:48 +01:00
Cargo.lock Corrected lock file 2025-06-10 16:25:07 -07:00
Cargo.toml Added basic service token functionality and root token creation. 2025-05-07 17:24:07 +02:00
Containerfile Add readme 2025-06-17 10:58:29 -07:00
Justfile Feat (kv2): kv2 data access (no metadata) 2025-03-24 19:45:44 +01:00
openapi-bao.json Feat (kv2): kv2 data access (no metadata) 2025-03-24 19:45:44 +01:00
openapi.json Update basic layout 2024-04-10 17:41:15 +02:00
README.md Add readme 2025-06-17 10:58:29 -07:00

rvault

rvault is an open-source implementation of the API of Vault and OpenBao, written in Rust.

Running

You can run an offline build with SQLX_OFFLINE=true cargo run or build, respectively. An offline build requires an up-to-date SQLx preparation.

An OCI container image can be created using podman build . -t rvault.

Furthermore, rvault attempts to read a .env file in the current working directory. For example, its content could be:

DATABASE_URL=sqlite:test.db
RUST_LOG=debug

Development

SQLx preparation can be updated with cargo sqlx prep. Hence, it is not useful for development. With cargo sqlx database reset the database will be recreated, deleting all contents and reapplying migrations. This is helpful when changing migrations during development.

When running a normal, not-offline, build, the database must be migrated (e.g. using cargo sqlx database reset) for compilation of compile-time-checked queries.