Identity and Access Management (IAM): Secure Governance

IAM is the discipline of ensuring that the right individuals (and machines) have access to the right resources for the right reasons at the right time.

1. Authentication (AuthN): The Trust Handshake

Proving identity across distributed systems typically uses OpenID Connect (OIDC) and OAuth 2.0.

2. Authorization (AuthZ): The Permission Matrix

ModelImplementationStrength
RBACUser -> Role -> PermissionSimple, scalable for org charts.
ABACIf (user.IP == vpn AND doc.label == secret) ALLOWHighly granular, context-aware.
Least PrivilegeDeny by DefaultMinimizes blast radius of compromise.

Concrete Implementation: In AWS IAM, a policy is a JSON document. To follow Least Privilege, never use Resource: *. Specify the exact ARN: arn:aws:s3:::my-bucket/*.

3. Service Identities: Machine-to-Machine

Machine identities do not have passwords; they have Roles and Tokens.

4. Governance and Audit


See Also: