For example during development can be used to turn on logging, in CI to attach test properties, or during deployment to attach production configuration. The file is .gitignore'd so the file is never accidentally commited.
Working OAuth 2.0 server with authentication via Shibboleth. Has a "dev" profile to simulate Shibboleth while developing.