This question is locked. New answers and comments are not allowed.
Anyone know if there is a nice way to store (and access) settings that are re-used across back-end functions?
For example, say you have several functions accessing an external API with the same API Key and credentials. Hard-coding the credentials (and other similar settings) into every function seems messy ...and time consuming if they need to be changed. Perhaps a file that contains a Javascript object of the settings, and that is called/included at the start of backend data and functions.
Any ideas? Thanks.