--usernamespecifies the username.
--rolesspecifies the role of the user. Specify multiple roles by giving a comma separated list (without spaces), for example "
--passwordspecifies the password of the user. If you do not specify a password with the "
-p" option, the command line interface will prompt you for one. If you instead want a use account without a password, for example when using Google OAuth2 authentication, use "
--no-passwordwill cause the CLI to create a user acount with no password set, which means you cannot login unless you use an external authentication provider.
--access-tokenspecifies the access token to authenticate at the server to which the command is sent to. For SE this should be the same as the (admin) token set in the properties. For EE this should be the security token discussed above.
--servercan be used to specify the URL to the server that the command needs to be sent to. If this is not supplied it connects to "
http://localhost:8024" by default.
--httpswill cause the CLI to use TLS, in effect changing the URL to "
https://localhost:8024". Note that if you also want to change the port, you'll have to use "
-S", in which case you can leave out "
--insecure-sslwill tell the CLI that Axon Server is using a certificate which is not signed by a known CA, for example when using self-signed certificates.