A rule based library to help identify credentials and secrets in files and strings.
Project description
Credential Sleuth
A rule driven library for detecting secrets and credentials within files and strings.
Simple Usage
Finding secrets in a string:
import credsleuth
data = """
Hello, world
Password=123
aws_access_key_id = AKIAIOSFODNN7EXAMPLE
Goodbye
"""
print(credsleuth.check_string(data))
Finding secrets in a string:
import credsleuth
print(credsleuth.check_string("filename.txt"))
Advanced Usage
- Todo
Installation
pip install --user credsleuth
Writing Rules
See rules.json
for an example to extent.
Todo
- Add some comments to codebase
- Add pretty output options for command line execution.
- Write a proper read me.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
credsleuth-0.0.9.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for credsleuth-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6828306cf69721211ad6fa9abd86b1b6a1c0efa8459ada5e93f57186ceab36d |
|
MD5 | 77cb3dbe8d1f5fc9a1b464d61cd47790 |
|
BLAKE2b-256 | 738e17af33b7f86952d8fcfd4e5695ba053728db9d15dfc273ec3a20acb01aa9 |