Created
May 27, 2017 11:08
-
-
Save gburgett/d0d6543ca8170fdaef09458f8b66e98d to your computer and use it in GitHub Desktop.
git secrets config for nodejs project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[secrets] | |
patterns = .*(TOKEN|token|SECRET|secret|KEY|key|PASS|pass)\\S*\\s*=\\s*\\w+\\s*$ | |
patterns = .*(TOKEN|token|SECRET|secret|KEY|key|PASS|pass)\\S*\\s*=\\s*[[:punct:]]\\S+[[:punct:]]\\s* | |
allowed = .+=\\*+(\\s.*)?$ | |
allowed = .+=\\s*process\\.env\\.\\S+ | |
allowed = .+=\\s*[[:punct:]]test_.+$ | |
allowed = `.+=\\s*\\${.+$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment