Skip to content

Implement Per-User API Key Management System #8

@shubhh139

Description

@shubhh139

Create a secure API key management system where users can create and delete API keys for accessing AI4Bharat services.

Acceptance Criteria

  • API key generation for security
  • API key hashing and secure storage
  • API key creation endpoint (POST /api/v1/api-keys)
  • API key deletion endpoint (DELETE /api/v1/api-keys/{key_id})
  • API key validation middleware
  • Database schema for users and api_keys tables
  • Alembic migrations for database setup
  • Comprehensive test coverage

Estimation: 6 hours

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions