Docs

API keys

Create and manage the keys that authenticate the CLI and MCP integrations.

API keys authenticate a user for CLI and MCP access. Create them in the web app under user settings.

These are different from model provider keys, which stay on the CLI machine and authenticate Claude Code with Bedrock or Mantle.

What API keys are used for

  • convoy setup and convoy connect
  • one-shot CLI commands
  • MCP connections from editors and agents (the generated MCP config embeds the key — see Set up MCP)

Important properties

  • keys are user-scoped — they act on behalf of the user who created them
  • keys inherit exactly the permissions that user already has
  • keys do not create a new permission model or grant anything extra

Operational guidance

  • create separate keys for separate machines or workflows when possible
  • rotate keys if a machine is lost or a secret leaks
  • never commit keys into a repository — this includes generated config files that embed them
  • prefer config files and local secret storage over shell history

The CLI stores keys in ~/.config/convoy/config.toml (created with mode 0700). See Config file (config.toml).

On this page