Reference
users
A list of users under this account.
- Default value: n/a
 - Hot reloadable: Yes
 
Values
| Type | Description | Choices | 
|---|---|---|
[ object ] | An object with a set of explicit properties that can be set. | - | 
Properties
| Name | Description | Type | Default | 
|---|---|---|---|
username | Name of the user. | string | - | 
password | Password of the user. This can be a free-text value (not recommended) or a bcrypted value using the nats server passwd CLI command. | string | - | 
nkey | Public NKey identifying the user. The value begins with a U character. Exclusive with username and password. | string | - | 
permissions | object | - | |
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 the websockets configuration is enabled. - LEAFNODE indicates a connection established by configured leafnode remote on a server. - MQTT indicates a connection established by an MQTT client to NATS if the mqtt configuration is enabled. | string | - |