detect-secrets
detect-secrets copied to clipboard
Improve accuracy of aws_secret_access_key in keyword detector
It is one of the rarely specific kinds of secrets where we should ensure length and stuff of the captured group, so that e.g. foo or bar are not captured with that keyword. This isn't possible for most keywords, since e.g. passwords can be anything.