{% for username, password in dav_users.items() %} {{ username }}:{{ password }} {% endfor %}