Skip to content

Glossary: AI App Interfaces

Environment variable

Also written: env var, os.environ

A named setting stored outside your code, in the terminal's environment, that your program reads with `os.environ`. It is a safe place to keep API keys and passwords, for example `OPENAI_API_KEY`.

Where the book teaches it

Related terms

API keySecretsecrets.toml