You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(vault-broker): add HTTP grant broker for LLM agent credential brokering
New standalone Rust crate: vault-broker.
Exposes a minimal axum HTTP API on :9100 (internal Fly.io only):
GET /health — liveness + credential count
POST /v1/grants — issue one-use opaque grant for a hint
POST /v1/grants/:id/redeem — redeem grant; get credential value
Credentials loaded at startup from RGTV_CRED_<HINT> env vars, stored as
Zeroizing<String>. Grants are UUID v4, configurable TTL (default 30s),
one-use (dropped from memory immediately on redemption). Agent auth via
Authorization: Bearer <RGTV_AGENT_TOKEN>.
First consumer: proven-nesy-solver-api wires NESY_INGEST_TOKEN through this
broker so agents never see the raw value.
Also includes:
- Containerfile: multi-stage Rust/Debian build, non-root user, curl HEALTHCHECK
- fly.toml: rgtv-nesy app, internal-only TCP on :9100, HTTP health check,
auto_stop/auto_start for on-demand operation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments