API Key lifecycle management service — create, rotate, enable/disable, and validate keys.
3.9K
The API Key Service is a dedicated microservice in the Reloop platform responsible for the full lifecycle management of API keys. It provides a secure, high-performance REST API for creating, retrieving, updating, rotating, enabling, disabling, and deleting API keys — with built-in rate limiting, expiry handling, and organization-scoped access control.
Built on Bun + Elysia for ultra-low latency, backed by PostgreSQL (via Drizzle ORM) and Redis for caching and rate-limit tracking.
/api/api-key/openapi| Resource | Link |
|---|---|
| 📚 Documentation | reloop.sh/docs/setup/backend/api-key |
| 🌐 Production API | api.reloop.sh/api/api-key |
| 📜 OpenAPI Spec | reloop.sh/api/api-key/openapi |
| 🤖 Agent Discovery | agent-card.json |
| 🐙 Source Code | github.com/reloop-labs/reloop |
| 💬 Discord | discord.gg/reloop |
| 🐦 Twitter / X | @reloophq |
| 🆘 Support | reloop.sh/support |
docker pull reloopsh/be-api-key:latest
docker run -d \
-p 8012:8012 \
-e PG_URL=postgresql://user:password@host:5432/reloop \
-e REDIS_URL=redis://:password@host:6379 \
-e NATS_URL=nats://host:4222 \
-e BASE_URL=https://your-domain.com \
reloopsh/be-api-key:latest
The service will be available at http://localhost:8012/api/api-key.
| Variable | Default | Description |
|---|---|---|
PORT | 8012 | Port the server listens on |
PG_URL | — | PostgreSQL connection string |
REDIS_URL | — | Redis connection string |
NATS_URL | — | NATS messaging server URL |
BASE_URL | — | Public base URL of the platform |
NODE_ENV | production | Runtime environment |
This image is one of several microservices that make up the Reloop backend. See the full list at hub.docker.com/u/reloopsh.
Content type
Image
Digest
sha256:7c45b6158…
Size
246.6 MB
Last updated
7 days ago
docker pull reloopsh/be-api-key