NewThis is a live doc! Anyone with edit access can make updates in real time without having to publish.
创建 Policy
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:GetBucketLocation", "s3:ListBucket", "s3:ListBucketMultipartUploads" ], "Resource": [ "arn:aws:s3:::test-pg-backup" ] }, { "Effect": "Allow", "Action": [ "s3:AbortMultipartUpload", "s3:DeleteObject", "s3:GetObject", "s3:ListMultipartUploadParts", "s3:PutObject" ], "Resource": [ "arn:aws:s3:::test-pg-backup/*" ] } ] }
将其中的 test-pg-backup 改为你想访问的 bucket 名称
然后创建用户,赋予刚刚创建的 policy