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
-**Use consistent naming**: camelCase and standard field names
325
325
326
+
## Secret Masking in Logs
327
+
328
+
The satellite automatically protects sensitive credentials in log output through selective secret masking. This prevents API keys, tokens, and passwords from appearing in plain text in log files or monitoring systems.
329
+
330
+
### How Secret Masking Works
331
+
332
+
**Automatic Detection:**
333
+
- Backend sends metadata with MCP server configurations identifying which fields are secrets
334
+
- Satellite receives `secret_metadata` with lists of secret query parameters, headers, and environment variables
335
+
- Masking utilities automatically apply to fields marked as secrets
336
+
337
+
**Masking Pattern:**
338
+
- First 3 characters remain visible followed by `*****` (e.g., `sk_abc123xyz789` becomes `sk_*****`)
339
+
- Values shorter than 3 characters are fully masked as `***`
340
+
- Non-secret values remain fully visible for debugging
341
+
342
+
### Using the Log Masker Utility
343
+
344
+
The log masking utilities are located in `src/utils/log-masker.ts` and provide three functions for masking different configuration types:
Copy file name to clipboardExpand all lines: general/mcp-configuration.mdx
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,9 @@ Servers synced from the official MCP Registry can use different transport mechan
221
221
Servers that run as local processes using standard input/output. Arguments are configured in the template level (locked), with runtime arguments at team/user levels.
222
222
223
223
**HTTP/SSE Transport (via remotes):**
224
-
Servers accessed via HTTP endpoints. Headers are mapped to appropriate tiers - authentication headers at team level, optional headers at user level.
224
+
Servers accessed via HTTP endpoints. Both headers and URL query parameters are mapped to appropriate tiers:
225
+
-**HTTP Headers** - Authentication headers at team level, optional headers at user level
226
+
-**URL Query Parameters** - API keys and tokens at team level, personal preferences at user level
225
227
226
228
The three-tier system adapts automatically based on the transport type detected from the official registry.
0 commit comments