Clear configuration node property/flow json properties

I have created some custom nodes that are used to connect to other servers, proxies, etc. All that works fine but what bothers me is that if a user inputs an api key/secret values into the configuration server form, those end up displaying in clear text within the "export flow" json body. Is there anyway to prevent this? Additionally, I would also like to clear the value (or salt it) after the initial form posts. Any ideas on how to do this?

I have tried clear the this.[property] within the initializing function of the node but it seems these values are likely posted and retained on the client.

You should be defining them as credentials Node credentials : Node-RED


Thanks, that is what I was after.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.