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

**URL:** <https://discuss.prometheus.io/t/can-we-encrypt-the-plan-text-credentials-from-etc-prometheus-idrac-yml-and-how/2413>\
**Category:** Mixins\
**Created:** [September 19, 2024, 7:50pm UTC](https://discuss.prometheus.io/t/can-we-encrypt-the-plan-text-credentials-from-etc-prometheus-idrac-yml-and-how/2413 "2024-09-19T19:50:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmunix178](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@hmunix178](https://discuss.prometheus.io/u/hmunix178)\
**Post date:** [September 19, 2024, 7:50pm UTC](https://discuss.prometheus.io/t/can-we-encrypt-the-plan-text-credentials-from-etc-prometheus-idrac-yml-and-how/2413/1 "2024-09-19T19:50:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hmunix178](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@hmunix178](https://discuss.prometheus.io/u/hmunix178)\
**Post date:** [September 19, 2024, 9:28pm UTC](https://discuss.prometheus.io/t/can-we-encrypt-the-plan-text-credentials-from-etc-prometheus-idrac-yml-and-how/2413/2 "2024-09-19T21:28:45Z")

</div>

I have just gone through few similar item posted, not sure if this could be related to " [Postgres\_exporter security issue: plain text password](https://discuss.prometheus.io/t/postgres-exporter-security-issue-plain-text-password/1542)"

thanks in advance for checking and your contribution.
