All jobs / DevOps / SRE / cloud / Security
DevOps / SRE / cloud interview question · 1–3 years
A secret must reach twelve services. How?
The strongest answer
A secret manager / vault with IAM, rotation, and no chat paste — I do not multiply `.env` files in twelve repos
Why it works
Exactly. One store, identity, rotation. Twelve files and a canvas are copies.
What a good answer covers
- Use a secret manager.
- Identity to fetch.
- Rotate in one place.
- Do not paste to Slack or gists.
Answers that fall short
- Close, but not the strongest: A shared Slack canvas
Chat is not a vault. - Weak: A private gist
A gist is git with extra steps. - Red flag: A config map in plaintext; Kubernetes is private
A plaintext ConfigMap is still a file on disk and in etcd.
Who gets asked this
More Security questions
- A CI role can delete the production database. How do you reshape it?
- You have never rotated the database password in production. What do you do before you need to?
- How do you know the image in prod is the image CI built?
- You have 200 services and a human still pastes secrets at provision time. What do you build?
- A squad needs to ship without being able to destroy another squad’s data. What is the shape?
- Engineers still have long-lived cloud keys on laptops. What is the programme?
- What does a good IAM review look like that a good app review does not?
- Security wants a gate that takes 40 minutes on every PR. What do you negotiate?