> 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/a/arista-cloudvision-agni.md).

# Arista Cloudvision Agni

Arista CloudVision AGNI is a cloud network identity and access service. OctoXLabs reads the identity users of the AGNI instance.

## Use cases

* Find Arista Cloudvision Agni accounts that have no match in your directory.

```
Adapters = arista-cloudvision-agni AND NOT Adapters = active-directory
```

* Check what one Arista Cloudvision Agni connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                       | Port               | Protocol                                 |
| ------------------- | --------------------------------- | ------------------ | ---------------------------------------- |
| OctoXLabs connector | Arista CloudVision AGNI host (IP) | 443 (configurable) | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

Roles of the API key are not documented. Not verified.

## Create credentials in Arista Cloudvision Agni

{% stepper %}
{% step %}

### Open API keys

In the Wireless Launchpad, open the UI and go to **Admin** > **Keys**.
{% endstep %}

{% step %}

### Create a key

Generate an API token and copy it.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                      |
| --------- | -------- | ------- | ------- | -------------------------------- |
| IP        | Yes      | String  | None    | IP address of the AGNI instance. |
| Port      | No       | Integer | 443     | Port of the API.                 |
| API Token | Yes      | String  | None    | API token.                       |
| Is Secure | No       | Boolean | True    | Use HTTPS. Clear it to use HTTP. |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Status Code: `, followed by the URL, the method and the response body` | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history

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