Chapter 7 of 10All chapters
Chapter 7 of 10
Identity and access
Who may do what.
Roles over keys
Long-lived access keys leak. Roles grant temporary credentials to a machine or service, which expire on their own and cannot be pasted into a repository.
- Grant the minimum permissions and widen only when something breaks.
- Turn on multi-factor authentication for every human account, especially the root one.
The common breach
Most cloud incidents are not exotic: a public storage bucket, an over-permissive role, or a key committed to a repository. All three are configuration, not software flaws.