Skip to content

Module 03 · Lesson 07

Secrets and permissions

What an agent should never see or do.

Keep it safe5 min
NeverInstead
Paste a live API key into the chatPut it in .env yourself; tell the agent the variable name
Let it run commands against productionStaging or local only; you run production steps
Auto-approve deletes, pushes or deploysApprove each one after reading it
Commit .env filesGitignore .env*, keep only .env.example with placeholders