> 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/h/hydrantid.md).

# HydrantID

HydrantID Automated Certificate Manager (ACM) issues and manages certificates. OctoXLabs reads the certificates and adds them to the certificate inventory.

## Use cases

* List certificates that come from HydrantID.

```
Adapters = hydrant-id
```

* Review the expiry dates of those certificates in the certificate inventory.

## Before you begin

### Network

| Source              | Destination                              | Port | Protocol |
| ------------------- | ---------------------------------------- | ---- | -------- |
| OctoXLabs connector | `acm.hydrantid.com` (or your ACM domain) | 443  | HTTPS    |

### Required permissions

| Scope or role                   | Permission        | Needed for   |
| ------------------------------- | ----------------- | ------------ |
| Hawk credentials of an ACM user | Read certificates | Certificates |

## Create credentials in HydrantID

{% stepper %}
{% step %}

### Get the Hawk credentials

HydrantID issues each user two random strings, an ID that appears in the request and a key that signs it. ACM provides REST API methods to manage Hawk credentials.
{% endstep %}

{% step %}

### Read the API documentation

See <https://acm.hydrantid.com/api/v2/swagger/> for the certificates API.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type    | Default             | Description                                  |
| ------------ | -------- | ------- | ------------------- | -------------------------------------------- |
| Domain       | Yes      | Text    | `acm.hydrantid.com` | ACM domain.                                  |
| Port         | No       | Integer | `443`               | Port. It is also part of the Hawk signature. |
| Hawk Id      | Yes      | Text    | None                | Hawk ID.                                     |
| Hawk Key     | Yes      | Text    | None                | Hawk key.                                    |
| Timeout      | No       | Integer | `30`                | Seconds to wait for API responses.           |
| Thread Count | No       | Integer | `32`                | Parallel threads (1 to 32).                  |
| Sleep Time   | No       | Integer | `0`                 | Delay in seconds between thread batches.     |

## Troubleshooting

| Error message | Cause                                                               | Fix                                                  |
| ------------- | ------------------------------------------------------------------- | ---------------------------------------------------- |
| Not verified  | The connector code does not define adapter specific error messages. | Run the connection test and check the connector log. |

## Change history

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