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

+1 -1
View File
@@ -244,7 +244,7 @@ def test_resolve_aborts_on_auth_error(fake_bao: FakeBao, caplog: pytest.LogCaptu
def test_unknown_engine() -> None:
with pytest.raises(ConfigError, match="unknown engine"):
get_engine("approle")
get_engine("nonexistent")
def test_registry_contains_kv() -> None: