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 →
- Short-lived credentials via OIDC with narrow trust conditions.
- Per-environment roles; no shared admin role.
- 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.
More on Secrets, Supply Chain and DORA
A developer committed an AWS key to a public repo. Walk through your response.BeginnerHow do you stop secrets from being committed in the first place?IntermediateThe pipeline needs access to 15 different secrets across environments. How do you manage them?IntermediateExplain SLSA and how you would raise a pipeline's level.AdvancedHow do you verify only signed images run in Kubernetes?AdvancedA popular npm package your build uses is reported as compromised. What do you do?Advanced