https://<region>.digitaloceanspaces.com. MIRAGE derives this endpoint from your region automatically.
Credentials (Spaces access key pair) are created the same way in both runtimes, see DigitalOcean Credentials.
Node (server-side)
Config
Fields marked secret are redacted in snapshots.
Browser (presigned URLs)
DigitalOceanVFS is secret-free, your backend signs each operation using your Spaces keys and returns a URL. Spaces accepts AWS Signature V4, so @aws-sdk/s3-request-presigner works, pointed at the Spaces endpoint.
Config
Fields marked secret are redacted in snapshots.
1. Server: sign URLs with the Spaces endpoint
2. Browser: wire it up
3. CORS
Spaces supports the S3PutBucketCors call, so the AWS CLI works against the Spaces endpoint (you can also use the DigitalOcean control panel, Space -> Settings -> CORS Configurations):
write: conditional on this provider, see S3-compatible stores.
VFS.md
The VFS.md an agent reads with DigitalOcean Spaces mounted at/<path>.
- Rendered
- Raw