Using OpenID Connect can replace traditional credentials for CI/CD pipelines by authenticating users to cloud environments without storing sensitive information in the pipeline configuration. This approach addresses issues such as non-expiring and non-managed credentials, making it easier to manage infrastructure as code while maintaining security compliance. By leveraging OpenID Connect, developers can create a more secure and streamlined development workflow, automating tedious processes like merge requests and continuous integration testing with tools like Aviator, which manages Git Pull Requests, CI runs, and test results for improved team efficiency.