[Epic] API keys, quotas & rate limiting #21
Labels
No labels
area: api
area: auth
area: build
area: cache
area: ci
area: compare
area: model
area: provenance
area: rite
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Api#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue and enforce API keys with per-tenant quotas and rate limits, backed by MySQL holding only keys, tenants, and aggregate counters. Done when keyed access is enforced and usage is metered without a row per request.
Epic — child issues are tracked as sub-issues.
Epic complete —
KeyStoreseam (in-memory double + MySQLPdoKeyStore+sql/schema.sql),KeyIssuer(issue/rotate/revoke, hash-only storage) +bin/api-key.php, andAccessControl(auth → per-key rate limit → per-tenant monthly quota, standardX-RateLimit-*+Retry-After). Open untilINTROIBO_DB_DSNis set; live MySQL is the maintainer step. #137.