FolioFolioDocs

Keys

Agents and the tools they run often need a key from another service, such as an API key for an image model. Workspace keys hold them in one place for the whole workspace. Every agent session on every machine gets them.

Open the keys

Press Keys in the File Browser's title bar, or ⌘,.

The keys your workspace's domain uses come first, then any other key you added. Each line shows who set the key and when. A key's value is never shown again after it is saved, to anyone.

Add or replace a key

  • For a key the domain names, press Add key, paste the key, and press Check and save. Folio checks it with the service before it saves it.
  • For another key, press + Add a key, give its name and paste the value. The name must end in _KEY, _TOKEN or _SECRET, for example RUNWAY_API_KEY.
  • To replace a key, hover its line and press Replace.

Any member of the workspace can add, replace or remove a key. A mount token or an app can't.

Where keys go

WHERE THEY GO lists the machines. A session that starts after a change gets the new keys. Update running sessions gives them to the sessions already running: their next command reads the new keys. A machine that is asleep gets them when it wakes.

A workspace key wins over the same key set on the machine itself.

When a machine is missing a key the domain needs, Start agent session says so beside the machine, with Add key.

On your Mac

Set up this Mac can put the workspace's keys on your Mac too, so an agent there gets them (see Connect your Mac). A key you type there is saved to the workspace, so every session gets it. To pick up a later change, run setup again.

Remove a key

Hover its line and press Remove, then Remove key. Sessions that start after this don't get the key. Running sessions lose it when you update them.