summaryrefslogtreecommitdiff
path: root/.env.control.example
diff options
context:
space:
mode:
authorChia <Chia@93.nz>2026-08-06 09:29:41 +1200
committerChia <Chia@93.nz>2026-08-06 09:32:46 +1200
commit41e322c53d7b4b796eb377d0df9c29ecd10ba431 (patch)
treec730526150e55e39b822d5197e4a20318ecaa449 /.env.control.example
parenteadb2ffe85c43cf6fc741c9823cd28eedb4a844c (diff)
feat: complete commercial control plane, billing, auth, and model catalog
- add PostgreSQL control-plane persistence with Redis-degraded hot reload - implement prepaid balance, usage ledger, Stripe top-up and reconciliation - add registration, email verification, password reset, invitations and RBAC - support TOTP, Passkey MFA, device sessions, quotas and rate limits - add tenant billing profiles, audit logs and operational readiness checks - build authenticated admin console, Quickstart, Playground and usage analytics - add public model catalog with pricing, filtering and cost estimation - support OpenAI Responses providers and provider health failover - validate real upstream usage reporting and balance settlement
Diffstat (limited to '')
-rw-r--r--.env.control.example5
1 files changed, 4 insertions, 1 deletions
diff --git a/.env.control.example b/.env.control.example
index 5020f32..fd29a99 100644
--- a/.env.control.example
+++ b/.env.control.example
@@ -20,6 +20,7 @@ AIGW_CREDENTIAL_KEY=replace-with-base64-32-byte-key
AIGW_CREDENTIAL_PREVIOUS_KEYS=
AIGW_ADMIN_TOKEN=replace-with-a-long-random-admin-token
AIGW_PUBLIC_URL=http://localhost:8081/admin/
+AIGW_INFERENCE_PUBLIC_URL=http://localhost:8080
AIGW_WEBAUTHN_RP_ID=localhost
AIGW_WEBAUTHN_ORIGINS=http://localhost:8081
AIGW_SMTP_FROM_ADDRESS=no-reply@aigw.local
@@ -30,7 +31,9 @@ AIGW_SMTP_USERNAME=
AIGW_SMTP_PASSWORD=
# HMAC-SHA256 secret for normalized bounce/complaint callbacks. Inject from a secret manager.
AIGW_MAIL_FEEDBACK_SECRET=
-# Prefer a restricted test key (rk_test_) with Checkout Session write access.
+# Prefer a restricted test key (rk_test_) with only the permissions documented in README.
+# Automatic top-up additionally requires Setup Intents Read and Payment Intents Write.
+AIGW_STRIPE_ENABLED=false
AIGW_STRIPE_API_KEY=replace-with-a-stripe-restricted-key
# Development only: use a separate key with Debugging Tools Write for Stripe CLI.
AIGW_STRIPE_CLI_API_KEY=replace-with-a-separate-cli-restricted-key