Engineers share one admin account for the production cloud console. How do you fix access?
BeginnerScenarioSecrets and Identity Management
Answer
Situation read → Shared accounts kill accountability; audit logs show one name for everyone.
What I'd do →
- Set up SSO through IAM Identity Center (or Entra ID / Google) federated with the corporate IdP.
- Create permission sets by job function: read-only, developer, ops-admin.
- Enforce MFA in the IdP and remove console passwords for IAM users.
- Lock the root user: hardware MFA, no access keys, credentials in a safe.
- Rotate the shared password and disable the account once everyone has moved.
Why → Individual identities make CloudTrail useful and offboarding instant.
Interview tip → Leavers lose cloud access the moment HR disables them in the IdP.
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