scan-for-secrets

2.0.3 • Public • Published

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"
        ],
    }

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i scan-for-secrets

    Weekly Downloads

    168

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    8.41 kB

    Total Files

    10

    Last publish

    Collaborators

    • bcalderwood