> authority letsencrypt {
> api url "https://acme-v02.api.letsencrypt.org/directory";
> account key "/some/path.pem" rsa
> contact "mailto:who@knows";
> }


i have no time to verify this right now, but i think you should be able to 
write only the header and the wrapper in your custom serializer, and then 
iterate through the remaining fields of the config record, i.e. sans the `name` 
field.

you can inspect the current serializer for how to iterate through the fields, 
or better yet, how to call it recursively with the remaining fields.

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Government does not grow by seizing our freedoms, but by assuming our 
responsibilities.”
        — Michael Cloud


Reply via email to