You may be storing application level secrets such as API keys or certificates as environment variables. As the environment variable are not hidden, this is a security vulnerability.
In this blog post, the author Timothy Jones presented a cost effective way to store and use application level secrets. You may want to go through the post to understand it in depth. I am summarizing the approach briefly as it may help us understand the alternative approach that I am presenting -
Software developer exploring AWS Serverless