# This is a simple gitleaks config that contains one rule which checks for AWS keys and a file check that will trigger # a leak if a .pem file is found [[rules]] description = "AWS Manager ID" regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}''' tags = ["key", "AWS"] [Global] file = '''(.*)?pem$'''