S3-Compatible Object Storage, or S3 is a storage solution that uses the S3 API.
Data management and access to data is through an S3 compliant interface.
The Spaces API aims to be interoperable with Amazon’s AWS S3 API. In most cases, when using a client library, setting the “endpoint” or “base” URL, which is the URL that provides access to your application, to ${REGION}.digitaloceanspaces.com
and generating a Spaces key pair to replace your AWS IAM key pair will allow you to use Spaces in place of S3.
Third-party API client libraries allow you to interact with Spaces buckets programmatically. You can use AWS S3 SDKs and other S3 compatible libraries with Spaces.