Skip to content
Learn · Servers & Dev

What is Environment variables?

Environment variables hold configuration like API keys outside the code.

Why it matters

They keep secrets out of your repository.

Practical tip

Use different values for staging and production.

Frequently asked questions

What is Environment variables?

Environment variables hold configuration like API keys outside the code.

Why does Environment variables matter for my website?

They keep secrets out of your repository.

Any practical tip about Environment variables?

Use different values for staging and production.

Related terms

More about servers & dev