LAYER STANDARD
Secrets & environments
Separate preview/production variables and rotation
Classcritical
Why it mattersSecrets in client code are public. Environment separation prevents accidents.
What this layer covers
Secrets in client code are public. Environment separation prevents accidents.
Production requirements
- Named owner responsible for this layer
- Preview environment ≠ production environment
- Configuration evidence (not just screenshots)
- Tested failure behavior
- Documented migration path
BY BUILDER
Implementation context
BUILDER
Lovable
Apply secrets & environments to Lovable.
Open file →BUILDERBolt.new
Apply secrets & environments to Bolt.new.
Open file →BUILDERReplit
Apply secrets & environments to Replit.
Open file →BUILDERv0
Apply secrets & environments to v0.
Open file →BUILDERBase44
Apply secrets & environments to Base44.
Open file →BUILDERCursor
Apply secrets & environments to Cursor.
Open file →