Option A — percio login (recommended)
Run:
Option B — PERCIO_API_KEY environment variable
Set:
- CI. Store the key in a secret, expose it as an env var, run
percio testdirectly. - Ephemeral shells where you don’t want to write credentials to disk.
- Shared machines where each user’s key stays scoped to their shell session.
Getting an API key
Keys are created in the web app:- Sign in at percio.app.
- Go to Integrations.
- Under Agent integrations, generate a new API key.
- Copy it immediately — you won’t see it again.
Rotating or revoking a key
On the Integrations page you can revoke an existing key and generate a new one. After revoking, update your credentials:PERCIO_API_KEY in any shell that uses the env-var approach.
Verifying it worked
Any command that talks to the API will fail fast withNo API key found if it can’t read a key. The simplest smoke test: