I'm building a node api for a multi-tenant app and I'm using a tenant catalog in-memory which stores all the connection strings to connect to the database of each tenant.
Even though there's limits to what the account can do and the origin that can connect to the db for those specific accounts, I still don't want to even consider storing those passwords into plain text.
I've used bcrypt before but due to its 'one-way' nature, I wouldn't really be able to use the 'stored' passwords.
Is there a safe way to handle these in a NODE app?