Modifying the WORM Policy of a Bucket

This operation enables you to modify inactivated WORM policies of a bucket, including modifying names and protection periods of objects.

Prerequisites

Procedure

  1. Choose Services > Object Service > Bucket.
  2. Enter the access certificate and security certificate of the account and click Authenticate.

    • You can also choose Service > Object Service > Account, click the name of the desired account, and click the Bucket tab.
    • You can perform authentication on either of the Bucket or User tab page.

  3. Click More on the right of the desired bucket and select Manage WORM.

    The Manage WORM dialog box is displayed.

  4. Click More on the right of the desired WORM policy and select Modify.
  5. Modify the name and protection period of the object as required.

    • Wildcard (*) matching is supported, that is, a protection period is set for all objects that match the wildcard. If wildcard (*) is not specified, a protection period is set for a single specific object.
    • You cannot set multiple protection periods for the same object.

      For example, AB* contains all objects whose names start with AB, such as AB, ABC, and AB123. If you have set a protection period for AB*, you cannot set a protection period for any object whose name starts with AB. If you have set a protection period for an object whose name starts with AB, you cannot set a protection period for AB*.

    • The WORM policy takes effect only for objects uploaded to the bucket after WORM is enabled.

  6. After the modification is complete, click to confirm the modification.
  7. Click Save to save the WORM policy of the bucket.

    If you need to activate the WORM policy later, go to the page again to activate the WORM policy.

  8. (Optional) Click Save and Activate to activate the WORM policy.

    • If the WORM policy is not activated within 24 hours after it is configured, the WORM policy only takes effect within 24 hours and gets invalid in 24 hours.
    • If the WORM policy is not activated after it is configured, the WORM policy can be modified or deleted within 24 hours.
    • After the WORM policy is activated, it cannot be modified or deleted.