# Aruba ClearPass

## Connection Requirements

{% stepper %}
{% step %}

### IP

Enter the IP address of your Aruba ClearPass instance.
{% endstep %}

{% step %}

### Port

Specify the port number for the connection. This field is optional and defaults to 8080.
{% endstep %}

{% step %}

### Client ID and Client Secret

You will need to generate an API Key and Secret Key to authenticate the connection. Follow these steps to create them:

* Log in to Aruba ClearPass as the "admin" user.
* Navigate to the Administration -> API Services -> API Clients section.
* Create a client with ClearPass REST API operation mode, IT Administrators as operator profile and Client Credentials as grant type. You may choose access token lifetime as you wish. We're recommending as 1 hours
* Copy your Client ID and Client Secret.
  {% endstep %}

{% step %}

### SSL

Choose whether to use SSL for secure connections. By default, the connection is unencrypted, but you can enable SSL for added security.
{% endstep %}

{% step %}

### Fetch Users

Fetching user information is optional. (default False)
{% endstep %}

{% step %}

### Per Page

Amount of devices going to be fetched per request. (default: 500, min: 1, max: 1000)
{% endstep %}

{% step %}

### Sleep Time

Number of seconds to be waited during construction of parallel threads. By increasing the time on here, it will lower the resource consumption while increasing discovery time.
{% endstep %}

{% step %}

### Thread Count

This adapter works in a multi threaded manner. This field represents the number of parallel threads that will be constructed for sending API requests (default: 16, min: 1, max: 32)
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
⚠️ Attention

Having too many parallel threads will consume significantly more resources and may cause increased network load. If resource consumption is a concern, we recommend using fewer threads. However, be aware that reducing thread count will increase discovery time since it will send lesser number of requests. When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}

{% hint style="warning" %}
⚠️ Attention

Please perform a **connection test** to ensure there is a valid connection to the host. When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}
