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

# 持久化存储

## 支持的持久化存储

* Local (PVC) / S3 / AWS S3 (with AK/SK or IRSA) / Azure Blob / Aliyun OSS (with AK/SK) / Tencent COS (with AK/SK) / Google GCS / Huawei OBS / VolcEngine TOS

### 显示 Helm Chart 值

```bash theme={null}
helm show values dify/dify
```

这是 Helm chart 值中持久化存储配置的示例。

```yaml theme={null}
persistence:
  type: "s3"
  s3:
    endpoint: "https://xxx.r2.cloudflarestorage.com"
    accessKey: "#REPLACE_ME#"
    secretKey: "#REPLACE_ME#"
    region: "us-east-1"
    bucketName: "your-bucket-name"
    addressType: ""
    useAwsManagedIam: false
    useAwsS3: true
  ... ...
```

## `persistence.type` 字段的选项

* local
* s3
* azure-blob
* aliyun-oss
* google-storage
* tencent-cos
* volcengine-tos
* huawei-obs
