Closed cmclaughlin closed 4 years ago
ListObjectsV2
is an API call, not an action available in IAM. API actions do not translate 1:1 to IAM actions.
From the docs:
To use this operation in an AWS Identity and Access Management (IAM) policy, you must have permissions to perform the
s3:ListBucket
action.
So your policy should be fine and be able to run this API call.
Hmmm I'm guessing I need "'mybucket' and "mybucket/*" as resources
That would be done via ...on_bucket('mybucket').on_object('mybucket', '*')
I'm using the package
I'm using the package in language
Describe the problem
Allow with issue issue #31 - I'm trying to draft a policy as documented here:
https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-IAM.html
I was thinking
all_list_actions
on s3 would include the ListObjectsV2 API. Seems pretty reasonable to me.Please let me know if I'm missing something.