Identity & Access Management
Design least-privilege access for humans and workloads with short-lived, auditable credentials.
AdvancedIAMIdentityCloudGovernance
Where it fits in the lifecycle
- Plan
- Code
- Build
- Test
- Release
- Deploy
- Operate
- Monitor
- Plan Threat modeling, requirements and security design decisions.
- Deploy Policy enforcement, admission control and infrastructure security.
- Operate Runtime security, secrets rotation and configuration reconciliation.
Overview
IAM covers who can do what, for how long, and how it is proven. Workload identity via OIDC federation removes most stored credentials from pipelines and clusters.
Why it matters
Excess standing privilege turns a small compromise into a large one.
How it works
- 01Human access is federated through an identity provider with MFA.
- 02Workloads use OIDC federation to assume scoped roles.
- 03Permissions are reviewed against actual usage data.
Common tools
HashiCorp VaultKeycloakAWS IAMOpen Policy AgentAWSAzureKubernetesVault
Implementation examples
jsonOIDC trust policy for CI
{ "Effect": "Allow", "Principal": { "Federated": "arn:aws:iam::111122223333:oidc-provider/token.actions.githubusercontent.com" }, "Action": "sts:AssumeRoleWithWebIdentity", "Condition": { "StringEquals": { "token.actions.githubusercontent.com:sub": "repo:acme/app:ref:refs/heads/main" } }}Best practices
- Federate instead of storing keys.
- Review permissions against usage.
- Require MFA for all human access.
Common mistakes
- Wildcard trust conditions in OIDC role policies.