Comments on: How to setup MFA Delete on AWS https://www.anujvarma.com/how-to-setup-mfa-delete-on-aws/ Production Grade Technical Solutions | Data Encryption and Public Cloud Expert Thu, 01 Nov 2018 20:00:51 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: Anuj Varma https://www.anujvarma.com/how-to-setup-mfa-delete-on-aws/#comment-34760 Wed, 03 Oct 2018 18:47:27 +0000 http://www.anujvarma.com/?p=5336#comment-34760 In reply to Amir.

Try this:

To enable MFA Delete:

aws s3api put-bucket-versioning -profile RootUser –bucket MyVersionBucket –versioning-configuration MFADelete=Enabled,Status=Enabled –mfa ‘arn:…. 012345‘

Note: the MFA is referenced with single quotes around it

To check your bucket configuration:

aws s3api get-bucket-versioning –profile RootUser –bucket MyVersionBucket

]]>
By: Amir https://www.anujvarma.com/how-to-setup-mfa-delete-on-aws/#comment-34759 Wed, 03 Oct 2018 18:27:27 +0000 http://www.anujvarma.com/?p=5336#comment-34759 Hi. I tried these steps and wasn’t able to get it to work. I typed in:
aws s3 put-bucket-versioning s3://my-bucket –mfadelete = “enabled”

and the command wasn’t recognized.

]]>