> 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/s/segura-pam.md).

# Segura PAM

Segura is a privileged access management platform. OctoXLabs uses it to add the devices it manages to the device inventory, its certificates to the certificate inventory and its related users to the user inventory.

## Use cases

* List devices that Segura PAM manages.

```
Adapters = segura-pam
```

* Find Segura devices that no EDR covers.

```
Adapters = segura-pam AND NOT Adapters = falcon-crowdstrike
```

* List certificates that Segura PAM tracks.

```
Adapters = segura-pam
```

## Before you begin

### Network

| Source              | Destination               | Port | Protocol                           |
| ------------------- | ------------------------- | ---- | ---------------------------------- |
| OctoXLabs connector | Your Segura PAM host name | 443  | HTTPS (HTTP when Is Secure is off) |

### Required permissions

| Scope or role                             | Permission | Needed for                              |
| ----------------------------------------- | ---------- | --------------------------------------- |
| A2A application authorization (OAuth 2.0) | Read       | Devices, certificates and related users |

Exact permissions of the authorization: Not verified.

## Create credentials in Segura PAM

{% stepper %}
{% step %}

### Open A2A

In Segura, hover over the **Products** menu and select **A2A**.
{% endstep %}

{% step %}

### Open Applications

In the side menu, select **Applications**.
{% endstep %}

{% step %}

### Find the application

Find the application in the list, or use the **Authentication Method > OAuth 2.0** filter.
{% endstep %}

{% step %}

### Open Authorizations

In the **Actions** button, click **Authorizations**.
{% endstep %}

{% step %}

### Find the authorization

On the Application Authorization screen, find the authorization or use the search filters.
{% endstep %}

{% step %}

### View it

In the **Actions** button, click **View**.
{% endstep %}

{% step %}

### Reveal the values

Click **Show** in the **Client ID** and **Client Secret** fields.
{% endstep %}

{% step %}

### Copy them

Copy both values and store them safely.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                                      |
| ------------- | -------- | ------- | ------- | -------------------------------------------------------------------------------- |
| Domain        | Yes      | String  | None    | Host name or IP of your Segura PAM, for example segura.company.com. No protocol. |
| Client Id     | Yes      | String  | None    | Client ID of the authorization.                                                  |
| Client Secret | Yes      | String  | None    | Client secret of the authorization.                                              |
| Is Secure?    | No       | Boolean | True    | Use HTTPS.                                                                       |
| Proxy URL     | No       | String  | None    | Proxy as host:port. The connector prefixes it with http\://.                     |
| Timeout       | No       | Integer | 30      | Seconds to wait for API responses.                                               |

## Troubleshooting

| Error message            | Cause                                                                                                                                      | Fix                                                                                                                          |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| Max retries exceeded for | The API kept returning HTTP 401 or 429.                                                                                                    | Check the client credentials and wait for rate limits to clear.                                                              |
| Status Code:             | The API answered with a status other than the one the connector expects. The message also lists the URL, the method and the response body. | Read the status code and the response body in the message, then check the credentials, the permissions and the network path. |

## Change history

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