> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/digital-river-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/digital-river-api/administration/dashboard/developers/api-keys/creating-a-restricted-key.md).

# Creating a restricted key

If you want more security, you can create [restricted API keys](/digital-river-api/administration/dashboard/developers/api-keys.md#restricted-keys). A restricted key reduces risk when using or building services by providing the minimum level of access and permissions a service needs to access specific resources in the Digital River API. Use restricted keys to limit access to services interacting with the Digital River API.

To create a restricted key:

1. Click **API keys** in the left navigation. The API keys page appears.
2. From the **API keys** page, click **Create restricted key**.
3. From the **API Version** drop-down list, select the API version you want to associate with the restricted.&#x20;
4. Type the key's name in the **Key name** field.
5. Select the appropriate permission (**None**, **Read**, **Write**, **Read/Write**) for each resource type.
6. Click **Create key**.

   <div align="left"><figure><img src="/files/EhAiBAqSLhAWHQs0NZkB" alt=""><figcaption></figcaption></figure></div>

You can [delete ](/digital-river-api/administration/dashboard/developers/api-keys/deleting-a-restricted-key.md)a restricted key when you no longer need it or suspect it is compromised. You can also [rotate ](/digital-river-api/administration/dashboard/developers/api-keys/rotating-keys.md)or [edit ](/digital-river-api/administration/dashboard/developers/api-keys/editing-a-restricted-key.md)a restricted key to change its level of access.
