Skip to content

Min permissions required for IAM role to do S3 operations #2585

Answered by bhoradc
websparks-wy asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @websparks-wy,

DoesS3BucketExistV2Async() would be available on S3 package AWSSDK.S3 version 3.3.104.0 and above.

If you are on S3 version below 3.3.104.0, you may use DoesS3BucketExistAsync() which still doesn't need IAM permissions to execute for non-owned buckets.

I tested again and can confirm that you would need to give "s3:PutObject" permissions to be able to use TransferUtility.UploadAsync(), on owned or cross account buckets.

Please let me know if this helps.

Regards,
Chaitanya

@bot propose-answer

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@websparks-wy
Comment options

Comment options

You must be logged in to vote
2 replies
@websparks-wy
Comment options

@ashishdhingra
Comment options

Answer selected by ashishdhingra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants