Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
207 views
in Technique[技术] by (71.8m points)

node.js - storing dynamic API's or passwords in node

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...