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

+9
View File
@@ -4,6 +4,15 @@ All notable changes are documented here. This project follows [Semantic Versioni
## [Unreleased]
## [0.3.0] - 2026-11-09
### Added
- Credential engines `database` (PostgreSQL etc.), `aws`, `approle` and `ssh`.
- `BaoClient.post` for engines that generate credentials on write.
- `cache = true` on `database` (dynamic) and `aws` queries: reuse the credential until near lease
expiry (`0600` file by default, or the keychain), revoke the old lease on refresh; `[cache] store`
and `envbao --clear-cache`.
## [0.2.0] - 2026-10-16
### Added (exec and packaging)