---
title: Using S3-compatible buckets as private origins
summary: Configure S3-compatible buckets to use as private origins for CDN delivery. Requests are authorized via signature version 4 to protect communication between your CDN service and the bucket. This is compatible with Fastly Object Storage, AWS S3, and most other S3-compatible storage offerings.
url: https://www.fastly.com/documentation/solutions/examples/using-s3-compatible-buckets-as-private-origins
---

Configure S3-compatible buckets to use as private origins for CDN delivery. Requests are authorized via signature version 4 to protect communication between your CDN service and the bucket. This is compatible with Fastly Object Storage, AWS S3, and most other S3-compatible storage offerings.

## VCL

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/6750ff75)

## Compute

### Rust

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/86632e6b)

### Javascript

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/2733a23e)

### Go

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/469e329a)

