Skip to content

Commit 9bd81b9

Browse files
test: fix fake AWS key length to exactly 20 chars for gitleaks match
The previous key AKIAVQD12YX3RSMOKETEST was 22 chars but gitleaks' aws-access-token rule requires exactly AKIA[A-Z0-9]{16} (20 total). Use AKIAT3STFAKEKEY12345 which is the correct length. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 18d9930 commit 9bd81b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integration-tests/gitleaks-smoke-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# NOT a real credential — generated for smoke-test purposes only.
1515
# Deliberately avoids the canonical AWS doc examples (AKIAIOSFODNN7EXAMPLE)
1616
# which are in gitleaks' internal global allowlist and would not be flagged.
17-
FAKE_AWS_KEY="AKIAVQD12YX3RSMOKETEST"
17+
FAKE_AWS_KEY="AKIAT3STFAKEKEY12345"
1818
FAKE_AWS_SECRET="sM0keT3st+FaKeK3y/ABCDEFGHIJ1234567890ab"
1919

2020
echo "This file is intentionally flagged by gitleaks for smoke-test purposes."

0 commit comments

Comments
 (0)