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
|`--auth-token <token>`|`T3CODE_AUTH_TOKEN`| WebSocket auth token. Use this for standard CLI and remote-server flows. |
18
+
|`--bootstrap-fd <fd>`|`T3CODE_BOOTSTRAP_FD`| Read a one-shot bootstrap envelope from an inherited file descriptor during startup. |
18
19
19
20
> TIP: Use the `--help` flag to see all available options and their descriptions.
20
21
21
22
## Security First
22
23
23
24
- Always set `--auth-token` before exposing the server outside localhost.
25
+
- When you control the process launcher, prefer sending the auth token in a JSON envelope via `--bootstrap-fd <fd>`.
26
+
With `--bootstrap-fd <fd>`, the launcher starts the server first, then sends a one-shot JSON envelope over the inherited file descriptor. This allows the auth token to be delivered without putting it in process environment or command line arguments.
24
27
- Treat the token like a password.
25
28
- Prefer binding to trusted interfaces (LAN IP or Tailnet IP) instead of opening all interfaces unless needed.
0 commit comments