News for hackers. Stuff that matters.
Re:Awsviz.dev simplifying AWS IAM policies by egorfine on Wednesday July 10, 2024 @06:15AM (#40925418)
I'd love for fine-grained permissions to be optional. Not an insurmountable barrier to the actual service.

Like let me start the development first. I'll get to security later. I came here for object storage, don't force me to learn an incredibly complex auxiliary service.

Re:Awsviz.dev simplifying AWS IAM policies by lijok on Wednesday July 10, 2024 @07:15AM (#40925696)
But they are, that's kind of the whole point. You start with {"actions": ["s3:"], "resources": [""]} and graduate from there when ready.
Re:Awsviz.dev simplifying AWS IAM policies by egorfine on Wednesday July 10, 2024 @07:20AM (#40925720)
This could be a perfect 101 on IAM which I would strongly prefer never attending.
Re:Awsviz.dev simplifying AWS IAM policies by lijok on Wednesday July 10, 2024 @10:48AM (#40927527)
How else do you expect to manage permissions? Is there a better dsl design you have in mind?
Re:Awsviz.dev simplifying AWS IAM policies by egorfine on Wednesday July 10, 2024 @12:52PM (#40928853)
What is better? I am pretty sure IAM is the best there is, no questions about that.

Better for small teams? Sure: a login/password system with maybe optional restrictions on services and maybe "readonly" access and maybe with disabled aws console.

Basically, something that was in AWS before the IAM madness came in.

Re:Awsviz.dev simplifying AWS IAM policies by JackSlateur on Wednesday July 10, 2024 @03:05PM (#40930266)
But you can do that with IAM, and quite easily too

Create IAM user with access/secret keys are easy

Assign the built-in ReadOnly policy, easy too, or any other built-in "generic" policy

Re:Awsviz.dev simplifying AWS IAM policies by egorfine on Thursday July 11, 2024 @05:35AM (#40934947)
You are missing my point.

Of course, it is possible with IAM because IAM is a top-tier ACL system.

The point: I don't want to learn it.

Re:Awsviz.dev simplifying AWS IAM policies by danielheath on Wednesday July 10, 2024 @05:18PM (#40931577)
If my account has only got one thing in it, I don’t expect to manage permissions at all.

“Everything has root” is fine when you are starting a new thing - what’s needed is tooling to start there and grow into fine grained permissions when you add a second thing.

Re:Awsviz.dev simplifying AWS IAM policies by xenophonf on Wednesday July 10, 2024 @09:07AM (#40926452)
> Like let me start the development first. I'll get to security later.

And that's why the world is full of crappy, insecure software. Security is ever an afterthought.

Re:Awsviz.dev simplifying AWS IAM policies by egorfine on Wednesday July 10, 2024 @09:28AM (#40926668)
Wholeheartedly agree with you. Not only it's an afterthought, it's a sinkhole for resources with zero apparent ROI. It's basically lives in backlog rent-free.
Re:Awsviz.dev simplifying AWS IAM policies by icedchai on Wednesday July 10, 2024 @09:11AM (#40926494)
They basically are optional. You can use wildcards in the action. (Nobody will go back and tighten them up though.)
Re:Awsviz.dev simplifying AWS IAM policies by egorfine on Thursday July 11, 2024 @05:42AM (#40934977)
They aren't. To have wildcards I still have to go to IAM and learn how to create a wildcard policy.
Re:Awsviz.dev simplifying AWS IAM policies by icedchai on Thursday July 11, 2024 @09:22AM (#40936508)
But you don't have to list each and every permission, which was my point. This is far easier than investigating what your app does, mapping it to permissions, missing some of them, and iterating...