Reputation: 952
I'm looking for ideas on what would be the most approachable/secure way, to store passwords in an application, which are needed for external services (the external services don't support any kind of tokens, just plain password authentication).
There are about 10 passwords, which I'm in need to store and use regularly, so not too many.
My thoughts:
Would appreciate any idea/input with pros/cons or any link to some useful resources (as I couldn't really find much about this topic)
Upvotes: 1
Views: 339
Reputation: 12075
There are multiple questions like this here and the issue with the credentials is.. you need to store them somewhere
I agree hardcoding credentials is a VERY bad idea, imho the best options you have are database or configuration (file or env. variables)
Now it's up to you if you are ok to store the credentials plaintext or you encrypt them, but the encryption key need to be stored somewhere too..
Upvotes: 1