Environments
Environments Environments let you manage variables and secrets for different deployment stages. Each environment contains a set of key-value pairs that are substituted into requests at runtime. Creating Environments Create an environment with gurl env create: gurl env create dev --var "BASE_URL=https://dev.api.com" --var "TIMEOUT=30" gurl env create staging --var "BASE_URL=https://staging.api.com" --var "TIMEOUT=60" gurl env create prod --var "BASE_URL=https://api.example.com" --var "TIMEOUT=120" For secrets, use --secret to encrypt the value: gurl env create prod --secret "API_KEY=sk-live-xxxxx" --secret "WEBHOOK_SECRET=whsec_xxxxx" Switching Environments Set the active environment with gurl env switch: ...