Skip to main content
← Back to plugins
Digital Ocean Spaces

Digital Ocean Spaces

Store images and other assets with Digital Ocean Spaces object storage.

Version3.5.5
Compatibility^3.0.0
CategoryStorage
Downloads38.1K monthly
Last updatedMar 26, 2026

No documentation available.

Documentation

Digital Ocean Spaces is an S3-compatible object storage solution.

Prerequisite

The AssetServerPlugin is part of a standard Vendure installation, but if it is not already installed, you must install it:

npm install @vendure/asset-server-plugin

Install AWS SDKs

Before using this strategy, make sure you have the @aws-sdk/client-s3 and @aws-sdk/lib-storage packages installed:

npm install @aws-sdk/client-s3 @aws-sdk/lib-storage

Create a new Spaces bucket

In the Digital Ocean dashboard, navigate to "Spaces Object Storage" from the left nav menu and create a new bucket named "vendure-assets".

Next, navigate to the "API" section and generate a new API key for that bucket. Be sure to note down:

  • The access key
  • The secret key (important!)
  • The bucket url (available from the spaces bucket page)

These can then be used to configure the environment variables SPACES_ACCESS_KEY, SPACES_SECRET_KEY and SPACES_ENDPOINT.

Configure the AssetServerPlugin for Spaces

Ts

Complete documentation

See the S3AssetStorageStrategy docs for full documentation.