Sensitive data is made available for developers. Are you sure it is not hardcoded in the source code?
Applications are more and more modular and secrets are used to programmatically link components. API keys and other credentials give access to multiple systems including cloud infrastructure, databases, payment systems. Exposing these secrets is like leaving your keys on your front door.