> 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/akamai-identity-and-access-management.md).

# Akamai Identity and Access Management

Akamai Identity and Access Management manages users and API clients of an Akamai account. OctoXLabs reads the UI identities of the account, optionally across all accessible accounts.

## Use cases

* Find Akamai Identity and Access Management accounts that have no match in your directory.

```
Adapters = akamai-iam AND NOT Adapters = active-directory
```

* Check what one Akamai Identity and Access Management connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                                              | Port | Protocol                                 |
| ------------------- | ------------------------------------------------------------------------ | ---- | ---------------------------------------- |
| OctoXLabs connector | Your Akamai API host from the .edgerc file (akab-\*.luna.akamaiapis.net) | 443  | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

| Scope or role                            | Permission | Needed for |
| ---------------------------------------- | ---------- | ---------- |
| Identity Management: User Administration | ADMIN      | Users      |

When you create the API client, choose the API service **Identity Management: User Administration** and set the access level to **ADMIN**. First-time users need an API client with access to this API, created through the Identity Management application. Administrators can also create the client on behalf of the user, who then generates the credentials.

## Create credentials in Akamai Identity and Access Management

{% stepper %}
{% step %}

### Open API client creation

In Akamai Control Center, go to **Identity and Access Management** and click **Create API client**.
{% endstep %}

{% step %}

### Choose the service access

Choose the API service **Identity Management: User Administration** and set the access level to **ADMIN**.
{% endstep %}

{% step %}

### Download the credentials

Click **Quick**, then **Download** under Credentials. This downloads an `.edgerc` file with `host`, `client_token`, `access_token` and `client_secret`.
{% endstep %}

{% step %}

### Copy the values

Copy each value into the matching field of the connection form.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter           | Required | Type    | Default | Description                                                                                                                            |
| ------------------- | -------- | ------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Host                | Yes      | String  | None    | `host` value from the .edgerc file.                                                                                                    |
| Client Token        | Yes      | String  | None    | `client_token` value.                                                                                                                  |
| Access Token        | Yes      | String  | None    | `access_token` value.                                                                                                                  |
| Client Secret       | Yes      | String  | None    | `client_secret` value.                                                                                                                 |
| Is Secure           | No       | Boolean | True    | Use HTTPS. Clear it to use HTTP.                                                                                                       |
| Fetch Multi Account | No       | Boolean | False   | Collect users across all accounts that the API client can reach. The connector reads the account switch keys and queries each account. |
| Proxy               | No       | String  | None    | Proxy address. The connector sends requests through `http://<value>`.                                                                  |
| Timeout             | No       | Integer | 30      | Time in seconds to wait for API responses.                                                                                             |

## 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
