Operate
Platform Settings
Configure identity, runtime, networking, storage, and compute with a production-first baseline.
Duck is configured through environment variables and deployment settings. Treat configuration as part of the product contract for the platform itself.
Required Production Baseline
Before a production deployment, confirm:
ENV=productionENCRYPTION_KEYorENCRYPTION_KEY_FILEis configured- at least one real authentication path is enabled
- listener addresses match your network boundaries
- storage credentials and external locations are intentionally managed
Important Configuration Areas
Auth and identity
AUTH_MODEAUTH_ISSUER_URLAUTH_AUDIENCEJWT_SECRETorJWT_SECRET_FILEAUTH_API_KEY_ENABLED
Runtime, networking, and storage
LISTEN_ADDRFLIGHT_SQL_LISTEN_ADDRPG_WIRE_LISTEN_ADDRTRUST_DOWNSTREAM_PROXY- storage and external location settings that match your deployment
Security and encryption
ENCRYPTION_KEYENCRYPTION_KEY_FILE- rate-limit settings
Feature gates and compute
FEATURE_INTERNAL_GRPCFEATURE_FLIGHT_SQLFEATURE_PG_WIRE- remote compute feature flags as needed
- integration and Git sync controls where enabled
Recommended Practice
- use deployment templates as a starting point, not as production truth
- prefer file-based secret injection in managed environments
- keep environment definitions versioned alongside deployment artifacts
- document the meaning of every environment-specific override for operators on call
Next Steps
Security ChecklistValidate the hardening baseline.
Ways to Access DuckSee the supported access modes.