> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/d/delinea-privileged-access-service.md).

# Delinea Privileged Access Service

Delinea Privileged Access Service (PAS) is a cloud privileged access platform. OctoXLabs uses it to add the servers it manages and the user accounts of the tenant to the inventory.

## Use cases

* Find servers that are managed in PAS but not seen by your EDR.

```
Adapters = delinea-pas AND NOT Adapters = falcon-crowdstrike
```

* Find Windows servers known to PAS.

```
Adapters = delinea-pas AND OS.Type = Windows
```

## Before you begin

### Network

| Source              | Destination                                           | Port | Protocol |
| ------------------- | ----------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Tenant domain, for example `acmecorp.my.idaptive.app` | 443  | HTTPS    |

### Required permissions

| Scope or role                                                                  | Permission | Needed for              |
| ------------------------------------------------------------------------------ | ---------- | ----------------------- |
| OAuth2 Client app with Client Creds auth method and a confidential client user | Read       | Server and user queries |

Not verified: the role the confidential client user needs.

## Create credentials in Delinea PAS

{% stepper %}
{% step %}

### Open the Admin Portal

Switch to Admin Portal from the user name menu at the top right.
{% endstep %}

{% step %}

### Add the OAuth2 Client app

Go to **Apps**, click **Add Web Apps**, open the **Custom** tab and add **OAuth2 Client**.
{% endstep %}

{% step %}

### Set the Application ID

On the **Settings** page, enter a name without spaces in the **Application ID** field. This is the App Id for OctoXLabs.
{% endstep %}

{% step %}

### Set the auth method

Under **General Usage**, set Client ID Type to **Confidential** and enable **Client Creds** under Auth Methods.
{% endstep %}

{% step %}

### Get the credentials

Use the client id and secret of a confidential client user linked to the application.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type              | Default | Description                                                   |
| ------------- | -------- | ----------------- | ------- | ------------------------------------------------------------- |
| Domain        | Yes      | String            | None    | Tenant domain.                                                |
| App Id        | Yes      | String            | None    | Application id of the OAuth2 Client app.                      |
| Client ID     | Yes      | String            | None    | Client id.                                                    |
| Client Secret | Yes      | String            | None    | Client secret.                                                |
| Scope         | No       | String            | None    | OAuth2 scope, for example `all`. Leave empty unless required. |
| Proxy         | No       | String            | None    | Proxy, used as `http://<proxy>`.                              |
| Thread Count  | No       | Integer (1 to 32) | `32`    | Parallel threads for API requests.                            |
| Sleep Time    | No       | Integer (seconds) | `0`     | Delay between thread batches. Raise it on rate limit errors.  |
| Timeout       | No       | Integer (seconds) | `30`    | Time to wait for API responses.                               |
| Fetch Devices | No       | Boolean           | `True`  | Also collect servers.                                         |

## Troubleshooting

| Error message                    | Cause                                      | Fix                                                            |
| -------------------------------- | ------------------------------------------ | -------------------------------------------------------------- |
| `Max retries exceeded for <url>` | The tenant kept answering HTTP 401 or 429. | Check the credentials. Raise Sleep Time or lower Thread Count. |

## Change history

{% hint style="info" %}
Available starting from version 6.5.2.
{% endhint %}
