Interview Prep/DevSecOps/Cloud IAM and Compliance

Your team uses Azure and AWS. How do you keep IAM consistent across both?

AdvancedScenarioCloud IAM and Compliance
Answer

Situation read → Different models (AWS IAM policies vs Azure RBAC role assignments), but the same principles.

What I'd do →

  1. One IdP (Entra ID or Okta) as the source of identity for both; groups drive access.
  2. Map job functions to AWS permission sets and Azure built-in or custom roles.
  3. Manage both in Terraform from one repo, with review.
  4. Use workload identity in both: IRSA/Pod Identity and Azure Workload Identity; no secrets.
  5. Run a CSPM across both clouds and run access reviews from the IdP.

Why → The IdP group is the common layer, so access reviews and offboarding work the same way in both clouds.

Interview tip → Show you know the equivalents: SCP vs Azure Policy, IAM role vs managed identity.

All DevSecOps questions Roadmap: Policy as code

More on Cloud IAM and Compliance