Interview Prep/Real-World Interview/Secrets, security & access

How did you approach secrets for local development?

IntermediateBehavioralSecrets, security & access
Answer

Good answer looks like → "Local development used Docker Compose with fake or dev-only credentials. When developers needed real dev secrets, they pulled them with the AWS CLI using their SSO session (aws secretsmanager get-secret-value) into a git-ignored .env. Production secrets were never accessible from laptops."

Follow-ups to expect → How did you stop .env files being committed? How did new developers get set up?

Red flags → A shared .env file with production credentials passed around.

All Real-World Interview questions Roadmap: Interview readiness

More on Secrets, security & access