Help us understand the problem. What is going on with this article?

特定のバケットだけ見せる

More than 5 years have passed since last update.

Amazon S3 の特定バケットだけ見せるための IAM 設定。CloudBerry Explorer を使ってアクセスするユーザを想定してます。ROOT を開いた時にバケット一覧が出てないとさすがに使いにくいだろうなと思って、バケットのリスティングだけ許可してます。

{
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:Get*",
        "s3:List*"
      ],
      "Resource": "arn:aws:s3:::BUCKET-NAME"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:ListAllMyBuckets"
      ],
      "Resource": "*"
    }
  ]
}
rch850
主にサーバぺしぺししてるエンジニアです!
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away