All jobs / Backend developer / Security

Backend developer interview question · 5+ years

The interviewer asks: “The API pod's cloud role can read all buckets and impersonate other roles. What's wrong?” Strongest answer?

The strongest answer

That's standing privilege far beyond the service. I scope the workload identity to the buckets and APIs it needs, short-lived tokens, no impersonate-all. A break of this pod should not be a break of the company.

Why it works

Exactly. Workload identity + least privilege is how you cap a remote-code bug. Privilege of the pod is the real blast radius.

What a good answer covers

Answers that fall short

Who gets asked this

More Security questions