S3 policy - Transfer Family SFTP

0

Hello, I'm facing a concern trying to create a policy for some SFTP users, the thing that I'm trying to do is to give permission to see specific files inside the bucket but I don't find the right way to do it.

asked 2 years ago362 views
1 Answer
0

Have you tried setting up the policy as follows ? :

{ "Version":"2012-10-17", "Statement": [ { "Sid": "List", "Action": ["s3:ListBucket"], "Effect": "Allow", "Resource": ["arn:aws:s3:::bucket"] }, { "Sid": "AllowAllS3ActionsInUserFolder", "Effect": "Allow", "Action": ["s3:GetObject"], "Resource": ["arn:aws:s3:::bucket/home/filename.txt"] } ] }

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions