1 unstable release
| 0.1.0 | Apr 11, 2026 |
|---|
#100 in #clipboard
9KB
198 lines
keypls
Key, please. Copy API keys from your environment to your clipboard.
Usage
# List all detected API key environment variables (masked)
keypls
# Copy a key to clipboard
keypls ANTHROPIC_API_KEY
# Print the full value to stdout instead
keypls ANTHROPIC_API_KEY --show
# Explicitly list keys
keypls --list
# Help
keypls --help
What it detects
keypls scans your environment for variables matching:
*_API_KEY,*_SECRET,*_SECRET_KEY,*_TOKEN,*_ACCESS_KEY,*_AUTH- Common exact names like
ANTHROPIC_API_KEY,OPENAI_API_KEY,GITHUB_TOKEN,AWS_ACCESS_KEY_ID, and more
Values are displayed masked (first 4 + last 4 characters) so you can identify keys without exposing them.
Installation
cargo install keypls
Clipboard support
Uses platform-native clipboard access with zero dependencies:
- macOS:
pbcopy - Linux:
xcliporxsel - Windows:
clip
License
MIT