fabaccess-bffh/examples/users.toml

28 lines
900 B
TOML
Raw Normal View History

2020-12-16 13:30:04 +01:00
[Testuser]
# These roles have to be defined in 'bffh.dhall'.
# Non-existant roles will not crash the server but print a `WARN` level message in the
# server log in the form "Did not find role somerole/internal while trying to tally".
2021-09-21 07:48:19 +02:00
roles = ["somerole/internal", "testrole/internal"]
2020-12-16 13:30:04 +01:00
# The password will be hashed using argon2id on load time and is not available in plaintext afterwards.
2021-09-21 07:48:19 +02:00
passwd = "secret"
2020-12-16 13:30:04 +01:00
# You can add whatever random data you want.
# It will get stored in the `kv` field in UserData.
# This is not used for anything at the moment
2020-12-16 13:30:04 +01:00
noot = "noot!"
2022-02-14 17:38:48 +01:00
[Differentuser]
# Define them in roles.toml as well
roles = ["somerole/internal", "testrole/internal"]
# If two or more users want to use the same machine at once the higher prio
# wins
priority = 0
passwd = "secret"
# You can add whatever random data you want.
# It will get stored in the `kv` field in UserData.
noot = "noot!"