# Users, roles, and API keys

```json metadata
{
  "schema_version": 3,
  "title": "Users, roles, and API keys",
  "description": "Invite users to your Redis Ultra account, assign their roles, and create API keys.",
  "categories": ["docs","operate","ultra"],
  "tableOfContents": {"sections":[{"id":"invite-a-user","title":"Invite a user"},{"id":"roles","title":"Roles"},{"id":"create-an-api-key","title":"Create an API key"}]}

,
  "codeExamples": []
}
```


Manage who can use your account on the **API Keys & Team** page. It has three tabs: **API keys**, **Users**, and **Roles**. The **API keys** tab appears only if your role has API permission.

## Invite a user

1. In the [Ultra console](https://cloud.redis.io/#/ultra), select **API Keys & Team** > **Users**.
1. Select **Invite member**.
1. Enter the user's **First name**, **Last name**, and **Email**.
1. Select a **Role**. The default is viewer.
1. Select **Send invite**.

To change a user's role, you need the owner role. To remove a user, select ![Delete](https://redis.io/docs/latest/images/rs/icons/delete-icon.png#no-click) in their row, then select **Remove**. They lose access right away, and their API keys stop working.



## Roles

Every role is built in. Each one applies to the whole account.

| Role | Can do |
|---|---|
| Owner | Everything, including users and billing |
| Manager | Create and manage resources and data access |
| Member | Edit resources with no cost impact |
| Viewer | View resources and use the API |
| Billing admin | Billing and account settings; view resources |
| Log viewer | View logs |



## Create an API key

1. Select **API Keys & Team** > **API keys**.
1. If your account doesn't have API access yet, select **Enable API access**.
1. Select **Create API key**.
1. Enter a **Name** of 10 to 50 letters, digits, hyphens, or underscores.
1. Under **Acts as**, select the user whose role the key uses.
1. Optional: under **Allowed IP ranges**, enter the CIDR blocks the key can be used from.
1. Select **Create key**.
1. Copy the key. The console shows it once.
1. Select **I've copied the key and stored it somewhere safe**, then select **Done**.

To change a key's IP ranges, select **Manage allowed IP ranges** from its menu. To revoke a key, select **Revoke**, then **Revoke key**. You can't undo it, and anything that uses the key loses access right away.


