diff --git a/git-secrets b/git-secrets index e46ba8c..f5d019a 100755 --- a/git-secrets +++ b/git-secrets @@ -242,7 +242,11 @@ register_aws() { add_config 'secrets.patterns' "${opt_quote}${aws}(SECRET|secret|Secret)?_?(ACCESS|access|Access)?_?(KEY|key|Key)${opt_quote}${connect}${opt_quote}[A-Za-z0-9/\+=]{40}${opt_quote}" add_config 'secrets.patterns' "${opt_quote}${aws}(ACCOUNT|account|Account)_?(ID|id|Id)?${opt_quote}${connect}${opt_quote}[0-9]{4}\-?[0-9]{4}\-?[0-9]{4}${opt_quote}" add_config 'secrets.allowed' 'AKIAIOSFODNN7EXAMPLE' + add_config 'secrets.allowed' 'AKIAI44QH8DHBEXAMPLE' + add_config 'secrets.allowed' 'ASIAIOSFODNN7EXAMPLE' + add_config 'secrets.allowed' 'ASIAI44QH8DHBEXAMPLE' add_config 'secrets.allowed' "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" + add_config 'secrets.allowed' "je7MtGbClwBF/2Zp9Utk/h3yCo8nvbEXAMPLEKEY" if [[ $? == 0 ]]; then echo 'OK'