How to pass the API key to Openweathermap node

Hello everyone,

I've been using Node-Red for a while with great ease.
Thanks to the developers!

Here's a, probably easy question:
What is the best way to pass the API Key to the openweathermap node in a way that it can be read automatically, regardless of restarts where sometimes the typed api key is lost?


once entered the key should not be lost. Do you have any logs, or can you shed any light on to how that came to happen ?

Hi dceejay,

Thanks for the reply!
You are correct, once entered it is not lost.
However, I would like to know if the entering step could be changed by pre-setting the key somewhere.