doc: Add more security examples to default config
This commit is contained in:
parent
0bf313a3f7
commit
f1250f9caf
18
config.yaml
18
config.yaml
|
|
@ -312,15 +312,29 @@ dashboards:
|
||||||
- title: 'Start {{ .CurrentEntity.Names }}'
|
- title: 'Start {{ .CurrentEntity.Names }}'
|
||||||
- title: 'Stop {{ .CurrentEntity.Names }}'
|
- title: 'Stop {{ .CurrentEntity.Names }}'
|
||||||
|
|
||||||
|
|
||||||
|
# Security - Authentication
|
||||||
|
|
||||||
|
# This setting effectively enables or disables guests.
|
||||||
|
# If set to "true", then users will have to login to do anything.
|
||||||
|
authRequireGuestsToLogin: false
|
||||||
|
|
||||||
# This form of auth is the simplest to setup - just define users and passwords
|
# This form of auth is the simplest to setup - just define users and passwords
|
||||||
# in the config.
|
# in the config. OliveTin also supports header-based auth, OAuth2,
|
||||||
|
# and JWT authentication which are documented separately.
|
||||||
|
#
|
||||||
# Docs: https://docs.olivetin.app/security/local.html
|
# Docs: https://docs.olivetin.app/security/local.html
|
||||||
|
#
|
||||||
|
# How to get a hashed password:
|
||||||
|
# Docs: https://docs.olivetin.app/security/local.html#_get_a_argon2id_hashed_password
|
||||||
authLocalUsers:
|
authLocalUsers:
|
||||||
enabled: true
|
enabled: true
|
||||||
# users:
|
# users:
|
||||||
# - username: alice
|
# - username: alice
|
||||||
# usergroup: admins
|
# usergroup: admins
|
||||||
# password: "$argon2id$v=19$m=65536,t=4,p=6$LnNW4sw+jZfa5Ex3YjfuHQ$vl8pjUJhxNmBxScV4lI3cgAZPkNB1rSrnX6ibgoAP8k"
|
# password: "$argon2id$v=19$m=65536,t=4,p=2$puyxA0s555TSFx7hnFLCXA$PyhLGpZtvpMMvc2DgMWkM8OJMKO55euwV5gm//1iwx4"
|
||||||
|
|
||||||
|
# Security - Access Control Lists
|
||||||
|
|
||||||
# OliveTin uses access control lists to match up policy and permissions to users.
|
# OliveTin uses access control lists to match up policy and permissions to users.
|
||||||
# Policies affect the whole app (eg: ability to view the log list).
|
# Policies affect the whole app (eg: ability to view the log list).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue