# Creating a restricted key

If you want more security, you can create [restricted API keys](https://docs.digitalriver.com/digital-river-api/administration/dashboard/developers/api-keys/..#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="https://334437993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LqH4RJfLVLuHPXuJyTZ%2Fuploads%2F0YmPTjLHoRzCpNUUbL72%2F1%20create%20restricted.png?alt=media&#x26;token=b7b3fe39-e9a5-4e46-abce-44ea601675b9" alt=""><figcaption></figcaption></figure></div>

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