Note: since I'm the only one searching for it it feels like I want to use bad practice.
I want to create a deploy-user. Its only purpose is to be configured in the settings.xml as a server-entity:
<servers>
<server>
<id>nexus</id>
<username>deploy-user</username>
<password>somepassword</password>
</server>
</servers>
The user only needs permission to upload artifacts to all the repositories hosted on the Nexus 3.0 server. I've created a role "Deployment" and need to know which privileges need to be applied.
The User must have Artifact Upload
privilege, which can be searched in privileges
tab.
Role
for your user, add Artifact Upload
privilege to the Role.Below is an example of nexus 2.x
:
And this is for nexus 3.x
: