mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
Shipped proxy configs now read general_settings.master_key from os.environ/LITELLM_MASTER_KEY, the .env examples ship a blank value with the openssl generate command above it, and READMEs, the missing env vars page and Admin UI code snippets show a generate command or the <your-master-key> placeholder instead of the literal sk-1234 The two CircleCI docker runs that mount proxy_server_config.yaml and oai_misc_config.yaml now pass LITELLM_MASTER_KEY so their runtime key is unchanged
23 lines
603 B
Text
23 lines
603 B
Text
############
|
|
# Secrets
|
|
# YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
|
|
############
|
|
|
|
# Generate one with: echo "LITELLM_MASTER_KEY=sk-$(openssl rand -hex 32)"
|
|
LITELLM_MASTER_KEY=""
|
|
|
|
############
|
|
# Database - You can change these to any PostgreSQL database that has logical replication enabled.
|
|
############
|
|
|
|
DATABASE_URL="your-postgres-db-url"
|
|
|
|
|
|
############
|
|
# User Auth - SMTP server details for email-based auth for users to create keys
|
|
############
|
|
|
|
# SMTP_HOST = "fake-mail-host"
|
|
# SMTP_USERNAME = "fake-mail-user"
|
|
# SMTP_PASSWORD="fake-mail-password"
|
|
# SMTP_SENDER_EMAIL="fake-sender-email"
|