Skip to content

docs: cover the store-less variant — ${VAR} env references - #16

Merged
selic merged 1 commit into
mainfrom
docs/env-only-secrets
Jul 25, 2026
Merged

docs: cover the store-less variant — ${VAR} env references#16
selic merged 1 commit into
mainfrom
docs/env-only-secrets

Conversation

@selic

@selic selic commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

The standalone docs read as if OpenBao were mandatory. It isn't: a secret store only serves bao:/kv: refs and secret writes — plain ${VAR} references resolve from the gateway's own environment at connect time (secrets/store.ts resolveInjectionValue), embedded forms included (Bearer ${ITGLUE_TOKEN}), with the same anti-passthrough guarantee. So the smallest deployment is static tokens + env vars, and it deserved to be documented.

  • standalone-secrets.md: new step 0 — "No secret store at all: plain environment variables" with a working example and the honest trade-offs: rotation needs a restart, values sit in the platform's env config, and everything that writes secrets (/me personal credentials → 503, one-click Connect, sessionMode: "per-user") still needs a real store.
  • deploy-coolify.md: the BAO_*/KEY_VAULT_URI half of the "minimum viable set" is now marked optional, linking the env-only section.
  • README: the standalone-with-secrets card notes OpenBao is optional to start.
  • .env.example: ${VAR} injection documented next to the store knobs.

Docs-only, no code changes.

🤖 Generated with Claude Code

The standalone guide read as if OpenBao were mandatory, but a secret
store is only needed for bao:/kv: refs and for anything that WRITES
secrets. Plain ${VAR} references into the gateway's own environment
resolve at connect time with the same anti-passthrough guarantee, so
tokens + env vars is a complete minimal deployment.

- standalone-secrets.md: new step 0 (env-only variant) with the
  trade-offs (restart to rotate, values visible in platform env
  config, no /me personal credentials / Connect / per-user sessions)
- deploy-coolify.md: mark the BAO_*/KEY_VAULT_URI half of the minimum
  env set as optional, link the env-only section
- README: note OpenBao is optional in the standalone-with-secrets card
- .env.example: document ${VAR} injection next to the store knobs

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@selic
selic merged commit 8bc5e3e into main Jul 25, 2026
1 check passed
@selic
selic deleted the docs/env-only-secrets branch July 25, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant