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

+5
View File
@@ -35,6 +35,11 @@ variables are exported (any child process inherits them).
their values (raw, JSON, URL-encoded) in its output; with `[security] exec_only = true` plain
export mode and `--no-redact` are refused. Masking is defence in depth, not a sandbox (see
[claude-access.md](claude-access.md)).
9. **Credential cache (opt-in)** - with `cache = true`, a dynamic credential is stored at rest until
near lease expiry: in a `0600` file under `~/.envbao/cache/` (covered by control 1) by default, or in the OS
keychain with `[cache] store = "keychain"` / `"auto"`. Cache entries are short-lived by construction, are revoked on refresh and by
`envbao --clear-cache`, and are never logged or passed on a command line. Nothing is written
unless a query opts in.
## Recommendations