Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/operate/customize/file-uploads/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,27 @@ To enable file previews in InvenioRDM when using Amazon S3, you must configure C
}
]
```

## NetApp StorageGrid

[NetApp StorageGrid](https://www.netapp.com/data-storage/storagegrid/) is an enterprise-grade S3-compatible object storage system designed for large-scale data management.

Unlike AWS S3, StorageGrid requires explicitly specifying allowed methods and headers in the CORS configuration. To enable file uploads and previews, configure your bucket CORS with:

```xml
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>https://example.org</AllowedOrigin>
<AllowedMethod>HEAD</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
<ExposeHeader>ETag</ExposeHeader>
<ExposeHeader>x-amz-meta-custom-header</ExposeHeader>
</CORSRule>
</CORSConfiguration>
```

This configuration does not authorize users to perform actions on the bucket. It enables the browser's security model to allow cross-origin requests to StorageGrid. Permissions must be configured separately through bucket policies or tenant user permissions.