Optimization for IAM-like policies #1689
Unanswered
CharlesPhilippeLabbe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to design an AWS IAM like system where we have a set of resources which you can "allow" or "deny" for certain roles and users.
My Initial was this:
Initial Option: Model
Initial Option: Policy
I find it's not ideal because I would need to duplicate every
pto have one fordenyand one forallow.So My second option is this:
Tentative Option; Model
Tentative Option; Policy
Both work, but the first one is significantly (at least 8 times) faster for a few thousand checks. Is there a way for me to optimize option 2 or am I better off going with my initial design?
Beta Was this translation helpful? Give feedback.
All reactions