
#Password repository with access log update
Resetting user tokens forces users to update the settings.xml with the newly created tokens, and could potentially break any command line builds using the tokens until this change is carried out. A non-administrator also needs the nx-usertoken-users privilege to do this. The password requested for the action to proceed is the password for the authenticated administrator who resets the token. You can also reset the token of an individual user by selecting the User Token tab in the Users administration from the Security menu.
#Password repository with access log manual
This affects read and write access for deployments from a build execution or a manual upload, but the user interface will not change. Non-content operations, such as logging into Docker with plain-text credentials, are still accessible, although subsequent requests for images after logging in will fail.

Navigate to Administration → Security → User Token.Īdditionally, you can check the Require user tokens for repository authentication box to allow the repository manager to require a user token for any access to the repository and group content URLs. User token-based authentication can be activated by an administrator or user with the nx-usertoken-settings privilege. In this scenario the generated user tokens can be used instead. This is especially useful for scenarios where single sign-on solutions like LDAP are used for authentication against the repository manager and other systems and the plain text username and password cannot be stored in the settings.xml following security policies. Usage of the token acts as a substitute method for authentication that would normally require passing your username and password in plain text. Nexus Repository Manager Pro’s user token feature establishes a two-part token for the user.

Other build systems use similar approaches and can benefit from the usage of user tokens as well. This file is not exclusive to Maven-specific repositories. This file contains listings for personalized client or build-tool configurations such as repositories. The default location of settings file is ~/.m2/settings.xml. The Maven framework has the ability to encrypt passwords within the settings.xml, but the need for it to be reversible in order to be used limits its security. Like a pom.xml, your settings.xml is file that contains your user preferences. When using Apache Maven with Nexus Repository Manager Pro, the user credentials for accessing the repository manager have to be stored in the user’s settings.xml file.
