> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/privileged-access-manager/tunnels/database-proxy-in-tunnels.md).

# Database proxy in tunnels

## Database proxy in tunnels

[KeeperDB Proxy](https://docs.keeper.io/keeperpam/privileged-access-manager/keeperdb-proxy.md) provides passwordless database access through Keeper tunnels. It lets users connect through native tools, including MySQL Workbench, DBeaver, SQL Server Management Studio or the KeeperDB native desktop app.

The Keeper Gateway retrieves credentials from the Vault and injects them into the database connection. Users connect to the tunnel's local hostname and port without seeing, copying, or entering a password.

### Requirements

Enable tunneling and KeeperDB Proxy on the PAM Database record. Users also need permission to start tunnels. Use Keeper Gateway 1.8.0 or later with Vault 17.6 or Commander CLI 17.2.8 or later.

### Session controls

The proxy supports idle timeouts, maximum session duration, connection limits, and detailed session logging. It can also use just-in-time ephemeral database accounts. Those accounts are created for a session and removed afterward.

### Supported databases

KeeperDB Proxy supports MySQL, MariaDB, PostgreSQL, SQL Server, and Oracle. Configure TLS for the target database when required.

See [KeeperDB Proxy](https://docs.keeper.io/keeperpam/privileged-access-manager/keeperdb-proxy.md) for setup, configuration, troubleshooting, and Commander commands.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/privileged-access-manager/tunnels/database-proxy-in-tunnels.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
