Guides / Redact API keys in screenshots
Redact API keys and tokens from screenshots before you share them
A screenshot of a terminal, a CI log or a cloud console is the fastest way to show a vendor or an incident channel what went wrong. It is also a common way keys leak. BlurVault looks for keys, tokens and passwords in the screenshot and covers them with solid boxes, without the image leaving your browser.
A worked example
A failed CI job. The AWS keys, a JWT, a GitHub token, a Stripe key, IP addresses and emails are covered. Timestamps, job steps and error messages stay readable. Made-up data, covered by the real tool.


From the redaction log of this export
15 entries, each linked to the one before by SHA-256
| # | What | Why it was suggested | Rule |
|---|---|---|---|
| 1 | AWS key | An AWS access key ID (AKIA, ASIA and similar) | aws_key |
| 2 | Secret | The value after "AWS_SECRET_ACCESS_KEY" | after-key, high-entropy |
| 3 | Token | A JSON Web Token (starts with eyJ) | jwt, after-key, high-entropy |
| 4 | Secret | A long random-looking string, often a key or token | high-entropy |
| 5 | GitHub token | A GitHub token (ghp_, ghs_ or github_pat_) | github_token, high-entropy |
| 6 | IP address | An IP address | ip, high-entropy |
…and 6 more boxes in the full log.
- SHA-256 of the original
- cbcdfb05f154ec0a4463717b83a9c7e02ad3adb66dc6e4b454edcefa9deae99a
- SHA-256 of the covered copy
- 0834baa31916cd7f8a42006da0c0710e27673abd3f99499b2e11c4e55b201fea
- Checked by
- ops.lead@example.org, ticked “I checked every page”
The pictures on this page are compressed copies, so their fingerprints differ from the PNG files the log describes.
How to do it
- 1
Paste the screenshot
Press Ctrl+V (⌘V on a Mac) right after taking it, or drop the file.
- 2
Read the suggestions
Each box names what it found, such as "A GitHub token (ghp_, ghs_ or github_pat_)" or "The value after DATABASE_PASSWORD".
- 3
Look for what it cannot read
Dark terminals with tiny text are the hardest case. Zoom in, and draw a box over any key that has no suggestion.
- 4
Check every page and export
Tick I checked every page and export. The covered PNG has no metadata.
- 5
Rotate anything already shared
If a key was visible in a copy that already went out, covering the next copy does not help. Rotate the key.
What to keep visible, and what to cover
Keep visible
- Timestamps and log levels
- Error messages and stack traces
- Endpoint paths and status codes
- Job names, step names and versions
Cover
- AWS access keys, secret keys and account IDs
- Stripe, GitHub and other API keys and tokens
- JSON Web Tokens and Bearer tokens
- Passwords after password= or inside connection strings
- Internal IP addresses and customer emails
Keys BlurVault has no pattern for can still be caught as long random-looking strings, but not always. Read the uncovered lines yourself.
What it recognises
AWS access key IDs (AKIA, ASIA and similar), 40-character secret keys and account IDs; Stripe keys (sk_, rk_, pk_, whsec_); GitHub tokens (ghp_, ghs_, github_pat_); JSON Web Tokens; values after labels such as password, secret, token or api-key; Bearer tokens; passwords inside connection strings; and long random-looking strings. It allows for common misreads, such as a 0 read as an O, so a key the reader got slightly wrong is still covered.
Why not blur?
Blurred and pixelated text can be read back when it is short. In our own test, a blurred 4-digit number was read back 20 times out of 20. BlurVault covers text with solid boxes only, and the export is a new file drawn fresh, so the covered pixels are not inside it.
Check the no-upload claim yourself
Open your browser's DevTools, switch to the Network tab and open a screenshot in BlurVault. You will see the page's own files and a one-time download of the text reader from this site, which is code and an English model, not your screenshot. Nothing carries your file out. The tutorial shows how.
Questions
- Is the screenshot sent anywhere to be scanned?
- No. The text reader runs in your browser tab. It is downloaded once from blurvault.app, about 4 MB, and it is code and a language model, not your file. You can check the Network tab.
- Does it work on dark terminal themes?
- Usually, but small light-on-dark text is the hardest case and a token can be missed. Zoom in before you tick I checked every page.
- Can I add my own key format?
- Not yet. Draw a box by hand for formats it does not know. A long random-looking string is often caught anyway.
- Can I use it for incident reports?
- Yes. With Pro, the redaction log records the SHA-256 fingerprints of the original and of the covered copy, so the copy you shared can be matched to the original you kept.