Nexus IQ has the ability to get user tokens via the REST API. NXRM has the ability to reset tokens for users, but not the ability to get them.
We’re enforcing the use of user tokens over username/password. The general pattern is for builds to read the passwords from protected files or environment variables on CI servers. We would like to give developers a one liner that they can give their LDAP credentials to and it returns the user token and saves it to a file.
Edit: Nexus IQ User Token API: User Token REST API - v2