1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Adding links, clarification and slight rewording

Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
Matthias Hanel 2020-03-11 19:34:03 -04:00
parent c36e4d018e
commit a5ea2310fe

View File

@ -20,8 +20,8 @@ The `authorization` block provides _authentication_ configuration as well as _au
| [`token`](tokens.md) | Specifies a global token that can be used to authenticate to the server \(exclusive of user and password\) | | [`token`](tokens.md) | Specifies a global token that can be used to authenticate to the server \(exclusive of user and password\) |
| [`user`](username_password.md) | Specifies a single _global_ user name for clients to the server \(exclusive of token\) | | [`user`](username_password.md) | Specifies a single _global_ user name for clients to the server \(exclusive of token\) |
| [`password`](username_password.md) | Specifies a single _global_ password for clients to the server \(exclusive of `token`\) | | [`password`](username_password.md) | Specifies a single _global_ password for clients to the server \(exclusive of `token`\) |
| `users` | A list of user configuration maps | | `users` | A list of [user configuration](#user-configuration-map) maps |
| `timeout` | Maximum number of seconds to wait for client authentication | | [`timeout`](auth_timeout.md) | Maximum number of seconds to wait for client authentication |
For multiple username and password credentials, specify a `users` list. For multiple username and password credentials, specify a `users` list.
@ -31,7 +31,7 @@ A `user` configuration map specifies credentials and permissions options for a s
| Property | Description | | Property | Description |
| :--- | :--- | | :--- | :--- |
| [`user`](username_password.md) | username for client authentication | | [`user`](username_password.md) | username for client authentication. \(Can also be a user for [tls authentication](tls_mutual_auth.md#mapping-client-certificates-to-a-user)\) |
| [`password`](username_password.md) | password for the user entry | | [`password`](username_password.md) | password for the user entry |
| [`nkey`](nkey_auth.md) | public nkey identifying an user | | [`nkey`](nkey_auth.md) | public nkey identifying an user |
| [`permissions`](../authorization.md) | permissions map configuring subjects accessible to the user | | [`permissions`](../authorization.md) | permissions map configuring subjects accessible to the user |