> 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/gateway/knowledge-base/how-to-articles/configure-proxy-based-credential-injection.md).

# Configure proxy-based credential injection

Devolutions Gateway offers a feature for the injection of credentials through a proxy, allowing users to connect to remote sessions without ever having access to its credentials on their machine. Follow the steps below to configure proxy-based credential injection on an entry:

1. Configure Devolutions Gateway in [Devolutions Server](https://docs.devolutions.net/gateway/getting-started/server/server-configuration/) or [Devolutions Cloud](https://docs.devolutions.net/gateway/getting-started/devolutions-cloud/devolutions-gateway-configuration-with-devolutions-cloud/).
2. Edit an RDP entry, and link it to a Gateway ruleset (these steps are the same for [Devolutions Server](https://docs.devolutions.net/gateway/getting-started/server/dvls-configure-virtual-gateway/) and [Devolutions Cloud](https://docs.devolutions.net/gateway/getting-started/devolutions-cloud/gateway-ruleset-configuration-in-devolutions-cloud/)).
3. Head over to your chosen workspace's web interface, go to ***Administration*** – ***Devolutions Gateway***, and click the ***Edit*** button on the linked Gateway ruleset.
4. Then, check the ***Enable proxy-based credential injection*** option under ***Security***.

From then on, launching the session will not expose its credentials on the user's machine.

For maximum security when dealing with external users, create a [***Contractor*** user](https://docs.devolutions.net/server/web-interface/user-groups-based-security/#contractors) with the ***Execute*** permission but NOT the ***View password*** permission.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/gateway/knowledge-base/how-to-articles/configure-proxy-based-credential-injection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
