intermediatetermTools and workflowTools and workflow / Environment variables
IntermediateNot yet reviewed

Environment variables

Environment variables are settings and secrets kept outside the code, such as API keys, that differ between your computer and the live site.

Definition

Environment variables are settings and secrets kept outside the code, such as API keys, that differ between your computer and the live site.

Use case

Never commit keys to a repository. Put them in an .env file or in the hosting dashboard.

Related terms

Resources

No resources yet. Suggest one.

Suggest a change