Metadata for Confluence is integrated with Comala Publishing. As a consequence, you can configure metadata sets and fields in your draft space. When you publish content from your draft space to your target space, metadata will also be published in the target space.
You can find further information how Comala Publishing works in their documentation.