Skip to content

An open-source, faster Devin alternative

TypeScript

docs(credentials): collapse the security cards into 3 tight bullets

Igor Zalutski7074eae2c1bc
diff --git a/docs/agent-sessions/credentials.mdx b/docs/agent-sessions/credentials.mdx
index add94fe1..117dd06a 100644
--- a/docs/agent-sessions/credentials.mdx
+++ b/docs/agent-sessions/credentials.mdx
@@ -8,24 +8,13 @@ Sessions run the model on **your own provider key** — Anthropic for the `claud
## How your keys are protected
-<CardGroup cols={2}>
- <Card title="Encrypted, write-only" icon="lock">
- Keys live in a dedicated [secret store](/sandboxes/secrets), encrypted at rest (AES-256-GCM) and isolated from the application database. A key is **write-only**: once submitted it's never returned — reads expose only a `last4` display hint.
- </Card>
- <Card title="Never in the sandbox" icon="shield-halved">
- The real value never enters the agent's machine. The runtime sees an **opaque placeholder**; a host-side proxy swaps in the real key only on the outbound HTTPS call to the provider.
- </Card>
- <Card title="Egress-scoped" icon="arrow-right-from-bracket">
- That substitution happens **only** for the model provider's host (`api.anthropic.com` / `api.openai.com`), enforced by an egress allowlist — the sealed token is useless anywhere else.
- </Card>
- <Card title="Rotatable in place" icon="rotate">
- Replace a key's value at any time and it flows to **running** sessions, so a compromised key can be retired without restarting work. See [rotation](#rotation).
- </Card>
-</CardGroup>
-
-So a key is safe to hand to OpenComputer: it can be **used** by your sessions to call your model provider, and read back by no one — not the API, not the model, not the sandbox, not us.
-
-<Warning>The matching responsibility is yours: keep your **org API key** (which manages credentials) on your backend, and hand browsers only session-scoped [client tokens](/agent-sessions/authentication#client-tokens) — never a model key or the org key.</Warning>
+A key is a hard secret the moment it reaches us, and stays one:
+
+- **Encrypted, write-only** — held in a dedicated [secret store](/sandboxes/secrets) (AES-256-GCM), isolated from the app database, and never returned by the API (reads expose only a `last4` hint).
+- **Never in the sandbox** — the runtime sees an opaque placeholder; a host-side proxy swaps in the real key only on the outbound call to the provider, scoped to that host (`api.anthropic.com` / `api.openai.com`) by an egress allowlist.
+- **Rotatable in place** — replace the value any time and it reaches **running** sessions, so a compromised key retires without restarting work ([rotation](#rotation)).
+
+<Warning>Keep your **org API key** (which manages credentials) on your backend, and hand browsers only session-scoped [client tokens](/agent-sessions/authentication#client-tokens) — never a model key or the org key.</Warning>
## Add a credential