Skip to content

Commit a159c50

Browse files
committed
S3: Add checksum configuration for Non-Amazon providers
1 parent 5d0cce1 commit a159c50

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

  • docs/operate/customize/file-uploads

docs/operate/customize/file-uploads/s3.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,15 @@ To enable file previews in InvenioRDM when using Amazon S3, you must configure C
5656
"ExposeHeaders": []
5757
}
5858
]
59+
60+
## Non-Amazon S3 Providers
61+
62+
If you're using a Non-Amazon S3 provider, you may have to configure the checksum behaviour with:
63+
64+
```
65+
S3_CONFIG_EXTRA = {
66+
"request_checksum_calculation": "WHEN_REQUIRED",
67+
"response_checksum_validation": "WHEN_REQUIRED",
68+
}
69+
```
5970
```

0 commit comments

Comments
 (0)