Object storage is one of the most popular services in the cloud — often the first thing organizations migrate when moving to the cloud. With data stored in the cloud, security is paramount. Preventing accidental deletion and protecting data is a critical capability. In Amazon S3, you can enable MFA Delete on a bucket to help prevent accidental deletion of bucket contents or the bucket itself.
Overview
MFA (Multi-Factor Authentication) adds an extra layer of protection on top of username and password. AWS supports virtual MFA devices (software apps running on a phone or mobile device that generate a 6-digit time-based one-time password), enhancing account security.
The bucket owner, the AWS account that created the bucket (root account), and all authorized IAM users can enable versioning. However, only the bucket owner (root account) can enable MFA Delete. Note: this feature is not available for root-less accounts in the China region.
Create a Bucket
View Current Bucket Properties
Both versioning and MFA Delete are currently disabled. MFA Delete cannot be configured through the AWS Console — it must be enabled via the CLI or REST API.