From d366a69c3b52b04a88e25d69410c526dcf1968e1 Mon Sep 17 00:00:00 2001 From: Michael Michel Date: Mon, 31 Oct 2022 11:18:13 +0100 Subject: [PATCH] added first content to user_config.md --- source/configuration/user_config.md | 49 +++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/source/configuration/user_config.md b/source/configuration/user_config.md index 782130f..b98fd0b 100644 --- a/source/configuration/user_config.md +++ b/source/configuration/user_config.md @@ -1 +1,50 @@ # user.toml +This configuration is located under `/etc/bffh`. + +Here the users, there Password, roles and cardkeys are stored. + +Roles are defined in the bffh.dhall configuration. The [Docker-compose Repository](https://gitlab.com/fabinfra/fabaccess/dockercompose) has a good [example](https://gitlab.com/fabinfra/fabaccess/dockercompose/-/blob/main/config/bffh/users.toml) + +```exapmle of users.toml +[Admin1] +roles = ["Admin"] +passwd = "secret" +noot = "noot!" +cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[Admin2] +roles = ["Admin"] +passwd = "secret" +noot = "noot!" +cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[ManagerA1] +roles = ["ManageA", "UseA", "ReadA", "DiscloseA"] +passwd = "secret" +noot = "noot!" +cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[ManagerA2] +roles = ["ManageA", "UseA", "ReadA", "DiscloseA"] +passwd = "secret" +noot = "noot!" +cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[ManagerB1] +roles = ["ManageB", "UseB", "ReadB", "DiscloseB"] +passwd = "secret" +noot = "noot!" +cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[ManagerB2] +roles = ["ManageB", "UseB", "ReadB", "DiscloseB"] +passwd = "secret" +noot = "noot!" +cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + +[ManagerC1] +roles = ["ManageC", "UseC", "ReadC", "DiscloseC"] +passwd = "secret" +noot = "noot!" +cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +``` \ No newline at end of file