# Encrypted password in grafana.ini for SMTP account

**URL:** <https://community.grafana.com/t/encrypted-password-in-grafana-ini-for-smtp-account/38366>\
**Category:** Configuration\
**Created:** [October 23, 2020, 3:28pm UTC](https://community.grafana.com/t/encrypted-password-in-grafana-ini-for-smtp-account/38366 "2020-10-23T15:28:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagotrufelli](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/thiagotrufelli/32/13396_2.png) [@thiagotrufelli](https://community.grafana.com/u/thiagotrufelli)\
**Post date:** [October 23, 2020, 3:28pm UTC](https://community.grafana.com/t/encrypted-password-in-grafana-ini-for-smtp-account/38366/1 "2020-10-23T15:28:19Z")

</div>

Hello,

I am configuring our Grafana Server to send emails to recovery users password. To enable SMTP notifications , i have to set email user/password in grafana.ini. But our company forbids the store of plain text passwords. How could I store the password encripyted in config file?

Thank you!

---

<div class="post-metadata">

**Author:** ![kirubaawsexam](https://avatars.discourse-cdn.com/v4/letter/k/ecc23a/32.png) [@kirubaawsexam](https://community.grafana.com/u/kirubaawsexam)\
**Post date:** [May 9, 2022, 5:26am UTC](https://community.grafana.com/t/encrypted-password-in-grafana-ini-for-smtp-account/38366/2 "2022-05-09T05:26:55Z")

</div>

Hi Thiyagu, please let us know the solution of passing the encrypted password at grafana.ini.

Regards  
kiruba

---

<div class="post-metadata">

**Author:** ![borisfine](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@borisfine](https://community.grafana.com/u/borisfine)\
**Post date:** [May 25, 2022, 2:27am UTC](https://community.grafana.com/t/encrypted-password-in-grafana-ini-for-smtp-account/38366/3 "2022-05-25T02:27:23Z")

</div>

Waiting for replies 😀
