Shared databases

Shared databases put a project's connections into every member's Database view. Host, port, database and user are shared. Passwords are never stored where the server can read them: each member types their own, or the password is sealed end to end for members' devices.

What it is#

A shared connection belongs to a project. It has two parts:

PartWhere it livesWho sees it
Settings: name, database type, host, port, database, user, SSH tunnel, environmentThe project, on the IZ Code serverEvery project member, including viewers
PasswordYour machine, or a team vault the server cannot decryptDepends on the password mode below

Connections appear in the Database view of every member whose app is signed in to the organization. The app syncs all projects of the active organization that you can see, not only the projects of the folders you have open. A shared connection carries the note Shared in organization/project, with its version.

Password modes#

Settings are shared; the password never is in readable form
flowchart TD
  subgraph server["IZ Code server"]
    set["Connection settings"]
    vault["Vault password, ciphertext only"]
  end
  subgraph app["Your app"]
    view["Database view"]
    own["Own password, typed by you"]
    key["Device key in keychain"]
  end
  set --> view
  own --> view
  vault -- "wrapped for your device" --> key
  key --> view
Mode (web label)How it worksPlan
Own passwordOnly the settings are shared. Each member types their own database password in the app. Recommended for production databases, so every query runs under a personal account.Team and Enterprise
Team vaultOne shared password, encrypted end to end. Each member's device has its own key pair; the private key stays in the operating system's keychain. The password is encrypted with a random key, and that key is wrapped separately for every device of every member with access. The server stores only ciphertext.Enterprise

In Team vault mode, a new member or a new device needs a teammate to grant access. A maintainer's app does this on its own as soon as it is online and learns that someone is waiting. Until then the new member's app waits; there is nothing to type.

Roles#

Project roleCan do
ViewerSees the shared connection settings. Does not receive the vault password.
DeveloperUses the connection. Vault passwords are wrapped for the developer's devices.
Maintainer, AdminCreate and delete shared connections, and re-grant vault access to new members and devices.

See Teams overview for how roles are assigned.

Add a shared connection#

  1. Open the project on the web Go to your organization's page on izcode.dev, open the project, then Settings ▸ Databases.
  2. Choose Add a connection Fill in Name, Database type, Host, Port, Database and User. The page never asks for a password.
  3. Pick the environment Environment is dev, staging or prod. The label appears next to the connection in every member's Database view.
  4. Pick the password mode Own password or Team vault, then Add connection.
  5. Use it in the app Within a few seconds the connection appears in members' Database view. With Own password, each member opens it and enters their own password the first time.

Environments#

The organization's environment labels win over a member's own labels for shared connections, so a connection the team marked prod is prod for everyone. The environment decides what agents may do with the connection: on prod they can only read, and ask for each read. See Database for the full rules.

Agents never see database credentials, whether the connection is personal or shared.

Remote folders#

When a project folder is open on an SSH host or in a cloud workspace, the database engine on that host gets the same shared connections. The account and the device key stay in your local app; vault passwords travel to the host over your existing connection. Environment labels set by the organization apply to the database engine on your own machine.

Folders served to you over Remote Peer from a teammate's desktop do not sync team data under your account; the owner's own app keeps that folder in sync.

Removing access#

EventWhat happens
A member loses the project role or is removed from the organizationTheir vault key wraps are deleted. The connection disappears from their Database view on the next sync.
A connection is deleted on the webIt is removed from every member's Database view on the next sync.
You sign out or leave the organizationShared connections are removed from your Database view.

Audit#

Creating, editing and deleting shared connections, and every successful vault decryption on a device, are recorded in the organization's Audit log.

Last updated: December 1, 2026Was this page helpful?