Generate, manage, and use Devolutions Server API keys

This article describes how to generate and manage API keys for Devolutions Server as well as how to use them.

Allow users to generate API keys

API keys usage requires a permission which can be given globally or at the user-level. To allow every user to generate and use API keys, head over to AdministrationSystem settingsUsers, and check Allow API key under the Users heading.

Allow API keys for all users of the data source
Allow API keys for all users of the data source

For specific users, navigate to AdministrationUsersEdit (pen icon) – Settings, and choose Yes in the Allow API key dropdown menu.

Allow API keys for specific users
Allow API keys for specific users

User-level permission overrides global settings, giving administrators granular control over API key usage.

API keys management and usage

Once the proper permission has been granted, users can generate API keys by clicking on their profile picture, then PreferencesAPI keysGenerate API key.

Once generated, an API key will only be shown once. Keep the key secret, rotate it regularly, and delete it if exposed.

The keys can be managed directly by users in their profile's PreferencesAPI keys window, and globally by administrators in AdministrationUsers' API keys.

To use API keys for scripts and integrations, use the Bearer prefix in the Authorization header:

"Authorization" = "Bearer $YourAPIKey"
Devolutions Forum logo Share your feedback