DigitalOcean Spaces
DigitalOcean Spaces supports all four Sendcrate delivery modes, including per-object and per-folder Public links via object ACLs and optional Spaces CDN delivery.
Connection settings
Section titled “Connection settings”In Sendcrate, go to Add bucket and choose DigitalOcean Spaces:
| Field | Example / Notes |
|---|---|
| Endpoint URL | https://<region>.digitaloceanspaces.com (for example https://nyc3.digitaloceanspaces.com) |
| Bucket name | Your Space name |
| Path-style addressing | Off by default (space.region.digitaloceanspaces.com); enable only if your setup requires endpoint/space |
| Access key ID / Secret access key | Spaces access key generated in DigitalOcean |
| Public base URL (optional) | Spaces CDN URL, e.g. https://acme.nyc3.cdn.digitaloceanspaces.com |
Creating a Spaces access key
Section titled “Creating a Spaces access key”- In the DigitalOcean Control Panel, open API → Spaces Keys → Generate New Key.
- Scope the key to the Space(s) you want Sendcrate to access (Read/Write/Delete, or Read-only for view-only sharing).
- Copy the Access Key and Secret Key into Sendcrate.
Delivery modes on Spaces
Section titled “Delivery modes on Spaces”- Gated, Proxied, Direct, and Public links are all supported.
- Public delivery toggles per-object ACLs directly on your Space. If you also enable the Spaces CDN and enter its URL in Public base URL, Sendcrate builds Public links on the CDN hostname while per-object ACLs still govern which objects are public.
Browser access (CORS)
Section titled “Browser access (CORS)”In DigitalOcean → your Space → Settings → CORS Configurations, add a rule allowing your Sendcrate origins (https://app.sendcrate.io and https://send.sendcrate.io, or your self-hosted origins):
- Allowed Methods:
GET,PUT,HEAD - Allowed Headers:
* - Access Control Max Age:
3000
Or apply the S3 CORS JSON via the AWS CLI pointing at your Spaces endpoint:
[ { "AllowedHeaders": ["*"], "AllowedMethods": ["GET", "PUT", "HEAD"], "AllowedOrigins": [ "https://app.sendcrate.io", "https://send.sendcrate.io" ], "ExposeHeaders": ["ETag", "Content-Length", "Content-Range"], "MaxAgeSeconds": 3000 }]Staged upload lifecycle rule
Section titled “Staged upload lifecycle rule”To expire abandoned staged uploads under .sendcrate/staging/ and abort incomplete multipart uploads after 1 day, apply a lifecycle configuration with the AWS CLI (or s3cmd):
aws s3api put-bucket-lifecycle-configuration \ --endpoint-url https://nyc3.digitaloceanspaces.com \ --bucket my-space \ --lifecycle-configuration '{ "Rules": [ { "ID": "sendcrate-staging", "Filter": { "Prefix": ".sendcrate/staging/" }, "Status": "Enabled", "Expiration": { "Days": 1 }, "AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 1 } } ] }'Live change detection
Section titled “Live change detection”DigitalOcean Spaces does not push bucket event notifications. Sendcrate lists objects on demand whenever you browse a folder.