Decrypting node-red credentials file

I have an encrypted credentials file (flows_cred.json) which I would like to convert into an unencrypted credential files.

I know the credential password.
So is there a way I can do that ?


Instead of working with password/keys in my (encrypted) credential files, I am planning to use environment variables. So there is no longer a need to encrypt them.

1 Like

I think if you change credentialSecret to false in settings.js, restart Node-red and deploy a trivial change, it decrypts flows_cred.json.

Obviously make a backup copy of settings.js and flows_cred.json first

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