> ## 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.

# 永続ストレージ

## Helmチャートの値で永続ストレージの設定を見つける

#### Helmチャートの値を表示

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

## Helmチャートの値で永続ストレージの設定を見つける

これはHelmチャートの値における永続ストレージ設定の例です。

```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
  ... ...
```

## `persistence.type` フィールドのオプション

* s3
* azure-blob
* aliyun-oss
* google-storage
* tencent-cos

## IAMロールを使用してAmazon S3ストレージを構成する方法

AWS IAMロールを使用してS3バケットにアクセスする場合は、Helmチャートの値で`useAwsManagedIam`フィールドを`true`に設定できます。`region`および`bucketName`フィールドは必須です。

```yaml theme={null}
persistence:
  type: "s3"
  s3:
    endpoint: "https://s3.xxxxx.amazonaws.com"
    region: "us-east-1"
    bucketName: "your-bucket-name"
    useAwsManagedIam: true
```
