The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(secrets): name OP_CONFIG_DIR among the env vars forwarded to the op child
teknium11e9de95e8674
diff --git a/website/docs/user-guide/secrets/onepassword.md b/website/docs/user-guide/secrets/onepassword.mdindex 787d996cb67..a5a0898a451 100644--- a/website/docs/user-guide/secrets/onepassword.md+++ b/website/docs/user-guide/secrets/onepassword.md@@ -157,7 +157,7 @@ Successful, complete pulls are cached in-process and on disk under `<hermes_home- A 1Password service-account token can read every secret the account has access to. Store it in `~/.hermes/.env` (not `config.yaml`), and revoke + regenerate from 1Password if it leaks.- Hermes refuses to let a resolved value overwrite the token env var itself, even with `override_existing: true`.-- The `op` child process gets a minimal allowlisted environment (auth/session vars + `PATH`/`HOME`), not a copy of the full `os.environ`, so post-dotenv provider credentials aren't all inherited by the child.+- The `op` child process gets a minimal allowlisted environment (auth/session vars + `PATH`/`HOME` and the `op` config-location vars `OP_CONFIG_DIR`/`XDG_CONFIG_HOME`), not a copy of the full `os.environ`, so post-dotenv provider credentials aren't all inherited by the child. Set `OP_CONFIG_DIR` when `~/.config` is not writable by the Hermes user (common in containers).- References are validated to start with `op://`, and the reference is passed after a `--` option terminator so a crafted value can't be parsed as an `op` flag.## When NOT to use this