Access Control - Standard Edition
When you set the "
axoniq.axonserver.accesscontrol.enabled" property to "
true", Axon Server will require a token or user account for access to its APIs.
In Axon Server SE, there are two tokens that can be defined:
Generally, you will use the admin-token only for the CLI, to issue commands for managing user accounts and plugins. Axon Framework based applications should only need the non-admin token. If you whish to use tools to access the REST API directly, you must add an HTTP header named "
AxonIQ-Access-Token", as in the following example:
When you create a user account, you can optionally assign the role "
ADMIN", which is a shorthand for "
[email protected]*" and will allow the user to access the user-administration and plugin pages in the UI. These user accounts are generally only used for the UI, although they are also valid for access to the REST API, using Basic Authentication.