Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

AWS SAM Connector Write needs PutObjectTagging #3451

Closed
kitsunde opened this issue Nov 30, 2023 · 2 comments
Closed

AWS SAM Connector Write needs PutObjectTagging #3451

kitsunde opened this issue Nov 30, 2023 · 2 comments
Labels
stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Comments

@kitsunde
Copy link

If you make a PutObject call and have Write permission to an S3::Bucket it will fail with 403 because it's missing PutObjectTagging see https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html

Currently read+write permissions generate:

Allow: s3:GetObjectLegalHold
Allow: s3:GetObjectTorrent
Allow: s3:AbortMultipartUpload
Allow: s3:DeleteObject
Allow: s3:ListMultipartUploadParts
Allow: s3:RestoreObject
Allow: s3:GetObjectVersionTorrent
Allow: s3:GetObject
Allow: s3:ListBucketMultipartUploads
Allow: s3:PutObjectLegalHold
Allow: s3:DeleteObjectVersion
Allow: s3:PutObject
Allow: s3:GetObjectVersion
Allow: s3:GetObjectVersionForReplication
Allow: s3:GetObjectVersionAcl
Allow: s3:ListBucket
Allow: s3:GetObjectAcl
Allow: s3:GetObjectRetention
Allow: s3:PutObjectRetention
Allow: s3:ListBucketVersions

Tags on upload can be used with lifecycle rules to make it easy to expire object.

@kitsunde kitsunde added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Nov 30, 2023
@kitsunde
Copy link
Author

kitsunde commented Nov 30, 2023

This is very similar to this issue from 2019, but now on the connector. #1072 #1063

@xazhao
Copy link
Contributor

xazhao commented Dec 1, 2023

Thanks for bringing the issue @kitsunde . I will discuss with my team about adding the permission and let you know the result. For now, I will move the issue to discussion so it can get more votes.

@aws aws locked and limited conversation to collaborators Dec 1, 2023
@xazhao xazhao converted this issue into discussion #3453 Dec 1, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.
Projects
None yet
Development

No branches or pull requests

2 participants