C

Claude Code CLI

CLI discovered

Details
Command
claude
Docs
https://code.claude.com/docs/en/overview
Authentication
Claude Code login session oauth2 discovered $ claude

Acquired by the CLI — running claude opens the auth flow and stores the credential.

Claude API key api_key discovered Get key ↗
env ANTHROPIC_API_KEY

In the Claude Console, open Settings → API keys and create a key. Use workspaces to scope keys by project or environment. Send it in the x-api-key header for direct HTTP requests, or set ANTHROPIC_API_KEY for SDKs and supported CLIs.