Enable AWS S3 MFA delete with the console

Question:

Is it possible to enable AWS S3 MFA delete with the console? How?

I don’t manage to find any way to do it, neither have found any answer googling.

Answer:

No – you can enable versioning on the bucket but you cannot enable MFA delete.

You can do it via the AWS CLI:

aws s3api put-bucket-versioning --bucket bucketname --versioning-configuration Status=Enabled,MFADelete=Enabled --mfa "your-mfa-serial-number mfa-code"

Note that the command above also enables bucket versioning.

Leave a Reply