Skip to content

Admin or Internal Routes #199

@Baskarayelu

Description

@Baskarayelu

Description:

Provide minimal admin or internal-only routes for support and ops (e.g. list recent users, clear cache, view audit log). Protect with API key or separate admin auth.

Requirements

  • All under /api/admin/* or /api/internal/*
  • Auth: require header X-Admin-Key or cookie matching ADMIN_SECRET from env; return 401 otherwise
  • Endpoints (examples): GET /api/admin/users (list recent), POST /api/admin/cache/clear (invalidate caches), GET /api/admin/audit (last N audit events)
  • Document env and security (admin key rotation, IP allowlist optional)
  • Mark as optional; implement only if needed for ops

Acceptance Criteria

  • Admin auth implemented
  • At least one admin endpoint (e.g. cache clear)
  • Documented and secured

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions