% for key in keys: key ${key['name']} { algorithm ${key['algorithm']}; secret "${key['secret']}"; }; % endfor