~/talk

Catch Me If You Can: How LocalStack’s Policy Stream Identifies Least Privilege IAM Policies

Talkat Moar Serverless!! 2024 · on Thursday, 2024-05-23· [serverless, security]
links:none on file
slides:none on file

LocalStack’s IAM Policy Stream records every AWS API call your app makes locally and generates policies per API call that map back to the principal or resource, producing concrete JSON policy suggestions (S3: GetObject/PutObject, Lambda: ListFunctions/GetFunction, SQS create/send/receive) you can drop into Terraform. It runs inside the LocalStack Docker image (LocalStack supports 100+ APIs), can run permissive by default or emulate production with force IAM enforcement via FORCE_IAM=1, and surfaces missing permissions during a serverless image-resizer deploy so you can right-size and test least-privilege rules before cloud rollout.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45Understanding IAM Policies
  3. 2:44Shifting Security Left
  4. 3:32Introduction to LocalStack
  5. 4:28LocalStack demo basics
  6. 4:48IAM Policy Stream feature
  7. 6:01Policy generation demo
  8. 6:51Complex architecture overview
  9. 7:43Rightsizing policies demo
  10. 8:42Policy implementation
  11. 9:25Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.