Initial vault-plugin-secrets-gitea engine #1
Reference in New Issue
Block a user
Delete Branch "benvin/gitea-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?
Adds a Vault/OpenBao secrets engine that mints ephemeral, scoped Gitea access tokens on demand, so static Gitea bot users (teabot personalities, CI identities) never hold standing tokens. The engine is seeded with one Gitea site-admin Basic-Auth credential and, per role, mints a fresh per-user token via the admin API, bound to a Vault lease and deleted from Gitea on revocation. Gitea rejects token auth for token management and only a site admin may manage other users' tokens (reqSelfOrAdmin), which is why the seed is an admin username+password; Gitea tokens never expire server-side, so the Vault lease is the sole expiry mechanism.
https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv