Skip to content

MediumConceptDeployment, environments and operations

What is the difference between a build-time and a runtime environment variable?

What a good answer covers

Build-time values are baked into the bundle or image and public in browser code. Runtime values are read by the server when it starts, so secrets must stay server-side and runtime only.

More on Deployment, environments and operations

Flashcards for this topic