An employee with admin access leaves the company on bad terms today. What is your checklist?
BeginnerScenarioSecrets and Identity Management
Answer
Situation read → Act before they are out of the building; assume worst-case intent.
What I'd do →
- Disable the IdP account and kill sessions; this cuts SSO to cloud, GitHub and Slack.
- Revoke anything not behind SSO: personal access tokens, SSH keys, IAM users, kubeconfig certs, API keys.
- Rotate shared secrets they could have read (break-glass passwords, CI secrets).
- Review the last 30 days of audit logs for unusual activity or new access paths.
- Transfer ownership of their repos, pipelines and on-call duties.
Why → SSO coverage decides how fast this is; anything outside SSO is a manual hunt.
Interview tip → The real answer is "this is why everything goes through SSO".
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