Two teams argue: one wants a central Vault cluster, the other wants each team to use cloud-native secret managers. How do you decide?
AdvancedScenarioSecrets and Identity Management
Answer
Situation read → It is a trade-off between consistency and operational load.
What I'd do →
- Single cloud: cloud-native managers win; no cluster to run, IAM integration built in.
- Multi-cloud or on-prem heavy, or need for dynamic DB creds, PKI and SSH CA: Vault (or OpenBao) earns its operational cost.
- Consider a hybrid: cloud-native as storage, ESO as the uniform interface for Kubernetes.
- Agree on common standards either way: naming, rotation, audit, access via workload identity.
Why → Running Vault well needs a dedicated team; a badly run Vault is worse than a managed service.
Interview tip → Mention OpenBao as the open-source fork after Vault's licence change.
More on Secrets and Identity Management
A team stores database passwords in a `.env` file committed to a private repo. How do you migrate them out?BeginnerYour CI pipeline uses long-lived AWS access keys stored as repository secrets. How do you replace them?IntermediateAn auditor asks how often you rotate database credentials. You currently never do. What do you build?IntermediatePods need AWS access. A developer mounted an IAM user's keys as a Kubernetes Secret. What do you propose instead?BeginnerShould you use Kubernetes Secrets, Sealed Secrets, External Secrets Operator or the Secrets Store CSI driver?IntermediateA Slack webhook URL and a Stripe live key were posted in a public GitHub issue. What is your response sequence?Beginner