- You create keys in the Klint dashboard.
- Store the key in the
KLINT_API_KEYenvironment variable. Never store it in code, prompts, or repositories. - In agent contexts, provide the key through the environment. Klint never requires an interactive login mid-task.
The key format and the account-free onboarding flow (trial token →
npx klint setup → claim) are planned, not final contract.If you get a 401
A missing, malformed, or revoked key returns401 authentication-required as a problem object:
- The
Authorization: Bearerprefix is present. - The key has no surrounding quotes or whitespace.
- The key is active in the dashboard.
401 is never retryable with the same credentials.
Key safety
- Treat keys as secrets.
- Rotate a key on suspicion of exposure.
- Scope one key per integration.
- Revoke unused keys.
- Klint keys will appear in secret-scanning feeds at launch. Treat a key that lands in a public repository as compromised.