Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion beta-updates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Every new minor version ships as one or more betas before its stable release, su

<Steps>
<Step title="Switch to the Beta channel">
Open **Settings > General** and, under Software Update, set **Update channel** to **Beta**.
Open **Settings > General > Software Update** and set **Update channel** to **Beta**.
</Step>
<Step title="Check now">
Click **Check Now**, or wait for the next daily check. The newest release wins, beta or stable.
Expand Down
14 changes: 7 additions & 7 deletions connections/connection-form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Click **Advanced Options** near the end of the form to reveal these fields. **Sa
| Plugin fields | Driver-specific options, such as MongoDB's `replicaSet`, in a section named after the database type |
| **Extensions** | SQLite, and libSQL in Local File mode. Libraries loaded into the database file on every connect. See [Extensions](/databases/sqlite#extensions) |
| **Connect timeout** | Maximum seconds for the network transport and remote database to finish connecting. Empty uses 30 seconds; valid values are 1 to 600 |
| **Query timeout** | Override of **Settings > General** for this connection. Empty inherits the global value; `0` means no limit. Only drivers that support query timeouts enforce it |
| **Query timeout** | Override of **Settings > Connections** for this connection. Empty inherits the global value, which the empty field shows, such as **Global (60)**, or **No limit**; `0` means no limit. Only drivers that support query timeouts enforce it |
| **Load binary values up to** | MySQL and MariaDB. A binary value above this many KB loads when you open, copy or export it. Empty uses 64; valid values are 1 to 1048576. See [Large binary values](/features/data-grid#large-binary-values) |
| **Identifier case** | PostgreSQL, PGlite, Oracle and Snowflake. The case table, column and schema names take in autocomplete and in **Copy as INSERT Statements** and **Copy as UPDATE Statements**. See [Identifier case](/features/autocomplete#identifier-case) |
| **Startup Commands** | SQL to run after every connect. See [Startup commands](#startup-commands) |
Expand All @@ -86,9 +86,9 @@ Click **Advanced Options** near the end of the form to reveal these fields. **Sa
| **Post-Disconnect Script** | Shell script run once the session ends, after a pre-connect script ran. See [Connection scripts](#connection-scripts) |
| **Safe Mode** | Confirms, authenticates or refuses queries before they run. See [Safe Mode](/features/safe-mode) |
| **Manual Commit** | Off by default. On, the first change opens a transaction and nothing is saved until you commit it. **Database > Manual Commit** is the same setting. Dimmed on engines that commit schema changes on their own. See [Manual Commit](/features/sql-editor#manual-commit) |
| **AI Policy** | Per-connection override for the in-app AI agents. **Never** also refuses external clients. Under it, each tool you gave **Always Allow** on an [assistant tool card](/features/ai-assistant#tool-calling) is listed by name as **Always allowed**, with **Forget**. After **Save**, a forgotten tool asks again on its next call. Shown while **Enable AI Features** is on |
| **AI Policy** | Per-connection override of **Default AI policy** in **Settings > AI**, for AI features and MCP clients alike. **Never** also refuses external clients. Shown whether or not AI features are on, since MCP clients follow it either way. While AI features are on, each tool you gave **Always Allow** on an [assistant tool card](/features/ai-assistant#tool-calling) is listed under it by name as **Always allowed**, with **Forget**. After **Save**, a forgotten tool asks again on its next call |
| **External Clients** | **Blocked**, **Read Only** (the default), or **Read & Write** for MCP clients such as Raycast, Cursor, and Claude Desktop, and for [AppleScript](/developers/applescript) and [Shortcuts](/integrations/shortcuts). A token's own scope cannot raise it. See the [integration security model](/developers#security-model) |
| **AI Rules** | Guidance the AI reads on every chat turn for this connection: table conventions, columns to avoid, join hints. Shown while **Enable AI Features** is on. See [AI Assistant](/features/ai-assistant) |
| **AI Rules** | Guidance the AI reads on every chat turn for this connection: table conventions, columns to avoid, join hints. Shown while **Enable AI features** is on. See [AI Assistant](/features/ai-assistant) |
| **Local only** | Keeps this connection and its passwords off iCloud. Saving an existing synced connection as Local only removes its passwords from iCloud Keychain, so your other devices ask for them again. Shown while **Sync this Mac with iCloud** is on. See [iCloud Sync](/features/icloud-sync#keeping-a-connection-off-icloud) |

The connect timeout is one deadline for the whole network attempt, not a new timeout for each step.
Expand Down Expand Up @@ -162,8 +162,8 @@ A connect you did not start never runs the script. A restored window at launch,

## Connection health

Every active connection is checked on the interval set by **Check connections** in Settings >
General, every 30 seconds by default, and the check is skipped while any query, export, import, or
Every active connection is checked on the interval set by **Check open connections** in
**Settings > Connections**, every 30 seconds by default, and the check is skipped while any query, export, import, or
other tracked operation is running. A failed check starts a
[reconnect](/connections#when-a-connection-drops): the rows stay on screen and the connection tries
10 times over about 10 minutes before it shows as lost. An authentication failure stops the
Expand All @@ -175,9 +175,9 @@ retries going, and the reconnect bar names that certificate error as the cause i
generic one. A reconnect rebuilds the tunnel, restores the selected database and schema, and
re-runs the startup commands; the connection shows as reconnecting throughout.

The check is a query, so on a database that sleeps when idle or bills per query it is not free. **Only when I use the connection** stops it: TablePro sends nothing on its own, and instead checks the connection the first time you use it after five quiet minutes. Waking the Mac from sleep counts as a quiet period, so the first thing you do after opening the lid checks too.
The check is a query, so on a database that sleeps when idle or bills per query it is not free. **Only when used** stops it: TablePro sends nothing on its own, and instead checks the connection the first time you use it after five quiet minutes. Waking the Mac from sleep counts as a quiet period, so the first thing you do after opening the lid checks too.

A Server Dashboard tab keeps its own refresh running on its own interval, which **Check connections** does not change. Close the tab or set its interval to Off.
A Server Dashboard tab keeps its own refresh running on its own interval, which **Check open connections** does not change. Close the tab or set its interval to Off.

SQLite, DuckDB, Beancount, Snowflake, and Teradata are not checked.

Expand Down
28 changes: 14 additions & 14 deletions connections/credential-profiles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Rotating a database password used to mean opening every connection that used it.
## Create a profile

<Frame caption="Settings > Profiles">
<img className="block dark:hidden" src="/images/settings-profiles.png" alt="Credential profiles and SSH servers, with the connections using each" />
<img className="hidden dark:block" src="/images/settings-profiles-dark.png" alt="Credential profiles and SSH servers, with the connections using each" />
<img className="block dark:hidden" src="/images/settings-profiles.png" alt="Profiles pane with empty Credential Profiles and SSH Profiles lists, each with its add button" />
<img className="hidden dark:block" src="/images/settings-profiles-dark.png" alt="Profiles pane with empty Credential Profiles and SSH Profiles lists, each with its add button" />
</Frame>


Expand Down Expand Up @@ -42,18 +42,18 @@ A linked connection keeps no password of its own. Linking deletes the one it had

| Source | What happens on connect |
|---|---|
| Saved in the Keychain | Read from the Keychain, under the profile's own id |
| Ask every time | Asked for once per profile each time TablePro runs, however many connections use it |
| `~/.pgpass` | Looked up by the host, port, database and username of the connection that is opening, when its form has **Use ~/.pgpass**. Any other connection asks for the password |
| Read from elsewhere | Resolved from a file, an environment variable, a command's output, 1Password, Vault, AWS Secrets Manager, or a Vault database role |
| **Saved in Keychain** | Read from the Keychain, under the profile's own id |
| **Ask Every Time** | Asked for once per profile each time TablePro runs, however many connections use it |
| **~/.pgpass** | Looked up by the host, port, database and username of the connection that is opening, when its form has **Use ~/.pgpass**. Any other connection asks for the password |
| **Password Source** | Resolved from a file, an environment variable, a command's output, 1Password, Vault, AWS Secrets Manager, or a Vault database role, picked under **Read From** |

Pick **Saved in the Keychain** unless something else already owns the password. **Read from elsewhere** never leaves this Mac and never syncs.
Pick **Saved in Keychain** unless something else already owns the password. A **Password Source** never leaves this Mac and never syncs.

**Test Source** runs a **Read from elsewhere** source without connecting. It shows the password hidden, or the error with what the command printed to stderr. **Show password** reveals it after Touch ID or your Mac's password, and does the same for a password saved in the Keychain. A connection using the profile has its own **Test Source**, which fills in that connection's host, port, user and database.
**Test Source** runs a **Password Source** without connecting. It shows the password hidden, or the error with what the command printed to stderr. **Show password** reveals it after Touch ID or your Mac's password, and does the same for a password saved in the Keychain. A connection using the profile has its own **Test Source**, which fills in that connection's host, port, user and database.

## Vault database roles

A role on Vault's database secrets engine hands out a new database user for every lease. Set **Source** to **Read from elsewhere** and **Read From** to **HashiCorp Vault database role**, then fill in:
A role on Vault's database secrets engine hands out a new database user for every lease. Set **Source** to **Password Source** and **Read From** to **HashiCorp Vault database role**, then fill in:

| Field | Holds |
|---|---|
Expand All @@ -62,7 +62,7 @@ A role on Vault's database secrets engine hands out a new database user for ever
| Vault Address | The server, such as `https://vault.example.com:8200`. Leave it empty to use `VAULT_ADDR` |
| Sign In With | **Token** reads `VAULT_TOKEN`, then `~/.vault-token` from `vault login`. **AppRole** takes a role ID and a file holding the secret ID. **OIDC** opens your browser once per launch |

The username field greys out, because Vault generates the username too. **Test Source** shows the username and password the profile's connections sign in with, and reads a lease when none is held.
The username field is dimmed and reads **Generated by Vault**, because Vault generates the username too. **Test Source** shows the username and password the profile's connections sign in with, and reads a lease when none is held.

Everything on one profile signs in as one database user: the main connection, a second database, a backup, and a test. A backup tool that takes the password on its command line, such as SqlPackage, gets a user of its own, revoked when the backup ends. While in use, the lease renews before it expires. When Vault stops renewing it, at the role's maximum TTL or when renewal fails, the connection signs in again with a new lease. The lease is revoked when the last connection using it disconnects, after 10 minutes with nothing using it, and at quit, which waits up to 3 seconds for Vault. The generated password stays in memory: it never reaches the Keychain, `connections.json`, or iCloud.

Expand All @@ -84,18 +84,18 @@ aws rds generate-db-auth-token --hostname {host} --port {port} --username {user}

## Additional secrets

Some engines sign in with more than a password: an AWS secret access key, a Snowflake private key, a service account JSON. **Additional Secrets** in the profile editor lists them per database type. A connection reads only the secrets its own type declares, so one profile can carry several engines' keys without them colliding.
Some engines sign in with more than a password: an AWS secret access key, a Snowflake private key, a service account JSON. **Additional Secrets** in the profile editor lists them per database type, picked under **Database**; only types that take such a secret are offered. A connection reads only the secrets its own type declares, so one profile can carry several engines' keys without them colliding.

## Rename, duplicate and delete

Right-click a row in **Settings > Profiles** for **Edit…** and **Duplicate**. The row's trailing label says how many connections use it.
Click the info button on a row in **Settings > Profiles** to edit it, or right-click the row for **Edit…**, **Duplicate** and **Delete…**. The row's trailing label says how many connections use it.

**Delete Profile** is at the bottom of the editor. Deleting hands the username and the password to each connection that used it, as that connection's own credentials, so nothing stops connecting. Two profiles cannot share a name, since every picker offers them by name alone.

## Sharing and sync

An exported connection carries its profile by name, alongside the name, the username and where the password comes from. Importing on a Mac that has no profile of that name creates one set to **Ask every time**, whatever source the file names, `~/.pgpass` included. To read your own `~/.pgpass`, switch its source in **Settings > Profiles**. A profile already there is left as it is and the connection links to it. The password never travels, and a profile reading its password from a file or a command exports as one that asks.
An exported connection carries its profile by name, alongside the name, the username and where the password comes from. Importing on a Mac that has no profile of that name creates one set to **Ask Every Time**, whatever source the file names, `~/.pgpass` included. To read your own `~/.pgpass`, switch its source in **Settings > Profiles**. A profile already there is left as it is and the connection links to it. The password never travels, and a profile reading its password from a file or a command exports as one that asks.

With [iCloud Sync](/features/icloud-sync) on, **Settings > Sync > Credential Profiles** carries profiles between your Macs: the name, the username, and where the password comes from. The password and any additional secrets stay in the Keychain. They cross only while **Passwords** is on in the same pane, and only when saved after it was turned on. A profile set to **Read from elsewhere** arrives as **Ask every time**, and a source set on the second Mac stays on that Mac.
With [iCloud Sync](/features/icloud-sync) on, **Credential Profiles** under **What Syncs** in **Settings > iCloud Sync** carries profiles between your Macs: the name, the username, and where the password comes from. The password and any additional secrets stay in the Keychain. They cross only while **Passwords** is on in the same pane, and only when saved after it was turned on. A profile set to **Password Source** arrives as **Ask Every Time**, and a source set on the second Mac stays on that Mac.

Which connections use a profile is kept on each Mac, so pick the profile in **Credentials** again on the second one. A profile arriving under a name already taken gets a number after it, such as `prod (2)`. Deleting a profile deletes it on your other Macs too.
2 changes: 1 addition & 1 deletion connections/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Red for production, green for development. On production, set **Safe Mode** to *
| **Groups** | Folders in the connection list, nested up to three levels. Choose **File > New Group…**, or right-click empty space for **New Group…**. Right-click a group for **Rename**, **Edit Group…**, **New Subgroup…**, **Color**, **Move Group To**, and **Delete Group…**. **Edit Group…** changes the name, icon, color and parent group in one sheet. Deleting a group deletes its subgroups too and leaves the connections inside ungrouped rather than deleted |
| **Tags** | Several per connection, each with a name and color. Type a tag's name in the search field and pick it to filter by it, or choose tags from **Filter by Tag** in the **View Options** menu. With two or more chosen, **Match** switches between any and all of them, and **Clear Filters** removes them |
| **Favorites** | Right-click a connection and choose **Add to Favorites**, or drag it onto the **Favorites** header. Favorites gather in a section at the top while the connection keeps its place in its group |
| **Recent** | The five connections you opened last, favorites left out. Right-click one for **Remove from Recent**, or the section header for **Clear Recent**. To hide the section, turn off **Show recent connections** in [General settings](/customization/general-settings#connections) |
| **Recent** | The five connections you opened last, favorites left out. Right-click one for **Remove from Recent**, or the section header for **Clear Recent**. To hide the section, turn off **Show recent connections** in [Connection settings](/customization/connection-settings#recent-connections) |

A connection's icon, group, tags, and favorite sync through iCloud, and so does a group's icon, to the iPhone and iPad app as well, unless it is marked local only. See [iCloud Sync](/features/icloud-sync).

Expand Down
Loading
Loading