Skip to content

The agent that grows with you

docs(credential-pools): env: rows may name any variable, not only the declared one

teknium1651168d7b239
diff --git a/website/docs/user-guide/features/credential-pools.md b/website/docs/user-guide/features/credential-pools.md
index 477fb3aef3d..f8409a2cf3d 100644
--- a/website/docs/user-guide/features/credential-pools.md
+++ b/website/docs/user-guide/features/credential-pools.md
@@ -287,6 +287,8 @@ Pool state is stored in `~/.hermes/auth.json` under the `credential_pool` key:
The OpenRouter entry above was borrowed from an external source, so the raw key is not stored in `auth.json`. The manual Anthropic entry was intentionally added to Hermes' credential store, so its token remains persistable.
+An `env:` row is re-hydrated from the environment on every load, and the variable name does not have to be one Hermes declares for the provider: a second row with `"source": "env:OPENROUTER_API_KEY_2"` is filled from `OPENROUTER_API_KEY_2` (shell, `.env`, or your secret manager) and rotates alongside the primary key without the secret ever being written to `auth.json`.
+
Strategies are stored in `config.yaml` (not `auth.json`):
```yaml