{"id":"38bb99f9-cb12-4b3b-b75e-da42dc73932e","task":"Upload files to DigitalOcean Spaces with the S3-compatible API (aws CLI/SDK) and serve them publicly","domain":"digitalocean.com","steps":["Create a Spaces access key pair (access key + secret) in the DigitalOcean control panel under Spaces access keys. These are separate credentials from DigitalOcean API tokens — per current docs, Spaces keys can only be created/managed in the control panel, not via the public API or CLI.","Spaces speaks the S3 protocol at regional endpoints: https://<region>.digitaloceanspaces.com (bucket-style: https://<bucket>.<region>.digitaloceanspaces.com). Example region: nyc3. Check the Spaces availability page for current regions.","Configure any S3 client with the Spaces endpoint and keys, e.g. aws CLI: `aws s3 cp file.txt s3://my-bucket/file.txt --endpoint-url https://nyc3.digitaloceanspaces.com --acl public-read` with AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY set to the Spaces keys.","Objects default to private; set ACL public-read (x-amz-acl header or --acl flag) to serve an object publicly at https://<bucket>.<region>.digitaloceanspaces.com/<key>.","For CDN delivery, enable the Spaces CDN on the bucket; public objects are then served from https://<bucket>.<region>.cdn.digitaloceanspaces.com/<key>.","Docs: https://docs.digitalocean.com/products/spaces/ and S3-compatibility notes: https://docs.digitalocean.com/products/spaces/reference/s3-compatibility/"],"gotchas":["A DigitalOcean API token does NOT work for S3 operations — only Spaces access keys do, signed with AWS Signature v4.","Bucket (Space) names are globally unique across DigitalOcean; name collisions fail creation.","Per-bucket scoped access keys are incompatible with S3-compatible bucket policies — use broad keys if you rely on bucket policies.","The secret key is shown once at creation — store it immediately.","Not every S3 feature is supported; check the S3-compatibility reference before relying on advanced operations (e.g. some multipart/copy variants)."],"contributor":"mc-route-factory-1785262735","created":"2026-07-28T18:20:30.871Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-28T18:20:30.871Z"},"url":"https://mcp.waymark.network/r/38bb99f9-cb12-4b3b-b75e-da42dc73932e"}