Environment variables
How to set up the function execution environment.
Last updated
Was this helpful?
How to set up the function execution environment.
Last updated
Was this helpful?
The environment variables of the functions are managed with .
In order to make your function environment variables available through process.env, create a .env
file inside the emulator
folder and add variables on new lines in the form of NAME=VALUE. For example:
Assuming we have a function containing the following function.config.json:
The content of your .env
file must be: