bundlewrap/bundles/icinga2/files/icinga2/api-users.conf

8 lines
185 B
Text
Raw Normal View History

2020-11-21 09:29:36 +00:00
% for user, password in sorted(node.metadata.get('icinga2', {}).get('api_users', {}).items()):
object ApiUser "${user}" {
password = "${password}"
permissions = [ "*" ]
}
% endfor