Add various extensions and improvements for nethsm-config
- Mar 05, 2025
-
-
David Runge authored
Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Enable returning a specific `ExtendedUserMapping` by searching for the name of a system user in all mappings. Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Add the wrapper type `ExtendedUserMapping` which is aware of the administrative and non-administrative secret handling, as well as the available backend connections while tracking a single `UserMapping`. This establishes a user mapping centric view of a host. Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Add a function to easily evaluate whether a `UserMapping` has a system user and at least one NetHSM user. Signed-off-by:
David Runge <dvzrv@archlinux.org>
-
David Runge authored
Derive `strum::Display` and `strum::EnumString` for `AdministrativeSecretHandling` as those are useful when e.g. using the type in errors. Signed-off-by:
David Runge <dvzrv@archlinux.org>
-