Skip to main content
The DigitalOcean resource is a thin wrapper over the S3 resource. It maps a DigitalOceanConfig to an S3Config and reuses the exact same backend, commands, and behavior as S3, it just derives the right Spaces endpoint from region. Uses aioboto3 against DigitalOcean Spaces’ S3-compatible API. The endpoint is computed from region as <region>.digitaloceanspaces.com (e.g. nyc3.digitaloceanspaces.com). Pass endpoint_url to override.

Config

Both READ and WRITE modes are supported.

Example

Notes

  • DigitalOcean reports ResourceName.S3 and routes through the same core/s3 implementation, so the full S3 shell-command set applies. See the S3 resource for the complete command reference, range reads, streaming, and the index cache fast path.
  • For credential setup, see DigitalOcean Setup.