All jobs / Backend developer / Security

Backend developer interview question · 3–5 years

The interviewer asks: “How do services get secrets in production?” Strongest answer?

The strongest answer

A secret manager (cloud KMS/vault) mounted or injected at runtime, short-lived where possible, rotated without a code change. Not files in the image, not git, not a shared Slack message.

Why it works

Exactly. Identity of the workload fetches the secret. Rotation doesn't need a rebuild. Audit who read what.

What a good answer covers

Answers that fall short

Who gets asked this

More Security questions