Skip to content

Glossary: AI Security and Guardrails

Environment variable

Also written: SEC_MODE, env var, .env

A named setting passed to a program from outside its code. `SEC_MODE` picks where model replies come from, and `.env` files keep API keys out of code and out of git.

Where the book teaches it

Related terms

Fake model