NewThis is a live doc! Anyone with edit access can make updates in real time without having to publish.
授予 Bucket 权限

创建 Policy

1{ 2 "Version": "2012-10-17", 3 "Statement": [ 4 { 5 "Effect": "Allow", 6 "Action": [ 7 "s3:GetBucketLocation", 8 "s3:ListBucket", 9 "s3:ListBucketMultipartUploads" 10 ], 11 "Resource": [ 12 "arn:aws:s3:::test-pg-backup" 13 ] 14 }, 15 { 16 "Effect": "Allow", 17 "Action": [ 18 "s3:AbortMultipartUpload", 19 "s3:DeleteObject", 20 "s3:GetObject", 21 "s3:ListMultipartUploadParts", 22 "s3:PutObject" 23 ], 24 "Resource": [ 25 "arn:aws:s3:::test-pg-backup/*" 26 ] 27 } 28 ] 29}

将其中的 test-pg-backup 改为你想访问的 bucket 名称


然后创建用户,赋予刚刚创建的 policy