Open jnovak-SM2Dev opened 2 weeks ago
What do you mean by auth info
in the repo?
We don't store .env
on production environment like Kubernetes or Docker. Not sure how your application reads these environment variables but they are usually available through process.env
(and coming from secrets) so they are safely stored 🤔 .
Unless, you are asking about registerAsync
not available in the module?
I'm wondering how you pull in the env variables without access to registerAsync
or configService
.
yeah you are right 👍 - we should add registerAsync
here 🤔 cc @ada-krupa @adrianboratyn
How can this be used with a username/password in the env file? In the
@nestjs/elasticsearch
module you would useregisterAsync
and use theconfigService
like below. Is there a way to do the same thing with this package without having the auth info in the repo?