Admin Token
In a default setup Package Drone always has an admin user
which is not registered but
built in. It has the role ADMIN
but not MANAGER
. Which allows it
to configure the system, but not play around with artifacts.
The admin token
is the password for the admin user. Since it is normally
randomly generated, it is called token
instead of password
.
There are two ways how this password is being generated. The default setup will create a
new token on every startup of Package Drone. It is printed on the console and written to
the file ~/.drone-admin-token
with limited read permissions.
The second way is to provide the token externally, through a system property or environment variable.
It is also possible to disable the admin mode
completely or change
the admin user name.
See the documentation for this.
You have to know how your system is configured. Because if you don't know, it probably is not your system.