feat(mcp): scope the gateway's Vault token (no more root)

The vault MCP now holds an orphan periodic token (720h) with policy
mcp-gateway: read sys/mounts, CRUD under secret/ (kv-v2), PKI issue/read
under pki/. No sys writes, auth, policy or seal management. The policy is
kept at stacks/mcp/vault-policy.hcl. A vault-token-renewer sidecar renews
the token daily and notifies ntfy if a renewal fails (e.g. Vault sealed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ginnoirandClaude Opus 5.5 committed 2026-12-02 18:13:25 -06:00
1 parent 977199b591
commit d51bad2277
3 files changed
+86 -3

No files matched your search

+1 -1
View File
@@ -49,4 +49,4 @@ FRESHRSS_USERNAME=ginnoir
# vault
VAULT_ADDR=https://vault.ginnoir.com
VAULT_TOKEN=hvs.QmhZvkXnFfebbRC7JVFLcNPn
VAULT_TOKEN=hvs.CAESIMtptUgBbV_zYwyMbT8lNLW9w9CWopDb_GrsEnvYPKwNGh4KHGh2cy5NQVJrT2dEcTVDQWhCN3FyWlZ6U3Z0TVo