Artifactory is a fully-fledged RPM repository. As such, it enables:
RPM metadata calculation for RPMs hosted in Artifactory local repositories.
Deploying RPM Modules to Artifactory local repositories.
Provisioning RPMs directly from Artifactory to YUM clients.
Detailed RPM metadata views from the web UI.
Providing GPG signatures that can be used by the YUM client to authenticate RPMs.
Also valid for YUM
The instructions on this page can be used for RPM repositories and YUM repositories interchangeably