Back to vocabulary

Term definition

Environment variable

Environment variables hold values that change per environment or must stay private, so secrets never live inside your code.

Example

Storing OPENAI_API_KEY in a .env file instead of in the code.