Skip to content

Commit b8e207b

Browse files
fix: add documented examples to be allowed
Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com>
1 parent 5357e18 commit b8e207b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-secrets

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ register_aws() {
240240
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}"
241241
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}"
242242
add_config 'secrets.allowed' 'AKIAIOSFODNN7EXAMPLE'
243+
add_config 'secrets.allowed' 'AKIAI44QH8DHBEXAMPLE'
244+
add_config 'secrets.allowed' 'ASIAIOSFODNN7EXAMPLE'
245+
add_config 'secrets.allowed' 'ASIAI44QH8DHBEXAMPLE'
243246
add_config 'secrets.allowed' "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
244247

245248
if [[ $? == 0 ]]; then

0 commit comments

Comments
 (0)