将 Shade 连接到 AWS S3






最后更新于
这有帮助吗?
这有帮助吗?
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"PUT",
"POST",
"DELETE",
"HEAD"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [
"ETag",
"Content-Length",
"Content-Disposition",
"Content-Encoding",
"x-amz-request-id",
"x-amz-id-2",
"x-amz-version-id",
"x-amz-server-side-encryption"
],
"MaxAgeSeconds": 3000
}
]{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::你之前配置的存储桶名称"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::你之前配置的存储桶名称/*"
}
]
}