> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Alibaba OSS

> Set up Alibaba Cloud OSS credentials for the Aliyun resource.

## Credentials

### 1. Create an AccessKey pair

1. Sign in to the [Alibaba Cloud console](https://www.aliyun.com/)
2. Go to **AccessKey Management** (RAM user recommended) -> **Create AccessKey**
3. Copy the **AccessKey ID** and **AccessKey Secret**
4. Note your bucket's **region** (e.g. `cn-hangzhou`) and **bucket** name

The endpoint is derived from `region` as `s3.oss-<region>.aliyuncs.com`. Note the
`s3.` prefix: this is the S3-compatible host, distinct from the native
`oss-<region>.aliyuncs.com`.

### 2. Set environment variables

```bash theme={null}
# .env.development
OSS_BUCKET=my-bucket
OSS_REGION=cn-hangzhou
OSS_ACCESS_KEY_ID=...
OSS_ACCESS_KEY_SECRET=...
```

For Python configuration, see the [Alibaba OSS resource](/python/resource/aliyun) docs.
