访问控制
Access Control
axoniq.axonserver.accesscontrol.enabled=trueUsing the CLI to create a user
$ java -jar axonserver-cli.jar register-user
usage: register-user
-i,--insecure-ssl Do not check the certificate when connecting
using HTTPS.
--no-password [Optional] Create a (locked) user account
without a password.
-o,--output <arg> Output format (txt,json)
-p,--password <arg> [Optional] Password for the user
-r,--roles <arg> [Optional] roles for the user
-S,--server <arg> Server to send command to (default
http://localhost:8024)
-s,--https Use HTTPS to connect to the server, rather than
HTTP.
-t,--access-token <arg> [Optional] Access token to authenticate at
server
-u,--username <arg> UsernameMandatory parameters
Optional parameters
最后更新于