...
Important
The bucket must have policy versioning enabled. The command to enable policy versioning on a bucket is:
Code Block |
---|
curl -i --location-trusted -XPUT --post301--data-binary '' -H "Policy-Versioning: enabled"
"http://<hostname>/<bucket-name>?domain=<domain-name>&replicate=immediate" |
See Enabling Policy Versioning for the Swarm Cluster to enable policy versioning from the UI.
Search and select the target bucket name.
Click Settings > Properties.
Select the checkbox for Enable Object Locking.
...