Join Discord
Powered by
Is this safe to save the environment variables in ...
# support
g
Guoyi Z (Empallo)
11/05/2024, 8:09 PM
Hello, I noticed that environment variables are stored in the repo for these two files:
https://github.com/medplum/medplum/blob/b52e0aaa0449e39a26b318dd8dce236f87549254/packages/app/.env.defaults#L1C1-L5C30
https://github.com/medplum/foomedical/blob/36f80557730dc730851b178d72b1c6274679ceba/src/config.ts#L1C1-L5C86
Is it safe to store environment variables in the repository, especially in frontend code? Could there be potential security issues with exposing environment variables in these files?
r
reshma
11/06/2024, 3:11 AM
hi
@Guoyi Z (Empallo)
- these are not secrets and are provided to devs for convenience while testing the product.
g
Guoyi Z (Empallo)
11/06/2024, 3:51 PM
Got it. Thank you!
@reshma
147
Views
Previous
Next