You're asking what I've done? I've followed the documentation. Exactly as described there. Would you like me to repeat it here for you?
I have reason to believe there are some errors in the documentation. At least it is contradictory to itself.
- The part about adding the credential fields is duplicate. Point 1 and 3 are identical, with point 3 being more clear.
- The editor field IDs are unclear. The example uses names like "node-input-username" but then explains that the same ID conventions as for regular node properties are used, which are different. That would be "node-config-input-username" here.
I'll ignore number 1 for now. After fixing number 2 and changing my field IDs to include "config", the flow cred .json file is larger than before and the editor fields show the values I entered before. So the documentation example is wrong. Bug found on Node-RED side.
The note about password fields not being accessible easily in the editor is also wrong, but that didn't cause any work on my side. Password fields are already set appropriately. Not with the actual password of course, but with a recognisable placeholder. So no work is necessary for this. Password fields just work.
Lots of nodes use the credentials feature? I'm wondering how they figured out how it works. I'm using Node-RED version 0.20.0 by the way, that should be the latest release as of today.