Reference
allowed_connection_types
If specified, the user is constrained to the specified connection types.
STANDARD
indicates a standard client TCP connection using the NATS protocol.WEBSOCKET
indicates a WebSocket-based connection to NATS if thewebsockets
configuration is enabled.LEAFNODE
indicates a connection established by configured leafnoderemote
on a server.MQTT
indicates a connection established by an MQTT client to NATS if themqtt
configuration is enabled.Default value: n/a
Hot reloadable: Yes
Values
Type | Description | Choices |
---|---|---|
[ string ] | - | STANDARD , WEBSOCKET , LEAFNODE , MQTT |