Cloud & DevOps
AWS IAM
Users, roles and policies – least privilege and safe access to buckets and services.
Article
We clean up permissions in the pierogi shop's AWS account – from "everyone has AdministratorAccess" to least privilege. Identities and roles instead of users, policy evaluation logic, ECS task and Lambda roles in CDK, condition keys, permissions boundaries and ABAC, organization guardrails (SCPs and RCPs), IAM Access Analyzer as a CI gate, and deployments from GitHub Actions through OIDC – with no long-lived keys.
Related articles
- Secrets management in practice – environment variables, AWS Secrets Manager and Parameter Store, Vault, rotation, Git leaks and CI/CD
A .env.production file in a public repository for 20 minutes was enough for someone to start crypto miners in the pierogi shop's AWS account. We build proper secrets management – what counts as a…
- S3 bucket security – Block Public Access, policies, KMS, TLS, Object Lock, OAC and presigned URLs (CDK, JSON)
We secure the pierogi shop's buckets layer by layer – Block Public Access and disabled ACLs, a bucket policy enforcing TLS, the KMS key and the organization perimeter, SSE-KMS encryption with Bucket…
Around the topic
- All About Cedar, an Open Source Solution for Fine-Tuning Kubernetes Authorization podcast · apple-podcasts · The New Stack Podcast
- Federated Identity Pattern article · web · Microsoft Azure Architecture Center
- Authorization in a Microservices World article · web · alexanderlolis.com
- AWS Well-Architected Framework - AWS Well-Architected Framework article · web · AWS Well-Architected Framework
- Microservices Security in Action with Prabath Siriwardena - .NET 201 podcast · apple-podcasts · Adventures in .NET
- Behaviours to avoid in a software architecture role article · web · Daniel Watts
- The Role of AI in Testing with Debbie O'Brien podcast · apple-podcasts · .NET Rocks!
- The Role of AI in Secure Software with Ben Dechrai podcast · apple-podcasts · .NET Rocks!
- The role of developer skills in agentic coding article · web · martinfowler.com
- Prompt Injection as Role Confusion article · web · role-confusion.github.io
- Making AI Reliable in the SDLC: The Role of Deterministic Context at Scale video · youtube · InfoQ