API gateway service
Find a file
egregore 78ee93dbc6 Add PostgreSQL-backed API key storage
- api_keys.py: Database operations for API clients
  - bcrypt hashing for API keys
  - CRUD operations with full PostgreSQL support
  - Indexes for efficient client_id lookup
  - Soft delete (disable) and hard delete
  - Key regeneration support

- main.py: Wire up database storage
  - Startup/shutdown handlers for DB pool
  - Full admin CRUD endpoints
  - Token exchange uses DB lookup

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 19:54:40 +00:00
.gitignore Add .gitignore, remove pycache 2026-02-02 19:51:26 +00:00
api_keys.py Add PostgreSQL-backed API key storage 2026-02-02 19:54:40 +00:00
main.py Add PostgreSQL-backed API key storage 2026-02-02 19:54:40 +00:00
requirements.txt Add PostgreSQL-backed API key storage 2026-02-02 19:54:40 +00:00