REA Vault Agent notes (unofficial)
Vault Agent config trees record sidecar/auth/template identity (auto_auth, template, sink, cache). In REA 6.7.x, treat selected method/template/sink labels as Evidence beside archive/package routes — complementing Vault policy cousins without inventing APIs. Distinct from rea-vault-policy.
Mental model
- Authorize the Vault Agent config tree (+ packaged configs you hold).
- Quote selected
auto_auth.method/templatedestination patterns / sink path patterns you actually see (never paste tokens or secrets). - Cousins → vault-policy · dockerfile · compose-yml.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_vault_agentAPI REA never called.
Minimal path
# authorized vault-agent.hcl / agent config (+ artifact you hold)
# quote selected auto_auth / template / sink labels into case notes
# cousins → peer Vault policy / Dockerfile / Compose lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_vault_agent .
Compare
| Artifact | Honest posture |
|---|---|
| Vault Agent config | Auto-auth / template / sink identity facts |
| Peer | rea-vault-policy |
| Peer | rea-dockerfile |
| Not this | rea-vault-policy (HCL policy ACL) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
auto_authmethod type, selectedtemplatedestination patterns, and sink path patterns — enough for most Evidence binders. - Tokens, AppRole secret_id, and wrapped tokens are secrets — record key names / path patterns only.
- Keep Agent configs distinct from Vault policy HCL in case notes.
cache/api_proxyblocks are identity Evidence — label them separately from cousin pages.- Select keys are useful inventory — quote them without inventing REA helpers for
vault agent -config.
Scope we will not cover
- No inventing
inspect_vault_agent/ automatic auth against foreign Vault clusters. - No credential theft from tokens, AppRole secrets, sinks, or remote URIs.
- No pirate redistribution of proprietary Agent trees.
- No crack framing via Agent pins.
- No cookbooks that weaken remote auth on foreign Vault clusters.
Honest limits
RepoRead documents config literacy — how authorized Vault Agent trees relate to Evidence — not a full Vault Agent course. Prefer upstream HashiCorp docs for auto_auth and templates. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-vault-policy / rea-dockerfile / rea-compose-yml?
rea-vault-policy covers Vault HCL policy files. rea-dockerfile covers Dockerfiles. rea-compose-yml covers Compose. This page zooms on Vault Agent config identity (auto_auth / template / sink) — it does not overwrite those pages.
Is there inspect_vault_agent in 6.7.0?
Not assumed. Quote auto_auth method / template / sink labels you actually open, then use documented package/archive lanes. Do not invent inspect_vault_agent.
Does REA call Vault APIs or steal tokens / AppRole secrets?
No. Local trees only. Redact tokens, AppRole IDs/secrets, sink paths, and remote URIs; do not treat REA as a Vault Agent runner. No credential theft.
How should I label Evidence vs other Vault configs?
Label Evidence by the file present. Keep Agent configs separate from rea-vault-policy HCL policies.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).