Environment Variables
Applies to: FlexLab
Overview
Store secrets and configuration as environment variables injected into FlexLab runtime and automation.
Steps
- Open
/dashboard/[orgId]/project/[id]/environment/[envId]/automation. - Locate Environment Variables section (or dedicated env vars panel on same page).
- Click Add variable.
- Enter key (e.g.
SENDGRID_API_KEY) and value. - Mark sensitive values as secret/masked when offered.
- 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.