System Events & Decentralized JWT Tutorial
Enabling System Events with Decentralized Authentication/Authorization
Create an Operator, Account, User
nsc add operator -n SAOPGenerated operator key - private key stored "~/.nkeys/SAOP/SAOP.nk"
Success! - added operator "SAOP"nsc add account -n SYSGenerated account key - private key stored "~/.nkeys/SAOP/accounts/SYS/SYS.nk"
Success! - added account "SYS"nsc add user -n SYSUGenerated user key - private key stored "~/.nkeys/SAOP/accounts/SYS/users/SYSU.nk"
Generated user creds file "~/.nkeys/SAOP/accounts/SYS/users/SYSU.creds"
Success! - added user "SYSU" to "SYS"NATS-Account-Server
NATS Server Configuration
Inspecting Server Events
User Services
$SYS.REQ.USER.INFO - Request Connected User Information
$SYS.REQ.USER.INFO - Request Connected User InformationSystem Services
$SYS.REQ.SERVER.PING.IDZ - Discovering Servers
$SYS.REQ.SERVER.PING.IDZ - Discovering Servers$SYS.REQ.SERVER.PING - Discovering Servers + Stats
$SYS.REQ.SERVER.PING - Discovering Servers + Stats$SYS.REQ.SERVER.<id>.STATSZ - Requesting Server Stats Summary
$SYS.REQ.SERVER.<id>.STATSZ - Requesting Server Stats Summary$SYS.REQ.SERVER.<id>.PROFILEZ - Request Profiling Information
$SYS.REQ.SERVER.<id>.PROFILEZ - Request Profiling Information$SYS.REQ.SERVER.<id>.RELOAD - Hot Reload Configuration
$SYS.REQ.SERVER.<id>.RELOAD - Hot Reload ConfigurationLast updated
Was this helpful?