# Delinea Secret Server

The Delinea Secret Server connector for Elimity Insights fetches users, groups, roles, folders and secrets from Delinea Secret Server so you can keep in control of your environment. Follow the instructions below to set up the connector for your environment.

## 1. Setting up a dedicated user in Delinea

As usual, we recommend creating a dedicated service user in Delinea with read access to users, groups, roles, folders and secrets. Refer to [the official documentation](https://docs.delinea.com/online-help/delinea-platform/users/add-users.htm#AddServiceUsers) for detailed instructions. Note down the service user's username and password for later use.

To make sure this new service user has minimal access rights, create a custom role with only the necessary permissions. Again we point you to [the official documentation](https://docs.delinea.com/online-help/delinea-platform/roles-permissions/index.htm#CreateaNewRole) for additional information. Grant at least the following permissions:

* 'View Advanced Secret Options'
* 'View Platform Groups'
* 'View Platform Users'
* 'View Secret'
* 'View Secret Server Folders'

Now you can grant the newly created role to the dedicated service user, please consult [the official documentation](https://docs.delinea.com/online-help/delinea-platform/roles-permissions/index.htm#AddMembersGroupstoaRole) for detailed instructions.

## 2. Creating a source in Elimity Insights

In Elimity Insights you can now create a new Delinea Secret Server source providing the following configuration options:

<table data-full-width="true"><thead><tr><th>Configuration option</th><th>Description</th></tr></thead><tbody><tr><td>Secret server hostname</td><td>Hostname of your Delinea Secret Server instance, customers using Secret Server Cloud should probably enter a value resembling <code>example.secretservercloud.eu</code>.</td></tr><tr><td>Service user username</td><td>Username of the dedicated service user you created in step 1.</td></tr><tr><td>Service user password</td><td>Password of the dedicated service user you created in step 1.</td></tr><tr><td>Platform OAuth2 token URL</td><td>OAuth2 token URL of your Delinea Platform instance, typically resembles <code>https://example.delinea.app/identity/api/oauth2/token/xpmplatform</code>.</td></tr></tbody></table>


---

# Agent Instructions: 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.elimity.com/reference-manual/built-in-connectors/delinea-secret-server.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.
