bundlewrap/bundles/icinga2/files/conf.d/api-users.conf
mwiegand d524734aa9 wip
2022-08-16 22:23:02 +02:00

14 lines
286 B
Text

/**
* The ApiUser objects are used for authentication against the API.
*/
% for name, conf in sorted(users.items()):
object ApiUser "${name}" {
password = "${conf['password']}"
permissions = [
% for permission in conf['permissions']:
"${permission}",
% endfor
]
}
% endfor