2 個答案
- 最新
- 最多得票
- 最多評論
3
Hello,
Object lock is nothing but Restricting the deletion option by accidently or for security reasons. But you have a chance to delete the objects or empty the bucket by enabling Default retention in Object lock set the retention mode to Governance so that you can empty the bucket with certain permissions. As a root user you don't need any permission. So you can empty the bucket by enabling Default Retention.
Note: by enabling Object lock to a bucket you can have a chance to delete objects in that bucket but you can't delete the bucket once the object lock is enabled.
For further details see https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
已回答 1 個月前
相關內容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前