Setting environment variable

Is their a recommended way of setting environment variables in edx, I’m trying to configure my edx server to send email address and I don’t want to expose the EMAIL_HOST_USER and EMAIL_HOST_PASSWORD. Thank you.

@oma0256, If these are only on your instance, they won’t be exposed to the public. Are you hosting on a shared server, or untrusted infrastructure?

These two will ultimately wind up in your edxapp configuration in /edx/app/edxapp/lms.auth.json.
This file contains primarily credentials used to access resources necessary to the platform.

There isn’t currently any way to use an external password store with edX, so there isn’t anywhere else at the moment that they can be set.

In case if there is a way to use app password concept, it would have helped.