These steps describe how to use the AWS Management Console to create a bucket for use as WORM storage (Amazon S3 Object Lock) in Amazon S3. Once you have created the bucket you can create rules for a category or folder to store your data using WORM storage.
For more on creating rules, see Creating a rule.
Note: Ensure you have the required AWS login credentials before
you begin.
This task assumes you have:
- Installed Alfresco Content Services 7.0 and above. For more, see Supported Platforms.
- Installed Alfresco Content Connector for AWS S3 3.1 and above with multiple bucket support enabled.
- For more see Configuring multiple buckets using S3 Connector in the Alfresco Content Connector for AWS S3 documentation.
- Set the following properties in the
<TOMCAT_HOME>/shared/classes/alfresco-global.properties
file:
Property Description worm.contentstore ACS 23.2, S3 Connector 6.1.0 and above. This property is the key of the content store that has a WORM bucket. worm.retentionPeriod ACS 23.2, S3 Connector 6.1.0 and above. This property controls the default retention period. It is specified in days and the default value is 2192 which is six years. s3.worm.contentstore ACS versions older than 23.2, S3 Connector versions older than 6.1.0. This property is the key of the content store that has a WORM bucket. s3.worm.retentionPeriod ACS versions older than 23.2, S3 Connector versions older than 6.1.0. This property controls the default retention period. It is specified in days and the default value is 2192 which is six years. connector.s3.store2.retentionPeriodProperty This property passes the AGS property which stores the unlock date of an object to Content Connector for AWS S3. You must enter this value: {http://www.alfresco.org/model/recordsmanagemententerprise/1.0}wormUnlockDate. rm.wormUnlockRecords.cronExpression This cron expression is used to specify how often the unlock job should run in Governance Services. The default is 15 minutes.