Interview Prep/CI/CD/Secrets, Supply Chain and DORA

How do you reduce blast radius if a pipeline credential is stolen?

IntermediateScenarioSecrets, Supply Chain and DORA
Answer

Situation read → Assume breach.

What I'd do →

  1. Short-lived credentials via OIDC with narrow trust conditions.
  2. Per-environment roles; no shared admin role.
  3. Alerts on unusual use (CloudTrail anomaly, new region) and an automated revoke runbook.

Why → Short life and narrow scope limit damage.

Interview tip → Least privilege plus short TTL.

All CI/CD questions

More on Secrets, Supply Chain and DORA