Neon API keys authenticate all REST API requests. Each key has a scope that limits what it can access — use the narrowest scope that fits your use case.

ScopeAccess
PersonalAll projects you're a member of across organizations
OrganizationAll projects in an org (admin-level)
Project-scopedA single project

Keys are shown once at creation. Store them immediately; Neon cannot retrieve them later. Revoking a key takes effect immediately.

The Neon CLI also supports OAuth-based authentication via neon auth, which opens a browser to authorize access without requiring a manually created key.

See Manage API keys for rotation strategy and org key management.