CI/CD Pipelines: Security, Secrets, and Governance
Least privilege, OIDC, protected variables, pinning, and release governance for safer pipelines.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Harden pipeline credentials and permissions
permissions:
id-token: write
contents: read
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::123456789012:role/github-actions-deploy
aws-region: us-east-1# Exchange a short-lived identity token for cloud credentials.
## Reduce pipeline risk
More in CI/CD Pipelines
CI/CD Pipelines: Debugging and Troubleshooting
Debug logs, common CI/CD failures, strict shell mode, retries, and faster pipeline diagnosis.
CI/CD Pipelines: Monorepos, Templates, and Maintainability
Selective execution, shared scripts, naming, and maintainable organization for growing automation estates.
CI/CD Pipelines: Releases, Rollbacks, and Quality Gates
Tag-based releases, canaries, rollbacks, smoke tests, migrations, and quality checks.
CI/CD Pipelines: Containers, Services, and Environments
Container build/push flows, service dependencies, environment modeling, and deploy snippets.
CI/CD Pipelines: Reuse, Matrix, Cache, and Artifacts
Reusable workflows, matrix builds, caching strategies, and artifacts across common CI/CD systems.
CI/CD Pipelines: Stages and Deployment Patterns
Stage design, promotions, manual approvals, and deployment strategy examples for safer delivery.