Nexus 2

Upload a file

curl -k -u r.garrigue:XXXXXXXX --upload-file rhel-6.9.virtualbox.box https://nexus.local/content/sites/packer/

Given a "packer" site repository, the minimum privileges for read only access is something like

nexus-ro