2024-09-22 21:10:53 -05:00
|
|
|
authentication {
|
|
|
|
backend = "built_in_database"
|
|
|
|
mechanism = "password_based"
|
|
|
|
password_hash_algorithm {
|
|
|
|
name = "bcrypt",
|
|
|
|
}
|
|
|
|
user_id_type = "username"
|
|
|
|
bootstrap_file = "/opt/init-user.json"
|
|
|
|
bootstrap_type = "plain"
|
|
|
|
}
|
|
|
|
|
|
|
|
authorization {
|
|
|
|
sources = [
|
|
|
|
{
|
2024-09-23 03:03:38 -05:00
|
|
|
type = file
|
2024-09-22 21:10:53 -05:00
|
|
|
enable = true
|
2024-09-23 03:03:38 -05:00
|
|
|
path = "/opt/acl.conf"
|
2024-09-23 02:10:32 -05:00
|
|
|
},
|
|
|
|
{
|
2024-09-23 03:03:38 -05:00
|
|
|
type = built_in_database
|
2024-09-23 02:10:32 -05:00
|
|
|
enable = true
|
2024-09-22 21:10:53 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
no_match: "deny"
|
|
|
|
}
|