Environment Variables
As a signed in user, you can add environment variables to your user functions:
- Go to Other tab > Environment Variables
- Add key and value
Using Environment Variables
Then, to use environment variables in Node.js, use the built-in process.env
global property. For example, you can print all environment variables in your function:
console.log(process.env);