> 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/hashicorp-vault.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# HashiCorp Vault

Retrieve HashiCorp Vault secrets in Remote Desktop Manager with the HashiCorp Vault credential entry and inject them into your remote sessions.

HashiCorp Vault integrates with Remote Desktop Manager through the ***HashiCorp Vault*** credential entry, which signs in to your Vault server and retrieves a key and its value from a secret to inject into your sessions.

## Prerequisites

* Available on Remote Desktop Manager Windows, macOS and Linux.
* A HashiCorp Vault instance and an account that can sign in with the ***Token***, ***LDAP***, ***Radius*** or ***UserPass*** authentication method.
* Secrets stored in a key/value secrets engine (version 1 or version 2). The list of secrets shows only these engines.

## What you can do

* Retrieve a secret from HashiCorp Vault and inject it into a session. The name of the key is used as the username and its value as the password.
* Sign in with a token, or with a username and password using the LDAP, Radius or UserPass method, with an optional mount path.
* Connect to a namespace of a Vault enterprise instance.
* Store the sign-in details in the entry, use the ones in your My account settings, or be asked for the password every time.
* Browse the secrets engines and secrets from a list, or be asked to choose a secret every time the entry is used.
* Unseal the vault by entering portions of the unseal key when the vault is sealed.

## Configure HashiCorp Vault

1. Click ***Add new entry*** – ***Credential management*** – ***Password management*** – ***HashiCorp Vault***.
2. Enter a name for the entry.
3. Enter the ***Host***, which is the URL of your HashiCorp Vault instance.
4. Optionally, enter the ***Namespace*** if your Vault instance uses enterprise namespaces.
5. Check ***Use "My account settings"*** to use the sign-in details stored in your [My account settings](https://docs.devolutions.net/rdm/ribbon-menu-bar/file/my-account-settings.md), or select the ***Authentication method*** and enter the sign-in details in the entry.
6. For ***Token***, enter the ***Token***. For ***LDAP***, ***Radius*** or ***UserPass***, enter the ***Username*** and ***Password***, or check ***Always ask for password*** to be asked for the password every time.
7. Optionally, for ***LDAP***, ***Radius*** or ***UserPass***, enter the ***Mount path*** of the authentication method. Leave it empty to use the default path of the method.
8. Use the browse button next to ***Secret*** to select the secret in your Vault instance, or check ***Always prompt with list*** to choose the secret each time the entry is used.
9. Click ***Save*** (***Create*** on macOS).

## Use HashiCorp Vault

1. Create or open the session entry that needs the credentials.
2. In the credentials settings of the session entry, set ***Credentials*** to ***Linked (vault)*** (***Linked*** on Linux) and select the 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.
4. If ***Always prompt with list*** is checked, select the secret in the ***HashiCorp Vault secrets list*** window.
5. If the vault is sealed, enter the unseal key portions in the window that opens (titled ***Unseal vault*** on Windows and Linux).

## Integration level

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

#### See also

* [HashiCorp Vault entry settings](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/hashicorp-vault.md)
* [Credential management](https://docs.devolutions.net/rdm/concepts/basic-concepts/credential-management.md)
* [Entry credentials options](https://docs.devolutions.net/rdm/ribbon-menu-bar/edit/entry-credentials-options.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/hashicorp-vault.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.
