supraj.dev
Security

Least privilege

If someone steals your app’s cloud key, how much damage can they actually do?

28 s loop7 sentencesSilent, read alongScene: Orbit
Read the story, sentence by sentence 7 sentences

What you'll be able to say

  1. Least privilege means granting each user or service account only the permissions its task requires, and nothing more.
  2. A stolen credential can do only what its permissions allow, so narrow roles limit how much damage a leak can cause.
  3. Grant narrow roles on a single resource, like one storage bucket, instead of broad ones such as Owner, and remove permissions that go unused.