Authentication & API Keys
Configure JWT Bearer tokens, personal access tokens (PATs), Google One Tap SSO, and programmatic service account keys.
Supported Authentication Methods
Kavach supports three primary authentication mechanisms:
1. User Session JWTs (Issued via Google OAuth / GitHub SSO / Password login).
2. Programmatic Service Account API Keys (Prefix: kvch_sec_...).
3. Ephemeral MCP Session Tokens (Used by AI coding assistants).
Generating Programmatic API Keys
In Organization Settings > API Keys, generate a scoped token for CI/CD pipelines. Keys carry granular permissions (e.g. SCANS_TRIGGER, REPOSITORIES_READ, FINDINGS_WRITE).
Google One Tap & Enterprise SSO
Public landing pages initialize Google Identity Services (FedCM compliant). When a user confirms authentication, the Google ID token is verified server-side against Google public certificates, and an authoritative Kavach JWT session is returned.
