Skip to main content
NetApp Knowledge Base

Can S3API(get-bucket-versioning) display MFADelete's status of SGRID S3 bucket?

Views:
65
Visibility:
Public
Votes:
4
Category:
storagegrid-webscale
Specialty:
sgrid
Last Updated:

Applies to

  • StorageGRID (SGRID)
  • MFA (multi-factor authentication) Delete 

Answer

No, it cannot because MFADelete is not supported by SGRID.

Lab sample:

[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.