Skip to main content
Use hx secrets (alias: hx secret) and hx vaults (alias: hx vault) to store encrypted values and attach them cleanly to sandbox processes or browser sessions. Secret values are read from files or stdin and are never returned by the API.

Manage Secrets (hx secrets)

hx secrets get and hx vaults get indicate when a secret is customer-protected. The CLI can list and inspect customer-protected secrets, but cannot unwrap them or add new versions—use the Node.js or Python SDK for those operations.

Manage Vaults (hx vaults)

Group multiple secrets into a reusable vault so you can attach them together by name:

Inject Secrets into Sandboxes

Pass individual secrets (--secret, --secret-version), vaults (--vault), or 1Password fields (--1password-token, --1password-vault, --1password-field) to hx vm create, hx vm exec, or hx vm process start. When both --vault and --secret are supplied, --secret wins on name collisions.

Fill Credentials in Browser Sessions

Attach secrets, vaults, or a 1Password token when creating a browser session and fill login forms on their allowed origins with hx browser fill:
See Browsers (hx browser fill), Secrets, Vaults, 1Password, and Credential Fill for full rules and limits.