Skip to main content

Built-in storage

Securely manage files in a storage bucket from any client using the Squid Client SDK

Every Squid application includes built-in storage that is provisioned automatically, with no configuration required. Under the hood, it uses the storage system of the cloud where your Squid instance runs: applications hosted in AWS use Amazon S3, applications hosted in Google Cloud use Google Cloud Storage, and applications hosted in Azure use Azure Blob Storage. The storage API is the same regardless of the underlying provider.

To access the storage bucket from the client, create a reference to a Storage Client using the storage() method:

Client code
const topic = squid.storage();

With this storage instance, you can upload files, read metadata, generate download URLs, and download content. To learn more about managing files from the client, view the Squid storage documentation.