Account
API Keys
Last updated January 2026
API keys authenticate you outside the browser: for the CLI in automation, and for connecting tools like ArgoCD.
Creating a key
Create a key under Settings → API keys, or with the CLI:
spawned apikeys create <name>The full key, prefixed sk_, is shown only once, so copy it somewhere safe. List and revoke your keys the same way, from settings or with spawned apikeys list and spawned apikeys revoke.
Using a key
- Git access. Clone a project’s generated infrastructure over HTTPS using the key as the password (the username can be anything). This is read-only.
- ArgoCD. Kubernetes clusters authenticate to your project repositories with an API key. See Kubernetes.
- Automation. Use a key to run the CLI in CI or other non-interactive environments, where an interactive login isn’t possible.
Treat API keys like passwords. Anyone with a key has the access it grants, so store them securely and revoke any that leak.