From 68694ca3c4a15346f9f6f77c1b90520788c76e18 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 7 Dec 2025 11:25:38 +0100 Subject: [PATCH] docs: add ADMIN_API_KEY to .env.example with generation instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Includes commands for generating secure keys using Python or openssl. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .env.example | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 3e662ba..2d55def 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,27 @@ -# Database (port 5433 to avoid conflict with existing Postgres) +# LetsBe Orchestrator Environment Variables +# Copy this file to .env and fill in the values + +# ============================================================================= +# ADMIN API KEY (Required for production) +# ============================================================================= +# Used to authenticate admin endpoints like registration token management. +# +# Generate a secure key with: +# python -c "import secrets; print(secrets.token_hex(32))" +# +# Or using openssl: +# openssl rand -hex 32 +# +ADMIN_API_KEY=change-me-in-production + +# ============================================================================= +# Database +# ============================================================================= +# Port 5433 to avoid conflict with existing Postgres DATABASE_URL=postgresql+asyncpg://orchestrator:orchestrator@localhost:5433/orchestrator -# Application +# ============================================================================= +# Application Settings +# ============================================================================= DEBUG=true APP_NAME=LetsBe Orchestrator