Scan for secrets within files.
Project description
Secret Scanner
A simple tool to scan directories for secrets using regular expressions.
Install
Install using either pip
, pipx
or your Python installer of choice
pipx install secretscanner
Usage
To scan a directory and print the files with secrets
secretscanner DIRECTORY
To also display info on the tokens that have been found pass the -v
/--verbose
flag.
To hide the output pass the -q
/--quiet
flag.
If secrets are found the tool exits with exit code 1
Recognized Secrets
The tool currently recognizes the following secret types
- Github access tokens
- PyPI access tokens
- Digital Ocean access tokens
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
secretscanner-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for secretscanner-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89299154f0248e87a0ca9f6616ba0a3fb2a4d8e74f57b2a03c1747bb8ee9579c |
|
MD5 | 3d3b57e33dd82a97208b5ef2eef27909 |
|
BLAKE2b-256 | 6e4135a95031cfd8b926fd48156167282b281f97e16c1bde86ab89850356b334 |