# Hiding or encrypting SMTP password required in app.yml

**URL:** <https://meta.discourse.org/t/hiding-or-encrypting-smtp-password-required-in-app-yml/61505>\
**Category:** Self-hosting\
**Created:** [2017 年4 月 24 日 16:29 UTC](https://meta.discourse.org/t/hiding-or-encrypting-smtp-password-required-in-app-yml/61505 "2017-04-24T16:29:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
发布日期： [2017 年4 月 24 日 19:38 UTC](https://meta.discourse.org/t/hiding-or-encrypting-smtp-password-required-in-app-yml/61505/4 "2017-04-24T19:38:46Z")

</div>

Also, this cannot be fixed: Discourse _needs_ the password to provide it to the SMTP server – so no matter how you store it, there _must_ be a way to read it. (This is similar to how web servers need the private key to their SSL certificate.)

---

_[View the full topic](https://meta.discourse.org/t/hiding-or-encrypting-smtp-password-required-in-app-yml/61505)._
