Interview Prep/DevSecOps/Foundations, Threat Modeling and OWASP

What are least privilege and zero trust, and how do they relate?

IntermediateConceptFoundations, Threat Modeling and OWASP
Answer

Least privilege: every identity (human, service, pipeline) gets only the permissions needed, only for as long as needed. Zero trust: never trust based on network location; authenticate and authorise every request, verify device and context, assume breach.

Zero trust is the architecture; least privilege is the policy applied inside it. Examples: workload identity instead of shared keys, short-lived credentials, mTLS between services, per-service NetworkPolicy.

All DevSecOps questions Roadmap: Security in the pipeline

More on Foundations, Threat Modeling and OWASP