Gitlab 16.x - Get authentication token for registering new runners via API

Hi,

with GitLab 16.x the “registration token” for registering new runners is now deprecated and a new “authentication token” was introduced: Migrating to the new runner registration workflow | GitLab

As the documentation says, to register a single new runner, the Gitlab UI must be used to generate the authentication token for it.

Using the UI is a manual process and all our automated script which setup new runners would not longer work. Is there a way to generate such a token also via the REST API?

kind regards

Hi @guenhter

please see Creating runners programmatically