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

8 lines
185 B
Plaintext

% for user, password in sorted(node.metadata.get('icinga2', {}).get('api_users', {}).items()):
object ApiUser "${user}" {
password = "${password}"
permissions = [ "*" ]
}
% endfor