-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easier to add extra policy statements #72
Comments
One option would be to support multiple Could support |
I need a better feeling for what other kinds of shortcuts might be useful. |
https://aws.amazon.com/blogs/security/back-to-school-understanding-the-iam-policy-grammar/ says:
So Effect, Action and Resource are required. |
I'm tempted to say that |
I have a full list (I think) of potential actions here: https://iam-definitions.vercel.app/iam/privileges |
Alternative design:
But given that, what would the shortcut be if you didn't want to use Maybe |
I'm just going to implement If you pass I'm not going to implement shortcut templates, because I don't have a good idea for what they should be - and |
I decided to just implement |
I tested this like so and it worked:
Then tested like so:
|
The current
--policy
option lets you set a custom policy, but leaves it to you to define one.I find myself wanting to mix in the following to the policy that I use, for s3-ocr:
https://docs.aws.amazon.com/textract/latest/dg/security_iam_id-based-policy-examples.html#security_iam_async-actions
Would be nice if there was a neat way to do this.
The text was updated successfully, but these errors were encountered: