Skip to main content
A Connection is a saved, encrypted set of credentials and configuration for a data source or destination. You create a connection once and can use it across as many pipelines as you want.

How connections work

Connections behave differently depending on the execution mode selected:
  1. You enter credentials in the Zwiron dashboard
  2. Credentials are encrypted with the agent’s public RSA key
  3. Atlas stores the ciphertext; the agent also keeps a local encrypted copy
  4. When a job runs, the agent decrypts credentials locally and runs the sync — plaintext is not sent back to Zwiron
Zwiron cannot read Agent-mode passwords without the agent’s private key.

Source vs. destination connections

A connection can be used as a source, a destination, or both — depending on the connector type. For example, a Postgres connection can be used as a source (reading tables) or a destination (writing tables). A Snowflake connection is typically used as a destination.

Testing a connection

Click Test Connection to verify connectivity. The test:
  1. Routes through your agent (Agent mode) or Zwiron’s hosted engine (Hosted mode)
  2. Checks network reachability — can the engine reach host:port?
  3. Checks authentication — are the username and password valid?
  4. Checks database access — can the user access the specified database?
If the test fails, you’ll see a specific error message explaining what failed.

Connection status


Reusing connections across jobs

One connection can be the source or destination for multiple jobs. If your database credentials change, you only need to update the connection once — all jobs using it will automatically use the new credentials on the next run.

Permissions

Zwiron needs the minimum permissions required for each operation:
  • Source connections — read-only access to the tables you want to sync
  • Destination connections — write access (INSERT, UPDATE, CREATE TABLE) to the target schema
  • CDC sources — additional replication permissions (see the connector-specific guide for exact SQL)
We recommend creating a dedicated database user for Zwiron rather than using an admin account.

Deleting a connection

Deleting a connection removes the stored credentials from the agent and removes the connection from all pipelines. Any jobs using that connection will stop running.
Deleting a connection cannot be undone. Make sure no active jobs depend on it before deleting.
Last modified on July 13, 2026