'Is it safe to put .env file on AWS elastic beanstalk

I am fairly new to web app development. I am developing a web app using react+django. I am hosting django on AWS elastic beanstalk. My question is: is it save to put .env(contains important secret keys) elastic beanstalk? Can people read or download it once they have my elastic beanstalk url?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source