Hello,
Indeed, thats a good solution, thank you!
So I made these steps to achieve the desired result:
-Added a secret key for encryption/decryption in .env
-Added encryption logic of raw password in create/update lifecycle.
-Added a custom method for decryption of password to use it in Axios requests when needed.
For encryption/decryption I used node’s crypto.
Thank you