Exec integration examples
For a dedicated 1Password guide covering service accounts, the bundled agent skill, and troubleshooting, see 1Password.1Password
1Password
op CLI and the plugin’s service-account token file.Bitwarden Secrets Manager (bws)
Bitwarden Secrets Manager (bws)
Use a resolver wrapper to map SecretRef ids to Bitwarden Secrets Manager item keys. The repository includes The resolver batches requested ids, runs
scripts/secrets/openclaw-bws-resolver.mjs; install or copy it to an absolute trusted path on the host that runs the Gateway.Requirements:- Bitwarden Secrets Manager CLI (
bws) installed on the Gateway host. BWS_ACCESS_TOKENavailable to the Gateway service.PATHpassed to the resolver, orBWS_BINset to the absolutebwsbinary path.BWS_SERVER_URLset in the environment when using a self-hosted Bitwarden instance.
bws secret list, and returns values for matching secret key fields. Use keys that satisfy the exec SecretRef id contract, such as openclaw/providers/openai/apiKey; env-var-style keys with underscores are rejected before the resolver runs. If more than one visible Bitwarden secret shares the requested key, the resolver fails that id as ambiguous instead of guessing. After updating config, verify the resolver path:HashiCorp Vault CLI
HashiCorp Vault CLI
password-store (pass)
password-store (pass)
Use a small resolver wrapper to map SecretRef ids directly to Then configure the exec provider and point Keep the secret on the first line of the
pass entries. Save this as an executable at an absolute path that passes your exec-provider path checks, for example /usr/local/bin/openclaw-pass-resolver. The #!/usr/bin/env node shebang resolves node from the resolver process PATH, so include PATH in passEnv. If pass is not on that PATH, set PASS_BIN in the parent environment and include it in passEnv too:apiKey at the pass entry path:pass entry, or customize the wrapper to return the full pass show output instead. After updating config, verify both the static audit and the exec resolver path:sops
sops
MCP server environment variables
MCP server env vars configured viaplugins.entries.acpx.config.mcpServers accept SecretInput, keeping API keys and tokens out of plaintext config:
${MCP_SERVER_API_KEY} and SecretRef objects resolve during gateway activation, before the MCP server process spawns. As with other SecretRef surfaces, unresolved refs only block activation when the acpx plugin is effectively active.
Sandbox SSH auth material
The coressh sandbox backend also supports SecretRefs for SSH auth material:
- OpenClaw resolves these refs during sandbox activation, not lazily on each SSH call.
- Resolved values are written to a temp directory with restrictive file permissions (
0o600) and used in the generated SSH config. - If the effective sandbox backend is not
ssh(or sandbox mode isoff), these refs stay inactive and do not block startup.