Provide authentication token to SonarQube for IDE in non interactive way

Hi,

our dev ecosystem looks like:

  • Operating system: Windows 11 / Ubuntu 22.04+ / MacOS 15
  • SonarQube for IntelliJ plugin version:10.17.0.80539
  • IDE name and flavor/env: IntelliJ 2024.3.4 (Ultimate Edition)
  • Is connected mode used: SonarCloud
  • Using DevContainer

We want to use the SonarQube for IDE plugin in connected mode. And we want to make the work as comfortable as possible for our developers. Therefore, I am looking for a way to provide the authentication token in a non-interactive way so that it can be used across different development container instances or does not have to be re-entered every time the container is recreated.

I was therefore wondering if there is a way to provide the token via an environment variable or a configuration file.

I couldn’t find anything in the documentation or on the internet about how to do this.
Is there a way to do this?

Thank you very much!

Hello Sebastien and welcome to the SonarQube community!

Really sorry for the late answer but I registered your request and I really appreciate your feedback. This feature is not available and not in our current roadmap but we will keep collecting similar requests to address it in the best way.
Meanwhile, please note that if you use the “Open in IDE” button from an issue detail in SonarQube Cloud, the connection will be automatically setup for you in the less interactive way possible. Just make sure you have your IDE open with SonarQube for IDE installed and the same project opened. You’ll be only prompted to prompt the organisation.
Here is the documentation about it.

Best regards,
Farah.