> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/integrations/password-management/keepass.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# KeePass

Use KeePass credentials in Remote Desktop Manager sessions with the KeePass credential entry, through the KeePass plugin or by reading the KDBX file directly.

KeePass integrates with Remote Desktop Manager through the ***KeePass*** credential entry, which retrieves credentials from a KeePass database and uses them in your sessions. The entry reads the database either through the KeePass plugin or directly from the KDBX file.

## Prerequisites

* Available on Remote Desktop Manager Windows, macOS and Linux. The ***Plugin*** mode is available on Windows only. The ***Direct*** mode is available on all three.
* A KeePass database (KDBX file).
* For the ***Plugin*** mode, KeePass 2 installed on the same computer. The Remote Desktop Manager plugin is installed in the KeePass folder.
* For the ***Direct*** mode, access to the KDBX file. KeePass does not have to be installed. See [KeePass troubleshooting](https://docs.devolutions.net/rdm/knowledge-base/troubleshooting-articles/keepass-troubleshooting.md) for the database encryption settings that the ***Direct*** mode supports.

## What you can do

* Retrieve credentials from a KeePass database and use them in your sessions.
* Read the database through the KeePass plugin (***Plugin*** mode, Windows) or directly from the KDBX file (***Direct*** mode), including a file opened from a URL with the ***Open from URL*** option.
* Unlock the database with a password, a key file, or by being asked for the password each time (***Always ask for password***).
* Use the KeePass settings stored in your ***My account settings*** (***Direct*** mode).
* Select the KeePass entry with a specific universally unique identifier (UUID) (***Default (specific UUID)***), by name (***Name filtering***) or from a list each time the entry is used (***Always prompt with list***).
* Import entries from a KeePass file into a workspace with the KeePass XML synchronizer. The synchronization is one-way, from KeePass to Remote Desktop Manager. See [KeePass XML synchronizer](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/keepass-xml-synchronizer.md).

## Configure KeePass

1. For the ***Plugin*** mode, install KeePass 2, create and save the KeePass database, then close KeePass. Skip this step for the ***Direct*** mode.
2. Click ***Add new entry*** – ***Credential management*** – ***Password management*** – ***KeePass***.
3. Enter a name for the entry.
4. In the ***Database*** tab, select the ***Mode***: ***Plugin*** or ***Direct***.
5. In ***Plugin*** mode, click ***Install plugin*** to install the Remote Desktop Manager plugin in KeePass. Remote Desktop Manager shows whether the plugin is installed, not installed or out of date. If the KeePass installation path is not detected, set it in the application paths of Remote Desktop Manager.
6. In ***Plugin*** mode, check ***Set database path manually*** to select a specific database in the ***Database*** field. Otherwise, the entry uses the current KeePass database.
7. In ***Direct*** mode, select the KDBX file in the ***Database*** field, or check ***Open from URL***, enter the URL, and click ***Server credentials*** to enter the username and password of the server that hosts the file.
8. In ***Direct*** mode, enter the ***Password*** of the database and select the ***Key file*** if the database uses one. Check ***Always ask for password*** to be asked for the password every time, or check ***Use "My account settings"*** to use the settings stored in your [My account settings](https://docs.devolutions.net/rdm/ribbon-menu-bar/file/my-account-settings.md).
9. In the ***Entry*** tab, select ***Default (specific UUID)***, ***Name filtering*** or ***Always prompt with list***.
10. For ***Default (specific UUID)***, click the browse button of the ***UUID*** field, unlock the database if requested, and select the KeePass entry in the ***KeePass credentials list***.
11. For ***Name filtering***, enter the KeePass entry name in ***Name***, then set the ***Mode*** and the ***Case sensitivity***. If several KeePass entries match, you are asked to choose one when the entry is used.
12. Click ***Save*** (***Create*** on macOS).

## Use KeePass

1. Create or open the session entry that needs the credentials, for example an ***RDP (Microsoft Remote Desktop)*** entry.
2. In the credentials settings of the session entry, set ***Credentials*** to ***Linked (vault)*** (***Linked*** on Linux) and select the ***KeePass*** credential entry in the entry picker next to ***Credentials***. See [Entry credentials options](https://docs.devolutions.net/rdm/ribbon-menu-bar/edit/entry-credentials-options.md).
3. Open the session. In ***Plugin*** mode, Remote Desktop Manager starts KeePass if it is not running. Unlock the database if requested.
4. If the entry uses ***Always prompt with list***, select the credential in the ***KeePass credentials list*** and click ***Select***.

## Integration level

KeePass is an integration level 2 – Moderate support integration. See [Integration levels](https://docs.devolutions.net/resources/integration-levels).

#### See also

* [KeePass entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/keepass.md)
* [KeePass plugin installation on a RDS](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/keepass-plugin-installation-on-a-rds.md)
* [KeePass troubleshooting](https://docs.devolutions.net/rdm/knowledge-base/troubleshooting-articles/keepass-troubleshooting.md)
* [Import credentials from KeePass](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/import-credentials-from-keepass.md)
* [KeePass XML synchronizer](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/keepass-xml-synchronizer.md)


---

# 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.devolutions.net/rdm/integrations/password-management/keepass.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.
