Spring boot overriding beans Run the app with the following information: App: com.example.demo.DemoApplication Environment variables: ACCESS_KEY= SECRET_KEY= BUCKET_NAME=