# ed database connections get

> Shows the safe non-secret definition of one saved connection.

- Canonical URL: https://getedith.pro/docs/cli/database/connections-get
- Updated: 2026-12-02

Shows the safe non-secret definition of one saved connection.

```
ed database connections get <connection-id> [--json]
```

| Argument | Type | Default | What it does |
| --- | --- | --- | --- |
| `connection-id` | UUID | required | Selects the exact saved connection. |

| Option | Type | Default | What it does |
| --- | --- | --- | --- |
| `--json` | flag | off | Emits one JSON object on stdout. |

Human output reports identity, product, environment, location, deployment,
read-only policy, production policy, and favorite state. JSON adds namespace
defaults, bounded timeout and pool settings, safe non-secret options, tunnel
configuration, and lifecycle timestamps.

Authentication JSON contains only `kind` and `credentialsConfigured`. TLS JSON
contains mode, verification, server name, and configured booleans. It omits
secret references, authentication sources, resource UUIDs, and private-key
references. The SQLite file access reference is represented only by
`fileAccessConfigured`.

```
ed database connections get 36fc476b-28f7-4c1a-ae54-4b10d793fd0f
ed database connections get 36fc476b-28f7-4c1a-ae54-4b10d793fd0f --json
```

Malformed UUIDs exit 2 without contacting the broker. A valid UUID that is not
saved exits 3.

## Where to go next

- [`ed database connections list`](https://getedith.pro/docs/cli/database/connections-list)
- [`ed database capabilities`](https://getedith.pro/docs/cli/database/capabilities)
- [`ed database connections`](https://getedith.pro/docs/cli/database/connections)
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
