Get configuration as YAML

Returns the configuration as a YAML document.