User can pass name of the cluster CLUSTER_NAME to the command:

spark_rapids qualification --cluster $CLUSTER_NAME [flags]

This is supported on Dataproc and EMR platform. The tool uses the CSP CLI to collect the cluster information.