fabaccess-bffh/examples/users.toml

17 lines
644 B
TOML
Raw Permalink 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".
2022-03-16 19:01:09 +01:00
roles = ["somerole", "testrole"]
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!"
# Store the card specific AES key in kv userdata
cardkey = "7ab8704a61b5317e1fe4cae9e3e1fd8d"