Back to principles

Principle

Secrets stay secret

Definition

Keep API keys and passwords in environment variables, never in your code.

Why it matters

A secret committed to a repo can be stolen the moment it's pushed.

Example

Move the API key to a .env value and confirm it's not in the code.

Applies to Ship It Live