AWS S3 Permissions Setup for IAM User

Hi Mattermost Community,

I’m setting up Mattermost using the Install Mattermost on Kubernetes instructions. I’d like to use AWS S3 as my file store, so I’ve created an S3 bucket, and now I’m creating an IAM user that my Mattermost server will use to access the bucket.

What permissions do I need to give this IAM user regarding access to my S3 bucket resource? Do I just need s3:PutObject, s3:GetObject, and s3:DeleteObject?

Thanks,
Elias