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.

質問済み 2年前377ビュー
1回答
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
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ