Creating admin access tokens using REST API was not possible without first acquiring an admin access token with which a new admin token could have been generated.
Starting from Artifactory version 7.38.4, new functionality has been added in which an admin access token can be now created without using the UI and without relying on a previous admin access token.
This Access admin-scoped token is designed to be used for a short time only and its purpose is to start up the system. This provides the option of setting up the JFrog Platform in an automated, fully UI-free setup.
More information on how to generate this admin-scoped token can be found under “Creating an Automatic Admin Token ”.