mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs/vmauth.md: mention that multiple recrods for the same username are supported
This is a follow-up for 88029c521c
This commit is contained in:
parent
88029c521c
commit
22fc7e0e04
@ -36,7 +36,8 @@ Each `url_prefix` in the [-auth.config](#auth-config) may contain either a singl
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
# Arbitrary number of usernames may be put here.
|
# Arbitrary number of usernames may be put here.
|
||||||
# Username and bearer_token values must be unique.
|
# It is possible to set multiple identical usernames with different passwords.
|
||||||
|
# Such usernames can be differentiated by `name` option.
|
||||||
|
|
||||||
users:
|
users:
|
||||||
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'
|
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Arbitrary number of usernames may be put here.
|
# Arbitrary number of usernames may be put here.
|
||||||
# Username and bearer_token values must be unique.
|
# It is possible to set multiple identical usernames with different passwords.
|
||||||
|
# Such usernames can be differentiated by `name` option.
|
||||||
|
|
||||||
users:
|
users:
|
||||||
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'
|
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'
|
||||||
|
@ -40,7 +40,8 @@ Each `url_prefix` in the [-auth.config](#auth-config) may contain either a singl
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
# Arbitrary number of usernames may be put here.
|
# Arbitrary number of usernames may be put here.
|
||||||
# Username and bearer_token values must be unique.
|
# It is possible to set multiple identical usernames with different passwords.
|
||||||
|
# Such usernames can be differentiated by `name` option.
|
||||||
|
|
||||||
users:
|
users:
|
||||||
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'
|
# Requests with the 'Authorization: Bearer XXXX' and 'Authorization: Token XXXX'
|
||||||
|
Loading…
Reference in New Issue
Block a user