You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Install from [Open VSX](https://open-vsx.org/extension/OffensiveEdge/secrets-le) or [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=nolindnaidoo.secrets-le)
153
-
2. Open any file (`.js`, `.ts`, `.json`, `.env`, `.py`, or any text file)
180
+
2. Open a workspace folder in VS Code
154
181
3. Run `Secrets-LE: Detect Secrets` (`Cmd+Alt+S` / `Ctrl+Alt+S`)
155
-
4. Review detected secrets and sanitize if needed
182
+
4. Review detected secrets grouped by file and type
183
+
5. Sanitize secrets if needed using the sanitize command
- Maximum files to scan (`workspace.scanMaxFiles`, default: 10000)
209
+
-**Detection**:
210
+
- Sensitivity (low, medium, high)
211
+
- Secret type filters (API keys, passwords, tokens, private keys)
212
+
-**Output**:
213
+
- Sanitization replacement text
214
+
- Deduplication options
215
+
- Format preferences (side-by-side, clipboard copy)
216
+
-**Safety**:
217
+
- File size warnings and thresholds
218
+
- Notification levels (silent, important, all)
184
219
185
220
For the complete list of available settings, open VS Code Settings and search for "secrets-le".
186
221
187
222
## 📁 Supported File Types
188
223
189
-
**Secrets-LE works universally on any text file!** Detection uses regex patterns applied directly to text content.
224
+
**Secrets-LE works universally on any text file in your workspace!** Detection uses regex patterns applied directly to text content. The extension scans your entire workspace and processes all text files by default.
225
+
226
+
### Workspace Scanning
227
+
228
+
By default, Secrets-LE scans all files (`**/*`) but automatically excludes:
19 types including API keys, AWS, Azure, GCP, JWT, tokens, passwords, private keys
262
325
263
326
**Does it send data anywhere?**
264
327
No! 100% local processing. No network requests ever
@@ -269,6 +332,9 @@ Yes! Adjust sensitivity levels and enable/disable specific secret types
269
332
**How accurate is detection?**
270
333
High accuracy with configurable sensitivity to reduce false positives
271
334
335
+
**Does it scan the entire workspace?**
336
+
Yes! By default it scans all files in your workspace, excluding common directories like node_modules and .git. You can customize scan patterns in settings.
337
+
272
338
## 📊 Testing
273
339
274
340
**17 unit tests across 1 test file** • Powered by Vitest • Run with `bun run test:coverage`
@@ -279,7 +345,7 @@ High accuracy with configurable sensitivity to reduce false positives
279
345
280
346
### Test Suite Highlights
281
347
282
-
-**Comprehensive secret detection** across 15+ types
348
+
-**Comprehensive secret detection** across 19 types
283
349
-**Sanitization validation** with replacement verification
0 commit comments