Skip to content

blaircalderwood/scan-for-secrets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An NPM package which scans a given directory for the inclusion of AWS keys.

Requires

Node 8+

Installation

  1. Install package

    npm install --save-dev scan-for-secrets
  2. Add the script to package.json with the directory in which you want to scan for keys

    {
      "scripts" : {
        "scan-for-secrets": "scan-for-secrets <directory-to-scan>",
        ...
      }
      ...
    }
  3. Add to pre-commit hook in package.json (optional)

    {
        "pre-commit": [
          "scan-for-secrets"
        ],
    }

About

Scan your repository for AWS secrets before committing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published