Knowledge
Search knowledge... ⌘K
Knowledge · Framework · Capabilities
Configuration
Environment variables, config keys, feature flags this function reads. For pure functions: "none — all inputs via parameters" is the descriptor.
Overview
Environment variables, config keys, feature flags this function reads. For pure functions: "none — all inputs via parameters" is the descriptor.
Configuration manages environment-specific settings that vary across development, staging, and production. In SBX, configuration follows a layered cascade — environment variables, vault references (op:// URIs), and YAML descriptors compose into the final runtime configuration. The environment protocol defines how settings flow through the deployment pipeline.
Layer Guidance
- PD
- None — all inputs via function parameters
- MD
- env: DB_URL, DB_SCHEMA, DB_POOL_SIZE
- SI
- env: API_PORT, API_HOST, CORS_ORIGINS
- UI
- env: PUBLIC_API_URL, PUBLIC_THEME
Examples
- Environment switching for persistence browser Decision 0102 — Postman-inspired environment switching