Pass SQL Username and Password programatically with Flows.json


I am using this package:

I am trying to take my flows.json from one device running Node-Red and move it over to another device using Node-Red.

I save the Username and Password in the UI as so, as I am using Environment Variables.


The problem I encounter is that when those flows load on the new machine, that Username and Password field get blanked out entirely.

I am posting here because I feel like this is not a problem unique to this package, Ive encountered it elsewhere where Usernames and Passwords get removed because I think they are considered priveleged items.

I've even tried to edit the flows.json manually to include those fields, but again, when loading the flows.json on the new device, they are not there.


I've also tried using the flows_cred.json, but, still, when the flows.json loads, the values are blanked in the UI.


I can go in and manually fill these in, but I would like them to come across with the flows.json.

What concept or idea am I missing for how to properly handle these usernames and passwords when moving flows between machines?

From my experience it's a safety issue. The email node is the same way.
And you can't, after copying it, refill the proper credentials, you actually need to replace node with a fresh one from the pallet. It's annoying but safer that way.
It takes one time of you sharing a flow and all your logins are on the internet.

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