The settings for existing buckets can be edited on the Object Storage page.When changing bucket settings using this procedure, the changes are applied to new objects. To change retention settings on existing objects, refer to Changing bucket retention.
To edit bucket settings
- On the Containers pane, find the object storage container that you want to edit. Click the ellipses icon, and click Edit.
- In the Buckets section, find the desired bucket. Right-click on the ellipsis icon and click Bucket Settings.
- In the Locking Mode section, select from one of the options below:
- Compliance - prevents objects from being overwritten or deleted by any user during the specified lock period. When an object is locked in compliance mode, its retention mode can't be changed, and its retention period can't be shortened. Compliance mode ensures that an object version can't be overwritten or deleted for the duration of the retention period.
- Governing - prevents users without the appropriate permissions from overwriting or deleting an object version or altering its lock settings. With governance mode, you protect objects against being deleted by most users, but you can still grant some users permission to alter the retention settings or delete the object if necessary. You can also use governance mode to test retention-period settings before creating a compliance-mode retention period.
- None - provides no object locking.
![](/zh-cn/technical-documents/image/e78010f2-0eb0-4bdb-9b46-688556cd9591)
|
IMPORTANT: Changes in the locking mode are applied to files written to the container after the change was applied. Existing files are locked according to the locking method in place at the time they were added to the container. |
- In the Locking Duration field, select the number and format (days or years) to specify the time that the object lock will be active.
- Click Update.
To change retention settings for existing objects, follow the procedures below. To change the default bucket settings for new objects, refer to Editing bucket settings
To change bucket retention settings
- On the Containers pane, find the object storage container that you want to edit. Click the ellipses icon, and click Edit.
- In the Buckets section, find the desired bucket. Right-click on the ellipsis icon and click Change Retention.
- [Optional] In the Prefix section, enter the folder prefix. This will limit retention changes to objects in the specified folder.
- In the Locking Mode section, select from one of the options below:
- Compliance - prevents objects from being overwritten or deleted by any user during the specified lock period. When an object is locked in compliance mode, its retention mode can't be changed, and its retention period can't be shortened. Compliance mode ensures that an object version can't be overwritten or deleted for the duration of the retention period.
- Governing - prevents users without the appropriate permissions from overwriting or deleting an object version or altering its lock settings. With governance mode, you protect objects against being deleted by most users, but you can still grant some users permission to alter the retention settings or delete the object if necessary. You can also use governance mode to test retention-period settings before creating a compliance-mode retention period.
- None - provides no object locking.
- In the Locking Duration field, select the number and format (days or years) to specify the time that the object lock will be active.
- Click Update.
This dialog allows you to manage the Object container users. Each Object container user is managed separately and is different from the other QoreStor users.
Currently, one of the predefined policies can be assigned to each user. User name and password are to be used in place of Access Key and Secret Key respectively when configuring access to this container from the DMA.
To add an Object container user
- In the navigation menu, click Containers.
- On the Containers pane, find the object storage container that you want to update. Click the ellipses icon, and click Edit.
- Click Users.
- Click Add User.
- To add a user, enter user name, Secret key (password) and select a policy from the dropdown.
The available policies are:
- readwrite
- readonly
- writeonly
- Click Save.
|
NOTE: You may also configure object container user policies using the QoreStor CLI, Refer to the QoreStor Command Line Reference Guide for usage details on the object_container command option. |
Updating Object container user
This dialog allows you to update a user’s secret key or policy.
To update
- In the navigation menu, click Containers.
- On the Containers pane, find the object storage container that you want to update. Click the ellipses icon, and click Edit.
- Select the User from the current list of users and click the ellipses icon under Actions. Select Edit.
- Update Secret Key or Policy as required and click Save.
Deleting Object container user
This dialog allows you to delete an existing Object container user.
To delete the user
- In the navigation menu, click Containers.
- On the Containers pane, find the object storage container that you want to update. Click the ellipses icon, and click Edit.
- Select the User from the current list of users and click the ellipses icon under Actions. Select Delete.
- Confirm the removal in the dialog window.
QoreStor allows for the configuration of additional storage enclosures in order to increase capacity.