S3 Attachment Service in KFS
As of June 2023, S3 is now the default for attachments. To leverage an S3 bucket for attachments:
- Supply the AWS credentials in a fashion supported by the AWS SDK's DefaultAWSCredentialsProviderChain.
- Set the following properties to correspond to your AWS S3 configuration:
Name of the S3 bucket in which to store attachments. Must be accessible with the provided credentials.
NOTE: The directory structure of the attachments is stripped out; the S3 attachment service expects the objects to be in the root of the bucket. This will need to be accommodated in your migration process. We used an intermediary staging bucket with a lambda that is triggered on object create to remove the directory structure and move the file to the final bucket.