In this blog post, the authors discuss the security risks associated with long-lived credentials in CI/CD pipelines and introduce OpenID Connect (OIDC) as a better alternative for enhanced security and manageability. OIDC provides short-lived authentication tokens that minimize the risk of unauthorized access, simplify expiration management, and prevent credential reuse. The authors provide a step-by-step guide to setting up GitHub Actions with Cloudsmith using OIDC for authentication, showcasing how this approach can enhance the security of CI/CD workflows.