News for hackers. Stuff that matters.
Re:How I use the good parts of AWS by DVassallo on Sunday July 28, 2019 @01:18AM (#20545984)
Yes, I do the same. For service roles I just use the PowerUser managed role. I don’t see the need to put access control on Amazon’s ability to call it’s own services. I only restrict my EC2 instance profile, since that’s a bit more vulnerable, and I tend to know very precisely what it should have access to.
Re:How I use the good parts of AWS by poxrud on Sunday July 28, 2019 @09:15AM (#20547366)
What if you have a lambda with a full admin role that is not sanitizing its inputs? Or maybe it's using an outdated file parsing library (csv/yaml) with a vulnerability. Now your entire AWS account could potentially be compromised.
Re:How I use the good parts of AWS by DVassallo on Sunday July 28, 2019 @01:31PM (#20548737)
Yes, I would use a restricted role for Lambda too. Anything that gets creds in user space gets restricted permissions: EC2, Lambda, ECS, etc.