Secrets & Services Dashboard

This page is static: it documents what must exist in GitHub Actions Secrets and Railway Variables for each subsystem.

Quick Actions

🔑 Manage GitHub Secrets 🚂 Railway Dashboard ▶ Run Secrets Check Workflow 🤖 AI Tools Hub

Required Secrets Reference

Secret Used by Category Required?
ROOTIBAPP_CLIENT_ID RootIB OAuth backend OAuth Yes
ROOTIBAPP_CLIENT_SECRET RootIB OAuth backend OAuth Yes
ROOTIB_PAT RootIB PAT relay GitHub Recommended
ROOTIB_ENCRYPTION_KEY RootIB token encryption Backend Yes
ROOTIB_SW_SIGNING_KEY githubBackend SW signing Backend Recommended
REPOPILOT_PAT RepoPilot GitHub Recommended
REPOPILOT_LICENSE_KEY RepoPilot license server Backend Optional
OPENAI_API_KEY AI Academy, KAS, agents LLM Yes (for LLM tools)
GROQ_API_KEY AI Academy, KAS, agents LLM Recommended
ANTHROPIC_API_KEY Agents LLM Optional
FIREBASE_API_KEY ClearDebt, auth flows Backend Optional
DISCORD_BOT_TOKEN ClearDebt notifications Integrations Optional
INFURA_PROJECT_ID Wallet utilities Crypto Optional
ALCHEMY_API_KEY Wallet utilities Crypto Optional
BINANCE_API_KEY Trading bots Trading Optional
COINBASE_API_KEY Trading bots Trading Optional
ETHERSCAN_API_KEY Explorer integrations Crypto Optional
MCP_MASTER_KEY MCP servers Agents Optional
MCP_SERVICE_TOKEN MCP cross-service Agents Optional
JWT_SECRET Backend auth Security Yes
SESSION_SECRET Backend sessions Security Yes
ENCRYPTION_KEY General encryption Security Yes
RAILWAY_TOKEN GitHub Actions deploy Deploy Yes
RAILWAY_ENVIRONMENT_ID Multi-env deploy Optional No

AI Tool API Keys

Keys for the free AI tools listed in the AI Tools Hub. All optional — add only the services you intend to use via the backend.

Secret Service Category Get Key
ELEVENLABS_API_KEY Eleven Labs — AI voice synthesis Audio elevenlabs.io → Settings → API Keys ↗
MURF_API_KEY Murf AI — AI voiceovers Audio murf.ai/api ↗
MINIMAX_API_KEY MiniMax Audio — expressive TTS Audio platform.minimaxi.com → API Key ↗
PLAYHT_API_KEY Play HT — ultra-realistic voices Audio play.ht → API Access ↗
PLAYHT_USER_ID Play HT — user identifier (required with API key) Audio play.ht → API Access ↗
DEEPSEEK_API_KEY DeepSeek — writing & code AI Writing platform.deepseek.com → API Keys ↗
GEMINI_API_KEY Google Gemini — multimodal AI writing Writing aistudio.google.com → Get API Key ↗
RUNWAY_API_KEY Runway — Gen-3 AI video generation Video app.runwayml.com → Settings → API ↗
KLING_API_KEY Kling AI — AI video generation Video klingai.com → Developer ↗
IDEOGRAM_API_KEY Ideogram — AI image generation Image ideogram.ai → Manage API ↗
QWEN_API_KEY Qwen (Alibaba) — multimodal AI & image gen Image bailian.console.aliyun.com → API Key ↗
HEYGEN_API_KEY HeyGen — AI video avatars Avatars app.heygen.com → Settings → API ↗
CREATIFY_API_KEY Creatify — AI avatar video ads Avatars app.creatify.ai → Settings → API ↗

Security Model

RootIB: GitHub OAuth (Device Flow) + PAT relay; tokens never stored in Pages; backend holds client secret and encryption keys; SW messages signed; GitHub calls go through backend or authenticated ghFetch.
RepoPilot: Uses its own PAT + optional license key; no OAuth; all repo access via backend; PAT never exposed to browser.
Agents / AI tools: Use LLM keys (OpenAI/Groq/etc.) only in backend; front-end never sees raw keys; MCP master/service tokens gate cross-agent actions.
Secrets flow: GitHub Secrets → Actions → Railway env vars; backend reads from env; Pages stays key‑less.
Trust boundary: GitHub Pages = untrusted UI; Railway backend = trusted core; external APIs only reachable from backend.

Add a New Secret — Checklist

  1. Add the value in GitHub Actions Secrets.
  2. Add it to the env: block in backend-env-check.yml.
  3. Add it to the REQUIRED array (and railway variables set block if the backend needs it at runtime).
  4. Run the workflow to verify and sync.

This page is documentation only. Values are never shown here; they live in GitHub Actions Secrets and Railway Variables. Download check-github-secrets.bat for a local Windows checklist.