- 重要な情報
- アプリ内
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
Set up the Multi-Factor Authentication (MFA) delete feature to prevent deletion of Amazon S3 objects.
MFA-protected Amazon S3 buckets ensure S3 objects cannot be accidentally or intentionally deleted by AWS users who have access to your bucket.
MFA DELETE
cannot be enabled in the AWS Console. See the CLI remediation below for configuration instructions.
put-bucket-versioning
with your bucket name, versioning configuration, and MFA configuration.put-bucket-acl.sh
aws s3api put-bucket-versioning
--bucket your-s3-bucket-name
--versioning-configuration '{"MFADelete":"Enabled","Status":"Enabled"}'
--mfa 'arn:aws:iam::aws_account_id:mfa/root-account-mfa-device'