跳转到主内容

S3策略无效。此操作不适用于语句中的任何资源

Views:
1
Visibility:
Public
Votes:
0
Category:
storagegrid<a>2009-494896</a>
Specialty:
sgrid
Last Updated:

适用场景

NetApp 存储网格

问题描述

尝试在StorageGRID 中配置存储分段策略时、它会报告:

"S3 Policy is invalid. Action is not applicable to any resource in the statement: s3:ListBucket"
"S3 Policy is invalid. Action is not applicable to any resource in the statement: s3:ListAllMyBuckets"

上述策略的示例适用于ListBucket和ListAllMyBucket、但可以应用于其他语句。

报告此错误的语句示例:

{
"Statement": [
{

"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:DeleteObjectTagging",

"s3:GetObject",
"s3:GetObjectTagging",
"s3:PutObject",

"s3:PutObjectTagging",

],
"Resource": "arn:aws:s3:::<bucketname>/*"
}
]
}

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.