In the CMS, you can generate a key that is a unique identifier that provides access to certain CMS resources via the application API.

Generating a key

  1. Here's an example where a key hasn't been created yet. You can create the first key by clicking the Add button in the top right corner.

  2. After clicking the button, a request is sent to the server to generate the key. The button changes its icon.

  3. After a few seconds, a modal opens. In it, we see the Name field (placeholder Secret key), and the generated key, which you can copy and use. When the sidebar opens, the token is added to the list with the default name Secret key.

  4. If you write a name in the Name field and click the Save and close button, the key name will be overwritten. The key is available only while it is being created as long as the sidebar is open. By clicking the Save and close button or closing the sidebar/updating the page etc., we will no longer have access to this key. But you can always create a new one.

  5. The key name changed after we clicked Save and close. You can see who and when created this key.

Revoking a key

Created tokens cannot be edited. But you can revoke them and thus remove them from the list. To do this, you need to call up the context menu and select Revoke.

Keys name

All token names are Secret Token by default. You can assign your own token name only after its creation in the sidebar.

Displayed keys

Users can see and interact only with the API Keys they have created themselves. However, the Admin can see all created API Keys and revoke them if necessary.