Can we encrypt the plan text credentials from "/etc/prometheus/idrac.yml" and how?

Hi Team, I want to know if user name and password in promethues idrac exporter configuration file can be encrypted ? it is currently displayed as plain text and it is security issue now.

config file - /etc/prometheus/idrac.yml

I have just gone through few similar item posted, not sure if this could be related to " Postgres_exporter security issue: plain text password"

thanks in advance for checking and your contribution.