Skip to content

feat: Introduce B2B API key management and refactor database session dependency injection across services.#25

Merged
codewithme-py merged 1 commit intomainfrom
feat/api-keys-management-via-b2b-layer
Mar 20, 2026
Merged

feat: Introduce B2B API key management and refactor database session dependency injection across services.#25
codewithme-py merged 1 commit intomainfrom
feat/api-keys-management-via-b2b-layer

Conversation

@codewithme-py
Copy link
Copy Markdown
Owner

An API key management system for B2B partners has been implemented.

  • Added APIKeyB2BPartner model: hiding secrets hash + salt

  • FastAPI-dependency for X-API-Key has been implemented: we know how to recognize partners and check their B2B status.

  • Added endpoints to the user profile: generation (we show the key once!), list and withdrawal of keys.

@codewithme-py codewithme-py merged commit 5a1b3a3 into main Mar 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant