New in February 2026 — See what's new
DazlDocs
Feature Reference

Keys

The Keys panel manages environment variables and API keys for your project. Secrets stored here are available to your project's server code without being exposed to the AI or visible in the codebase.

The Keys panel manages environment variables and API keys for your project. Secrets stored here are available to your project's server code without being exposed to the AI or visible in the codebase.

The Keys panel showing a saved environment variable with its value masked

Adding a Key

  1. Click Add New in the Keys panel

The Add Environment Variables dialog in its initial state with empty name and value fields

  1. In the Add Environment Variables dialog, choose Single Variable or Bulk Paste
  2. Enter the variable name (e.g., GOOGLE_MAPS_API_KEY) and its value
  3. Click Add Variable

The Add Environment Variables dialog with a name and masked value filled in

The variable is securely stored and accessible in your project's server-side code as an environment variable. Values are masked by default; click the eye icon next to a key to reveal it, or use Reveal All in the panel header to show every value at once.

Keys are stored in a .env file and are not exposed to the AI. This keeps sensitive credentials like API keys and database connection strings separate from your application code.

When to Use Keys

  • API keys for third-party services (e.g., Stripe, OpenAI, Google Maps)
  • Database connection strings for external databases
  • Service credentials that your project's server needs at runtime
  • Integrations – connecting to external services
  • Logs – debugging server-side issues related to credentials

On this page