Environment Variables

Applies to: FlexLab

Overview

Store secrets and configuration as environment variables injected into FlexLab runtime and automation.

Steps

  1. Open /dashboard/[orgId]/project/[id]/environment/[envId]/automation.
  2. Locate Environment Variables section (or dedicated env vars panel on same page).
  3. Click Add variable.
  4. Enter key (e.g. SENDGRID_API_KEY) and value.
  5. Mark sensitive values as secret/masked when offered.
  6. Save. Redeploy or rerun automation to apply.

Usage

  • Reference variables in automation shell scripts per platform syntax.
  • Drupal settings.php may read env vars from FlexSite injection.

Security

  • Rotate keys on compromise.
  • Do not commit secrets to Git; use env vars instead.
  • Limit project Team roles who can view automation settings.