axonserver.properties
:register-user
" command:-u
or --username
specifies the username.-r
or --roles
specifies the role of the user. Specify multiple roles by giving a comma separated list (without spaces), for example "READ,ADMIN
".-p
or --password
specifies 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-password
".--no-password
will cause the CLI to create a user acount with no password set, which means you cannot login unless you use an external authentication provider.-t
or --access-token
specifies 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.-S
or --server
can 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.-s
or --https
will 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 "-s
".-i
or --insecure-ssl
will 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.