Skip to main content
For everyone who can reach a sandbox, in and out of the team, read Security and isolation. In the scope of an organization, boat list, GET /sandboxes and the dashboard show two sets of sandboxes:
  • Your own sandboxes.
  • Every sandbox the organization pays for, whoever created it.
Each sandbox shows who created it (createdBy), whether it is shared or private (visibility), and what you can do with it (access).

Shared or private

Make a sandbox private or shared

The creator runs unshare or share. A sandbox that holds none of the creator’s logins changes at once, both ways. Nothing on the sandbox changes.
  • unshare removes teammates’ SSH keys from the running sandbox. A terminal a teammate already has open stays open until it closes.
  • Teammates never read history recorded while the sandbox was private.
  • In the dashboard, pick Make private or Share with org in the row menu.

New sandboxes: shared or private by default

New sandboxes of an organization start shared. Owners and admins can make them start private. Existing sandboxes keep their setting.
In the dashboard, the setting is on the Organization page. The default applies to sandboxes created, deployed from a saved snapshot, forked, or moved in with boat org migrate. A fork of a private sandbox is private.

Why a sandbox with your logins is private

A sandbox can get these from its creator, when its environment passes them:
  • GitHub token.
  • Claude and Codex logins.
  • Environment secrets.
Anyone with a shell in that sandbox could act as that person. So a teammate gets a shell only when none of these are on the sandbox. A sandbox created with --no-env is shared from the start, unless the organization default is private. So is a sandbox created on an environment that passes nothing: marked safe for third parties without the AI credentials proxy, or with every section turned off. Such a sandbox never receives personal logins later: an environment upgrade skips it, and a resume or fork onto an environment that passes logins returns 409 environment_passes_logins. Pick this setup for agents that the whole team runs. Give these agents the team’s own model keys with --env. Do not give them the logins of one person.

Share a sandbox that holds your logins

The creator of the sandbox runs share. Then:
  • boat never sends the creator’s GitHub token, model logins, secret files or the sandbox’s own CLI key to it again. The sandbox becomes noEnv.
  • boat deletes these from its disk when the sandbox next starts.
  • Files and installs stay.
  • You cannot undo the removal of the logins. You can still make the sandbox private again with unshare.
A sandbox that runs when you share it still has your logins in the memory of its programs. It stays view for your team until you stop it and resume it. The response then shows restartRequired: true.

In the dashboard

A sandbox that bills your personal account does not show to your teammates at all. Read A teammate cannot see or use my sandbox.

Errors

These actions stay with the creator:
  • Fork.
  • Delete.
  • Change its settings: name, subdomain, auto-stop.
  • Any stop that deletes data: --force, or any stop of a sandbox with snapshots off. The organization owner can also do this.
  • Any stop of a sandbox that its creator made private (unshare, or the private default). Owners and admins of the organization can also do this. So with boat org default-visibility private, each member stops only their own sandboxes.

Shared environments and AI credentials

Give the team’s sandboxes the team’s own model keys, not a person’s logins. Members use these unless an owner limits them to a list of members.
A sandbox billed to the organization can name an organization environment. When the creator has an environment of the same name, the creator’s own environment wins.