Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(V1) Implement API key authentication #768

Open
2 tasks
baktun14 opened this issue Jan 31, 2025 · 0 comments
Open
2 tasks

(V1) Implement API key authentication #768

baktun14 opened this issue Jan 31, 2025 · 0 comments
Assignees

Comments

@baktun14
Copy link
Contributor

baktun14 commented Jan 31, 2025

  • Add schema tables to store keys
    • id - uuid (pk)
    • user_id - user fk
    • api_key - string api key
    • description - string
    • create_at - datetime
    • expires_at - datetime
    • is_active - boolean
    • last_used_at - datetime
  • Implement API endpoints to CRUD API keys
    • GET /v1/users/api-keys (list all)
    • GET /v1/users/api-keys/{id} (detail)
    • POST /v1/users/api-keys (create)
    • DELETE /v1/users/api-keys/{id} (delete)
    • PATCH /v1/users/api-keys/{id} (update)

In an another iteration we can add application scopes to the keys.

@baktun14 baktun14 changed the title Implement API key authentication (V1) Implement API key authentication Feb 3, 2025
@github-project-automation github-project-automation bot moved this to Backlog (not prioritized) in Client Product and Engineering Roadmap Feb 3, 2025
@baktun14 baktun14 moved this from Backlog (not prioritized) to In Progress (prioritized) in Client Product and Engineering Roadmap Feb 3, 2025
@baktun14 baktun14 self-assigned this Feb 3, 2025
@anilmurty anilmurty added this to the Managed Wallets API milestone Feb 4, 2025
@baktun14 baktun14 moved this from In Progress (prioritized) to In Review in Client Product and Engineering Roadmap Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants