Guides

Secrets

Give sandboxes API tokens and passwords without putting them in your code or your prompts.

Secret groups

  1. In the dashboard, open Secrets and make a group, such as github.
  2. Add its variables, such as GITHUB_TOKEN.
  3. When you make an API key, choose the groups it may use. A key gets none unless you choose them.

Use them in a sandbox

Terminal
curl -X POST https://annex.eversonder.com/v1/workspaces/wsp_…/sandboxes \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"route": "cheapest", "secret_groups": ["github"]}'

The variables are in the sandbox's environment. Their values are hidden in output Annex shows you or your agent.

Use them on your own machine

Terminal
curl -H "Authorization: Bearer $KEY" https://annex.eversonder.com/v1/workspaces/wsp_…/secrets/{group}/env > .env

Every download is written to the group's audit log. An agent over MCP sees only the names, never the values.