Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

API tokens

Тarantool Cluster Manager uses the Bearer HTTP authentication scheme with API tokens to authenticate external applications' requests to TCM. For example, these can be Prometheus jobs that retrieve metrics of connected Tarantool clusters.

The API tokens functionality is disabled by default. To enable it, set the feature.api-token configuration option to true.

feature:  api-token: true

Each TCM API token belongs to the user that created it and has the same access permissions. Thus, if a user has a permission to view a cluster's metrics in TCM, this user's API tokens can be used to read this cluster's metrics with Prometheus.

API tokens have expiration dates that are set during the token creation and cannot be changed.

Managing API tokens

To create a TCM API token:

  1. Open the user settings by clicking the user's name in the top-right corner.
  2. Go to the API tokens tab and click Add.
  3. Specify the token expiration date and an optional description and click Add.

The created token is shown in a dialog.

To delete an API token, click Delete in the actions menu of the corresponding API tokens table row.

Administrators can also view information about users' API tokens and delete them on the Secrets page. To open a user's secrets, click Secrets in the Actions menu of the corresponding Users table row.