Skip to content

Instantly share code, notes, and snippets.

@iknowjason
Created July 23, 2021 01:07
Show Gist options
  • Save iknowjason/64914c08c0512f7380dbe7240812d69d to your computer and use it in GitHub Desktop.
Save iknowjason/64914c08c0512f7380dbe7240812d69d to your computer and use it in GitHub Desktop.
AWS gitleaks configuration for access keys and secret
title = "gitleaks aws secrets config"
[[rules]]
description = "AWS Key ID"
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
tags = ["key", "AWS"]
[[rules]]
description = "AWS Secret Key2"
regex = '''(?i)aws_secret_key='''
tags = ["key", "AWS"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment