# authorization

Hot Reloadable

Authorization scoped to accepting leaf node connections.

## Properties

| Name                                                                                       | Description                                                                                                               | Type     | Default | Reloadable |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- | -------- | ------- | ---------- |
| [`username`](/reference/config/leafnodes/authorization/username.md)                        | Specifies a global user name that clients can use to authenticate the server (requires `password`, exclusive of `token`). | `string` | -       | Yes        |
| [`password`](/reference/config/leafnodes/authorization/password.md)                        | Specifies a global password that clients can use to authenticate the server (requires `user`, exclusive of `token`).      | `string` | -       | Yes        |
| [`token`](/reference/config/leafnodes/authorization/token.md)                              | Specifies a global token that clients can use to authenticate with the server (exclusive of `user` and `password`).       | `string` | -       | Yes        |
| [`users`](/reference/config/leafnodes/authorization/users/.md)                             | A list of multiple users with different credentials.                                                                      | `object` | -       | Yes        |
| [`default_permissions`](/reference/config/leafnodes/authorization/default_permissions/.md) | The default permissions applied to users, if permissions are not explicitly defined for them.                             | `object` | -       | Yes        |
| [`timeout`](/reference/config/leafnodes/authorization/timeout.md)                          | Maximum number of seconds to wait for a client to authenticate.                                                           | `float`  | `1`     | Yes        |
