跳转到主内容

S3API (Get-bucket-versioning)是否可以显示MFADelete的SGRID S3存储分段状态?

Views:
9
Visibility:
Public
Votes:
4
Category:
storagegrid-webscale<a>2009-307752</a>
Specialty:
sgrid
Last Updated:

适用场景

  • StorageGRID ( SGRID )
  • MFA (多因素身份验证)删除 

问题解答

否、无法执行此操作、因为SGRID不支持MFADelete。

实验室示例:

[root@host241 ~]# aws --endpoint-url  https://sg5:10443 --ca-bundle /root/.aws/sg5-10443.pem --profile sg5-tenant1-root s3api get-bucket-versioning --bucket bucket4
[root@host241 ~]#
[root@host241 ~]# aws --endpoint-url  https://sg5:10443 --ca-bundle /root/.aws/sg5-10443.pem --profile sg5-tenant1-root s3api put-bucket-versioning --bucket bucket4 --versioning-configuration Status=Enabled,MFADelete=Disabled
[root@host241 ~]#
[root@host241 ~]# aws --endpoint-url  https://sg5:10443 --ca-bundle /root/.aws/sg5-10443.pem --profile sg5-tenant1-root s3api get-bucket-versioning --bucket bucket4               {
"Status": "Enabled" 
}
[root@host241 ~]#
[root@host241 ~]# aws --endpoint-url  https://sg5:10443 --ca-bundle /root/.aws/sg5-10443.pem --profile sg5-tenant1-root s3api get-bucket-versioning --bucket bucket5
[root@host241 ~]#
[root@host241 ~]# aws --endpoint-url  https://sg5:10443 --ca-bundle /root/.aws/sg5-10443.pem --profile sg5-tenant1-root s3api put-bucket-versioning --bucket bucket5 --versioning-configuration Status=Enabled,MFADelete=Enabled

An error occurred (XNotImplemented) when calling the PutBucketVersioning operation: MfaDelete support not implemented  
[root@host241 ~]#
[root@host241 ~]# aws --endpoint-url  https://sg5:10443 --ca-bundle /root/.aws/sg5-10443.pem --profile sg5-tenant1-root s3api get-bucket-versioning --bucket bucket5
[root@host241 ~]#

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.