Is it considered good practice to store passwords in a Github private repository?
[Related to, but very different from, this question]
Is it considered good practice to store passwords in a Github private repository?
[Related to, but very different from, this question]
I'd like to break this question into two parts:
Also, when you store credentials, encrypt them and store the key elsewhere.
I don't believe it's ever a good practice to store passwords anywhere else than where absolutely necessary. GitHub doesn't strike me as meeting such conditions.
It's certainly not 'good practice'.
Whether it's tolerable depends on your security requirements. For SCI clearance type work that ** won't fly.
For a private fun project its probably ok. But putting sensitive passwords anywhere on the cloud is probably not a good idea.
Projects that are serious about security usually don't keep plaintext passwords in their security files.