Skip to Content
SWARMIXDocs

Encryption and keys

Which keys protect your data, who holds them, when they are released, and what each one seals.

Swarmix encrypts a person's data on their computer, with keys tied to that person. Swarmix Core keeps your keys wrapped by Google Cloud KMS and releases them only to your signed-in devices; each release is logged.

The keys

KeyWhat it sealsWho holds it
The person's key ("Your key")What follows the person to each device: their AI provider keys, plugin secrets and settingsSwarmix Core, wrapped by Google Cloud KMS; released to the person's signed-in devices
A storage key, one per person per organizationWhat syncs to your organization's storage: chats, Data Shield vaults, comments, project filesSwarmix Core, wrapped by Google Cloud KMS; released to the person's signed-in devices while they are a member
Add-in session keysEach add-in session through the HubThe add-in and Hive only; Swarmix Core keeps public keys
The Transcript Sync keyTranscripts uploaded by Transcript SyncThe person, behind their encryption password; your organization holds an escrow key
A Web Studio disk keyThe sign-in file on each person's Web Studio diskSwarmix's pod manager, wrapped by Google Cloud KMS
Swarmix Core's secret keySecrets in Swarmix Core's database: webhook secrets, your organization's AI provider keys, plugin secretsSwarmix Core

How encryption works on the computer

Hive encrypts with AES-256-GCM and derives keys from passwords with Argon2id. It fetches the person's key from Swarmix Core when they sign in and seals their data with it. It keeps storage keys in memory only and drops them when the person signs out or leaves the organization.

Where keys come from and what they protect.

When a key is released

  • Only to a Hive the person is signed in to, with a live sign-in. Agent tokens, MCP sessions and other tokens are refused.
  • For a storage key, only while the person is a member of the organization.
  • Each release is logged with the person, the device and the time. The log is Swarmix's; organizations don't read it.

Your organization's storage

What syncs is encrypted before it leaves the computer. The storage provider sees object names made of ids and their sizes; file names and paths are inside the encrypted records. Hive reaches the storage with credentials limited to the person's own folder, valid 15 to 60 minutes, or with links signed for 5 minutes. Membership is checked on each request, so a removed member loses access at once.

Add-in sessions

The add-in and Hive agree on keys for each session and encrypt what they send each other. The Hub passes the messages on and can't read them. Encryption is required: if it fails, the add-in ends the session instead of sending plain text. See How the add-ins work.

Rotating and deleting keys

  • After a lost device, the person removes it in Your devices, then rotates their key and retires the old one once their other devices have connected. See Account and your key.
  • A storage key is deleted, and the files under it become unreadable for good, when the organization is deleted, when the person is removed from it, or when their account is deleted. A SCIM deactivation keeps it.

FAQ

On this page