Reputation: 5092
Is it considered good practice to store passwords in a Github private repository?
[Related to, but very different from, this question]
Upvotes: 13
Views: 5832
Reputation: 446
I'd like to break this question into two parts:
Also, when you store credentials, encrypt them and store the key elsewhere.
Upvotes: 20
Reputation: 3895
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.
Upvotes: 2
Reputation: 120178
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.
Upvotes: 2