The pipeline needs access to 15 different secrets across environments. How do you manage them?
IntermediateScenarioSecrets, Supply Chain and DORA
Answer
Situation read → Secret sprawl.
What I'd do →
- Central secret manager (Vault, AWS Secrets Manager) organised by environment path.
- CI authenticates with workload identity (OIDC) and a role scoped to the paths for the environment.
- Audit access and rotate on a schedule.
Why → One store with identity-based access is auditable and rotatable.
Interview tip → Avoid copying secrets into each CI project.
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?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?AdvancedDependency update PRs pile up. How do you keep dependencies fresh without chaos?Intermediate