https://github.com/zcaceres/check-for-api-keys
A simple Typescript script to check for API keys in your environment.
https://github.com/zcaceres/check-for-api-keys
Last synced: 7 months ago
JSON representation
A simple Typescript script to check for API keys in your environment.
- Host: GitHub
- URL: https://github.com/zcaceres/check-for-api-keys
- Owner: zcaceres
- License: mit
- Created: 2025-01-17T19:48:45.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-17T20:07:24.000Z (9 months ago)
- Last Synced: 2025-01-17T21:19:43.447Z (9 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# check-for-api-keys
A command-line tool to scan directories for potential API keys and sensitive information in files.
## Features
- Scans directories recursively for potential API keys
- Supports multiple API key patterns including:
- OpenAI API keys
- GitHub Personal Access Tokens
- Google API Keys
- AWS Access Keys
- And many more!
- Respects `.gitignore` files
- Easy to use CLI interface## Installation
1. Clone the repository:
```
git clone https://github.com/yourusername/check-for-api-keys.git
cd check-for-api-keys
```2. Install dependencies:
```
bun install
```## Usage
To check the current directory:
```
bun run start
```To check a specific directory:
```
bun run start /path/to/directory
```## Running Tests
To run the test suite:
```
bun test
```## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the LICENSE file for details.