Secrets and security.
How the keys you give Outrunner are stored, passed to sessions, and kept out of the conversation.
When your agent asks for a secret
If your agent needs an API key or token it doesn’t have, it doesn’t ask for it in the chat. It asks with Outrunner’s secrets tool, naming the variables it needs and why. The chat box gives way to a form, and your value goes from the form to the session’s sandbox, never into the conversation.
- Each variable gets a password field. You can also paste a whole .env file, or skip the request.
- Your agent is told only which variables you provided, never their values, and is told never to print, log, or commit them.
- A request names 1 to 10 variables, and at least one must be required. Outrunner refuses names it sets itself, such as PATH, HOME, agent credentials like ANTHROPIC_API_KEY, and anything starting with RUNTIME_.
- Pasted values are trimmed, so a trailing newline can’t quietly break a key.
- If you skip, your agent is told not to ask again and to carry on with a mock, a local service, or a documented test value, or to explain why the work needs the key.
Where your values go
A value you send through the form goes two places, and is encrypted or locked down in both.
- In the session: they’re written to an owner-only file in the sandbox and loaded into the agent’s shell from its next command. Every chat in the session can use them. They’re removed when the session is deleted.
- In the project: they’re also saved to the project’s environment variables, so the project’s next sessions have them. If you can’t change the project, the session still gets them and the form says they weren’t saved.
- At rest: project variables and other credentials are encrypted with AES-256-GCM, using a key kept outside the database. Variables are write-only: once saved, nobody can read a value back in the app, only replace or remove it.
- API keys you create for Outrunner’s API are stored only as hashes.
Masked wherever you look
If a command prints a secret, Outrunner replaces it with *** before you see it. Values you provide are masked the moment you send them, even in terminals that are already open.
- Masking covers project variables and files, synced and provided secrets, agent and GitHub tokens, MCP server passwords, and PEM keys.
- It applies to the terminal, the conversation, recordings, archived sessions, and the agent’s replies in Slack.
- It also catches the same values in JSON-escaped, URL-escaped, and base64 forms.
What your agent can still do with a secret
A secret you give a session is there to be used: your agent’s commands can read it from the environment, which is how it calls your API or runs your tests. Masking protects what people see. It doesn’t stop the agent from using a value. If a command prints one, the agent sees that output even though you see ***.
Give sessions the narrowest keys that do the job, such as test-mode, read-only, or development keys, and rotate a key if you think it has been exposed. The same applies to org-shared agent keys: a session’s agent can read the key it runs on.
Doppler and Infisical
An org admin connects Doppler or Infisical once, under Settings → Org → Integrations, and links a project to a Doppler config or an Infisical environment and folder. Every new session of the project fetches the secrets as it starts. Outrunner keeps the connection’s encrypted credentials and the names it synced, never a copy of a value.
- When names clash, Doppler is applied first, then Infisical, then the project’s own variables, which always win.
- Test sync shows the key names a session would get, never the values.
- Only admins can link a project, because a link gives the provider’s secrets to every session of that project.
- Use an Infisical identity scoped to only what sessions should read. A self-hosted Infisical must be public https; private and loopback addresses are refused.
GitHub access
Sessions in an org that installed the Outrunner GitHub App work with tokens limited to the session’s repository that last an hour. Tokens never appear in the terminal or the conversation, because they’re masked like every other secret.
Something unclear? Let us know ↗