We have implemented storage module using Oracle DB 26ai, but credential is missing while storing into DB, hash which storage function receives doesn't have the credentials. So the credential go away when we restart the node red. Please help!.
Without being able to see the code for your storage module there is little we can do.
Can you point to a GitHub (or similar public) repo we can see the code in?
But if I've understood properly what you've described, what is passed to the credentials storage is not a hash, it's an encrypted copy of the credentials object. The key for which is included in the settings object
I have refered GitHub - gingerhelp/node-red-contrib-mysql-storage-plugin: Node Red MySQL Storage Plugin · GitHub to implement my plugin. Sorry for the confusion, hash means the encrypted credential only. The encrypted value doesn't have credential, it has encrypted empty object. You can refer credentials.js inside /../@node-red/runtime/lib/nodes the encryptCredentials function has credentials object which is empty during node creation with creds. But if I use the default localfilesystem storage it works well.
No, we need to see your actual code, not what you have "based" your code on.
You also need to give a LOT more detail about how you are testing this, we need to be able to try and reproduce the problem if we are going to help.
e.g. Which nodes are you testing with? Is it one of the core nodes like the http request node?