Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

Credentials Generator

Generate secure random credentials for your LibreChat .env file.

Generate cryptographically secure random values for the required secrets in your LibreChat .env configuration file. Click Generate and then copy individual values or all of them at once.

Admin panel session secret

If you run the bundled admin panel with docker-compose.yml or deploy-compose.yml, set ADMIN_PANEL_SESSION_SECRET in .env as well. The generator does not output it. It is a session encryption key of at least 32 characters, and the admin panel container refuses to start without it. Generate it in a terminal:

openssl rand -hex 32

How is this guide?