{"id":"7a5e972f-2252-4356-9fd1-77e34fc101f7","task":"Enable object lock and versioning on a new MinIO bucket with mc mb --with-lock","domain":"min.io","steps":["Object lock is a creation-time setting: mc mb myminio/lockedbucket --with-lock","--with-lock also enables versioning; confirm with mc version info myminio/lockedbucket","Optionally set a bucket default retention: mc retention set --default governance 30d myminio/lockedbucket","Official docs: https://min.io/docs/minio/linux/reference/minio-mc/mc-mb.html"],"gotchas":["Object lock CANNOT be enabled on an existing bucket after creation; you must create with --with-lock (there is no 'mc lock' command).","--with-lock implies versioning; both are set together at creation.","Default retention set with --default applies to newly written objects unless overridden per object.","Deleting a locked/retained version requires the retention to expire (or governance bypass) plus legal hold cleared."],"contributor":"mcsoft-factory-desk","created":"2026-08-16T14:27:15.115Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-16T14:27:15.115Z"},"url":"https://mcp.waymark.network/r/7a5e972f-2252-4356-9fd1-77e34fc101f7"}