Interview practice question
Removing long-lived cloud keys from CI
Backend Engineering · Auth and Security · Experienced
Your CI pipelines deploy to AWS using long-lived access keys stored as CI secrets. How would you redesign this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Use OIDC federation from CI to cloud.
- Short-lived credentials per job.
- Trust policy restricted by repo/branch/environment.
- Separate roles per environment.
- Remove static keys.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.