> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cedarai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tools & API Keys

> Advanced settings for organizations, feature enablements, and API keys.

> [!WARNING]
>
> The Tools page contains advanced settings. Some functions are currently restricted to Cedar employees. If you see a warning banner, contact Support before making changes.

> [!NOTE]
>
> These advanced options will be available to all customers in a future release.

![Tools page with organization and enablements tabs](https://mintcdn.com/cedaraiinc/3XL8_nY45kQdoBAs/images/admin/tools.png?fit=max\&auto=format\&n=3XL8_nY45kQdoBAs\&q=85\&s=5859cab91465ba2c7338e1554cb2791e)

Tools page with organization and enablements tabs

## Available tools

> [tab] Organization
>
> Manage how your carrier relates to organizations.
>
> **Available actions:**
>
> * **Create new Organization** — set up a new organization that can contain multiple carriers
>
> * **Add to existing Organization** — attach this carrier to an existing organization
>
> > [!NOTE]
> >
> > Organizations allow you to manage multiple carriers under a single umbrella with shared settings and access controls.

> [tab] Enablements
>
> Control which advanced features are available for your carrier.
>
> This tab may not be visible for all accounts.⁠​​​‌​​​‌‌​‌‌​‌‌​​​​​‌​​​⁠ If available, it allows you to:
>
> * Enable/disable specific features
>
> * Configure feature-specific settings
>
> > [!WARNING]
> >
> > Changing enablements can affect your users immediately. Review the impact before making changes.
>
> > [!NOTE]
> >
> > Feature enablements are subject to pricing and contract terms. Contact your account representative for details on available features and associated costs.

> [!TIP]
>
> Once Cedar sets up your initial organization structure, you can manage it yourself. See the [Organization](https://docs.cedarai.com/user-docs/admin/organization.md) page for details on managing your hierarchy, creating layers, and assigning access.

***

## API Key Management

API keys are self-service. You can create and manage them in either of two places, depending on how you want to
control what the key can do. Both issue keys for the `x-arms-api-key` header described in the
[API Introduction](https://docs.cedarai.com/user-docs/api-reference/introduction.md#authentication).

| | Cedar Data Depot → API clients | Admin Portal → Advanced → API Keys |
| - | - | - |
| **Access is limited by** | The documented API endpoints you select, plus the users the key may assume | The user group or single user the key is bound to (the assumed user's roles decide what it can call) |
| **Expiration** | Required. Defaults to 90 days, up to 365 days, unless your organization's credential policy sets other limits | Optional expiration date |
| **Rotation** | Rotate in place with an overlap window before the old credential retires | Create a new key, switch your integration, then revoke the old one |
| **IP allowlist** | Not available | Optional IP addresses or CIDR ranges |
| **Permissions needed** | Data Depot API client permissions for the carrier (for example, the `dataDepot.apiClientManager` role) | Admin Portal API key permissions |

### Create an API client in Cedar Data Depot

**1. Open API clients**

Open Cedar Data Depot from Cedar Accounts, select your carrier, and go to **API clients**.⁠​​​‌​​​‌‌​‌‌​‌‌​​​​​‌​​​⁠ Select **Create your first API client** (or create a new client from the list).

**2. Name the client and set its expiry**

Enter a name that says what the integration is for, and choose when its first credential expires.

**3. Choose endpoints and assumed users**

Select the API families or individual endpoints the client may call. Then choose the Cedar users it may send in `x-arms-assume-user`, or sync that list from a single Cedar user group.

**4. Copy and secure the credential**

The credential is shown only once. Copy it into an approved secret manager before you leave the page. The starter request uses `$CEDAR_API_KEY` rather than the raw secret.

From the client's detail page you can edit its name and access, rotate its credential, revoke a credential, or delete
the client.

### Create an API key in the Admin Portal

**1. Open API Keys**

In the Admin Portal, go to **Advanced → API Keys** and create a new key.

**2. Add a description**

Enter a clear description so you know what this key is for.

**Good descriptions:**

* "Production ERP integration"
* "Development testing - John's team"
* "Warehouse management system sync"

**3. Choose a scope and security options**

* **Scope** — bind the key to a **user group** or a **specific user**. The key can only assume users in that scope.
* **IP allowlist** (optional) — restrict which IP addresses or CIDR ranges can use this key
* **Expiration date** (optional) — set when the key should automatically expire

**4. Copy and secure the key**

The API key is only shown once. Copy it immediately and store it securely.

> [!WARNING]
>
> Never share API keys in code repositories, emails, or chat messages. Use secure secret management.

From the key's detail page you can update its description, IP allowlist, and expiration date, review when it was last
used, or revoke it.

### API key best practices

> [accordion] Use descriptive names
>
> Anyone reviewing API keys should understand what each key is for without having to ask.

> [accordion] Set expiration dates
>
> Keys that don't expire are a security risk.⁠​​​‌​​​‌‌​‌‌​‌‌​​​​​‌​​​⁠ Set reasonable expiration dates and rotate keys regularly.

> [accordion] Use IP allowlists
>
> When possible, restrict API keys to specific IP addresses. This limits damage if a key is compromised.

> [accordion] Revoke unused keys
>
> Regularly audit your API keys and revoke any that are no longer in use.

> [accordion] One key per integration
>
> Create separate keys for each integration or system. This makes it easier to revoke access without affecting other systems.

## When to contact Support

> [card] Organization changes
>
> Before creating or modifying organization structures

> [card] Feature enablements
>
> If you're unsure about enabling/disabling features

> [card] API key issues
>
> If you need help with API key configuration

> [card] Cedar employee screens
>
> If you see a warning about restricted functions

## Related pages

> [card] [Organization Management](https://docs.cedarai.com/user-docs/admin/organization.md)
>
> Manage your organization hierarchy and layers

> [card] [API Documentation](https://docs.cedarai.com/user-docs/api-reference/introduction.md)
>
> Learn how to use the Cedar API

> [card] [Activity Log](https://docs.cedarai.com/user-docs/admin/activity-log.md)
>
> Review changes to settings

> [card] [Glossary](https://docs.cedarai.com/user-docs/admin/glossary.md)
>
> Key terms explained


## Related topics

- [API Introduction](https://docs.cedarai.com/user-docs/api-reference/introduction.md)
- [API clients](https://docs.cedarai.com/user-docs/data-depot/api-clients.md)
- [Cedar Data Depot](https://docs.cedarai.com/user-docs/data-depot/overview.md)
- [Revenue Reporting API](https://docs.cedarai.com/user-docs/api-reference/revenue-reporting.md)
- [Glossary](https://docs.cedarai.com/user-docs/admin/glossary.md)
