Add app-token JWT secrets engine #1
Reference in New Issue
Block a user
Delete Branch "benvin/initial"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Generic Vault/OpenBao secrets engine issuing short-lived signed JWTs for self-made services (keaapi, encapi, artifactapi, tomswallapi, bootapi...), replacing per-app static bearer Secrets.
Per-app roles set audience/TTLs/subject-allowlist/custom-claims; creds/ mints an EdDSA (default) or RS256 token. Apps validate offline against the unauthenticated JWKS + OIDC-metadata paths. Signing keys are seal-wrapped and rotate with a configurable JWKS grace window.
Tests (-race, ~80% cover): issuance+JWKS validation for both algorithms, rotation grace/trim, role isolation, subject allowlist, unauthenticated/seal-wrap wiring.
https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT