Add database, aws, approle and ssh engines with credential caching
release / validate (push) Successful in 5s
test / test (push) Successful in 1m6s
release / build (, macos-arm64, macos-arm64) (push) Successful in 1m20s
release / build (amd64, linux-amd64, linux-amd64) (push) Successful in 1m7s
release / build (arm64, linux-arm64, linux-arm64) (push) Successful in 2m2s
release / release (push) Successful in 26s

New OpenBao credential engines (database/PostgreSQL, aws, approle, ssh)
backed by a POST-capable BaoClient. Queries can set cache = true on
dynamic database and aws roles to reuse the credential until near lease
expiry (file store by default, optional keychain), revoking the old lease
on refresh. Adds [cache] store and --clear-cache.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-11-09 13:24:47 +00:00
1 parent 78ff2b0ddd
commit 0cde1ff7f7
20 files changed
+1708 -29

No files matched your search

+4 -2
View File
@@ -20,8 +20,10 @@ safely quoted `export` statements for your shell to evaluate.
you only; all failures print *nothing* to stdout, so a failed run can never half-configure
your shell. See [docs/security.md](docs/security.md).
- **Config-driven queries** - choose exactly which secrets, keys, prefixes and renames you want.
- **KV v1 and v2** with automatic version detection. Other credential engines are planned and
slot into an engine registry.
- **KV v1 and v2** with automatic version detection.
- **Dynamic credentials** from the OpenBao `database` (e.g. PostgreSQL), `aws`, `approle` and `ssh`
engines; see `docs/configuration.md`. `cache = true` reuses a credential until near expiry, so
it is safe in a startup `eval`.
- **Audited** - issues are logged to stderr, `~/.envbao/envbao.log` (mode 0600) and the system
log. Tokens and secret values are never logged.
- **Single binary**, no runtime dependencies (built with PyInstaller).