Rename flow file - Need to rename credential file too?

I am running Node-Red in a raspberry without the project features enabled. For a particular reason, I want to rename the flow file from flows_raspberrypi.json to flows.json

I will change settings.js by uncommenting line below:

    // The file containing the flows. If not set, it defaults to flows_<hostname>.json
    //flowFile: 'flows.json',

My question: the credentials file seems to use the computer name in its file name as it appears as flows_raspberrypi_cred.json

Should I rename the credentials file too ?


Thank you mates !

The credentials file must match your flow file - just with the _cred bit added.

If you rename one, you must rename the other.

1 Like

Perfect, thank you very much Nick.