Earlier quoted context omitted.
This. Every CI platform under the sun has support for secrets and config that should never live in git. It's worth ensuring people know this, of course, but I'm not sure storing secrets in git is all that prevelant. Many platforms also have secrets scanning to ensure you don't accidentally do this too.
> Many platforms also have secrets scanning to ensure you don't accidentally do this too. The reason secrets scanning even became a thing is because of how often secrets get committed to git. Some of them even lead to intrusions. Uber (2016) – Attackers gained unrestricted access to Uber’s private Github repositories, found exposed secrets in the source code, and used them to access millions of records in Amazon S3 b…
You can use this and crenedials rotation, amazing, I know...
https://docs.github.com/en/code-security/secret-scanning/abo...
https://docs.gitlab.com/ee/user/application_security/secret_...
https://circleci.com/blog/detect-hardcoded-secrets-with-gitg...
https://www.gitkraken.com/media/events/azure-spring-clean-20...
edit: used config/secrets management for as long as I can remember doing this cloud stuff (several years), so the excuses are very, very poor imho.