Skip to content

Add per-API-key quotas for ApiKeyModule (placeholder currently) #48

Description

@mercy60

Internal ID: #47

Imported from ISSUES.md via scripts/import-issues.mjs.

Problem Statement. @nestjs/terminus lists ApiKeyModule as imported in app.module.ts. The actual functionality is unknown; assume quotas/budgets.

Expected Outcome. API keys have per-tenant quotas: rate-limit, monthly request cap, scoped endpoints. Enforced via guard.

Acceptance Criteria.

  • Issue an API key for a test tenant, verify quota enforcement.

Implementation Notes.

  • Hash keys with Argon2id before storage.

Files / modules affected.

  • backend/src/api-key/

Dependencies. None.

Difficulty / Effort. Medium / M (≈ 6 hours).

Labels. area:backend, feature

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programarea:backendImported from ISSUES.mdfeatureImported from ISSUES.md

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions