GitHub commit search: “remove password”
261–266 of 266 posts
Re: GitHub commit search: “remove password”
#262Earlier quoted context omitted.
I think its as important to make it "hard to do the wrong thing" as "easy to do the right thing". In this case having to explicitly exclude a file containing passwords from being deployed would fail that rule of thumb. The Azure Key Vault is a good solution that so far seems easy to work with (I've only just started using it though) and it can make the storage of secrets easier to secure but you still have the issue…
Somehow I doubt Azure Key Vault is easier than a gitignore line and a text file
Re: GitHub commit search: “remove password”
#263Earlier quoted context omitted.
I think its as important to make it "hard to do the wrong thing" as "easy to do the right thing". In this case having to explicitly exclude a file containing passwords from being deployed would fail that rule of thumb. The Azure Key Vault is a good solution that so far seems easy to work with (I've only just started using it though) and it can make the storage of secrets easier to secure but you still have the issue…
As you say, the Azure Key Vault helps making things more secure (by allowing to control, log and revoke keys usage), but it does not help at all with the problem of API keys in the source code - it's just another set of keys that you need in your config.
Re: GitHub commit search: “remove password”
#264Earlier quoted context omitted.
Kms doesn't have a size limit if used right. You should use kms to store a key and store the data on s3 encrypted.
I'm curious of cases for when people are running into size limitations for storing secrets... what type of secrets are > 4kb? I could imagine some example but I'm wondering about real world examples...
Re: GitHub commit search: “remove password”
#265Earlier quoted context omitted.
Kms doesn't have a size limit if used right. You should use kms to store a key and store the data on s3 encrypted.
Sure, which is why I said to use e.g. credstash in such cases. It stores the secrets in DynamoDB while using KMS to handle the keys. I guess you are talking about using S3 server side encryption, which is another approach.
Re: GitHub commit search: “remove password”
#266Earlier quoted context omitted.
While there may well be common trends, Git is a tool for arbitrary content - it's going to be pretty hard to accurately find passwords/secrets being committed. There are tools out there for more specific sets of stuff, but expecting git to catch anything is a little much.
Regardless. The broader point is, Git is a screwdriver and what is needed at this point is a hammer. Sure, we can keep trying to pound nails with a screwdriver but that's harder work and is far less productive. We. Need. A. New. Tool. p.s. But there are how many CSS pre-processors? And how many JS frameworks? Etc. Things we don't need. Go figure.