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
| Key | What it seals | Who holds it |
|---|---|---|
| The person's key ("Your key") | What follows the person to each device: their AI provider keys, plugin secrets and settings | Swarmix Core, wrapped by Google Cloud KMS; released to the person's signed-in devices |
| A storage key, one per person per organization | What syncs to your organization's storage: chats, Data Shield vaults, comments, project files | Swarmix Core, wrapped by Google Cloud KMS; released to the person's signed-in devices while they are a member |
| Add-in session keys | Each add-in session through the Hub | The add-in and Hive only; Swarmix Core keeps public keys |
| The Transcript Sync key | Transcripts uploaded by Transcript Sync | The person, behind their encryption password; your organization holds an escrow key |
| A Web Studio disk key | The sign-in file on each person's Web Studio disk | Swarmix's pod manager, wrapped by Google Cloud KMS |
| Swarmix Core's secret key | Secrets in Swarmix Core's database: webhook secrets, your organization's AI provider keys, plugin secrets | Swarmix 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.
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
Swarmix Core keeps your keys wrapped by Google Cloud KMS and releases them only to your signed-in devices; each release is logged.
No. Objects are encrypted before upload. The provider sees ids and sizes, not names or contents.
Only through Transcript Sync's escrow, with a stated reason. Swarmix Core records the access and the member is notified. See Transcript Sync.
Related
- Account and your key
- Hive on each computer
- Security and isolation for Web Studio