09 Mar 2026
47m

985: Stop putting secrets in .env

Podcast cover

Syntax - Tasty Web Development Treats

The podcast explores the security risks associated with storing secrets in `.env` files and introduces Varlock as a solution. It addresses the common practice of using `.env` files due to readily available tutorials, while highlighting the dangers of exposing plain text secrets to AI coding agents. Varlock unifies schema information and values into a single file, using JS doc-style comments for validation and declarative function calls to fetch secrets from various sources like 1Password, AWS, and GCP. The tool supports a .env.schema file that can be committed to a repo, offers type declarations, and allows flexible secret exposure methods. Phil Miller and Theo Ephraim, developers of Varlock, emphasize its ability to centralize secret management, prevent leaks, and integrate with different frameworks, making it useful for both solo developers and large teams.

Outlines

Part 1: The Problem with .env Files

Part 2: Introducing Varlock

Part 3: Technical Implementation & Integration

Part 4: Developer Experience & Security Guardrails

Part 5: AI Agents & CI/CD Workflows

Part 6: Industry Trends & Business Model

Part 7: Recommendations & Closing

Sign in to continue reading, translating and more.

Continue
 
mindmap screenshot
Preview
preview episode cover
How to Get Rich: Every EpisodeNaval