I'm building an app which connects to multiple third parties APIs. Everything works fine but the problem is with storing the API authentication keys.
The problem is that users will add those keys (can add/remove whenever they want) and there can be multiple keys for the same party.
Now I was wondering if the best option would be to save it in the database the way it is.
But the problem is if I hash/encrypt the key and save I cannot decrypt them as far as I have heard.
I hope someone can help me out with this.
Thanks
question from:
https://stackoverflow.com/questions/65646747/storing-dynamic-apis-or-passwords-in-node 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…