Can Sonarcloud Scan *.conf or config files?

Can I scan files containing environment variables ? . when I mean, config files, these files contain various environment variables,api keys etc and their values.When scanning our repositories, these config files are ignored and I am wondering how we can scan them too?

What are you trying to scan them for?

And, what version of SonarQube are you using? This information is requested in the template post.

sorry for the late reply, we are using sonarcloud,not sonarqube.