Skip to main content
Scaleway Object Storage uses the S3 API with AWS Signature V4 against https://s3.<region>.scw.cloud. MIRAGE derives this endpoint from your region automatically. Credentials (IAM API key, the access key + secret key pair) are created the same way in both runtimes, see Scaleway Credentials.

Node (server-side)

Browser (presigned URLs)

The browser ScalewayResource is secret-free, your backend signs each operation using your Scaleway keys and returns a URL. Scaleway accepts AWS Signature V4, so @aws-sdk/s3-request-presigner works, pointed at the Scaleway endpoint.

1. Server: sign URLs with the Scaleway endpoint

2. Browser: wire it up

region on the browser config is only used for display/logging; the actual endpoint is baked into the presigned URLs your backend returns.

3. CORS

Scaleway supports the S3 PutBucketCors call, so the AWS CLI works against the Scaleway endpoint:
See the Scaleway resource docs for the equivalent Python wiring.