secrets-scanner

command module
v0.0.0-...-fdfc828 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

README

secrets-scanner

Find API tokens and other secrets in your code.

Example: Search Git history including commit messages:

$ git clone https://github.com/stefansundin/secrets-scanner.git
$ cd secrets-scanner
$ go build
$ git log -p | ./secrets-scanner
Found Redis URLs:
- 'redis://h:1i0647a29e4qsp3iefbttnhnca3@example.com:11141'

Use -test to test the found keys automatically. Not supported for all services.

$ git log -p | ./secrets-scanner -test
Found Redis URLs:
- 'redis://h:1i0647a29e4qsp3iefbttnhnca3@example.com:11141'
Connection failed: dial tcp 93.184.216.34:11141: i/o timeout

Supported

  • AWS Access Key ID
  • Google Access Token
  • Google API key
  • Slack xoxp and xoxb tokens
  • Redis URLs
  • Gemfury URLs

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL