Gitleaks

An open-source secret scanner for Git repositories and files, configured with TOML rules that combine regular expressions, keywords and entropy.

In more detail

A custom rule gives an ID, a regex with a capture group for the secret, keyword prefilters and a minimum entropy. --redact keeps found secrets out of the build log, and .gitleaksignore silences one finding by fingerprint.

Related terms

Taught in

References