I'm playing around with a new template for deb822 APT sources for puppetlabs-apt.
The new format supports the inclusion of the ASCII armored key in-line with the sources config.
https://manpages.debian.org/unstable/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT
Documentation is not super clear, but looks like the key string needs to be indented by a single space
Confirmed by testing. The whole string block needs to be indented.