Possible to use token for SonarQube.Analysis.xml of SonarScanner?

Hey,

I would like to know whether it is possible to use a token instead of “sonar.login” and “sonar.password” for the SonarQube.Analysis.xml of the SonarScanner or not. I’m not a huge fan of sharing the credentials for our service user in plain text.
If it is possible, please share the property name.

Cheers,
Robin

Hey Robin,

Just give it a try - it should work. Just place the token body in the sonar.login and it should work.

Greetings,
Kris

1 Like

Thank you, works flawlessly.