diff --git a/content/configuration/files.md b/content/configuration/files.md index f6e4d257..1dbce7f3 100644 --- a/content/configuration/files.md +++ b/content/configuration/files.md @@ -3,7 +3,6 @@ title: Files description: Configuration for storage locations, metadata, upload limits, and transformations. --- - :partial{content="config-env-vars"} By default, Directus stores all uploaded files locally on the file system or can also configure Directus to use external storage services. You can also configure _multiple_ storage adapters at the same time which allows you to choose where files are being uploaded on a file-by-file basis. @@ -34,20 +33,21 @@ Based on your configured drivers, you must also provide additional variables, wh ### S3 (`s3`) -| Variable | Description | Default Value | -| ------------------------------------------- | -------------------------- | ------------------ | -| `STORAGE__KEY` | User key. | | -| `STORAGE__SECRET` | User secret. | | -| `STORAGE__BUCKET` | S3 bucket. | | -| `STORAGE__REGION` | S3 region. | | -| `STORAGE__ENDPOINT`[1] | S3 endpoint. | `s3.amazonaws.com` | -| `STORAGE__ACL` | S3 ACL. | | -| `STORAGE__SERVER_SIDE_ENCRYPTION` | S3 server side encryption. | | -| `STORAGE__FORCE_PATH_STYLE` | S3 force path style. | false | -| `STORAGE__CONNECTION_TIMEOUT` | S3 connection timeout (ms).| 5000 | -| `STORAGE__SOCKET_TIMEOUT` | S3 socket timeout (ms). | 120000 | -| `STORAGE__MAX_SOCKETS` | S3 max sockets. | 500 | -| `STORAGE__KEEP_ALIVE` | S3 keep alive. | true | +| Variable | Description | Default Value | +| ------------------------------------------------------ | --------------------------------- | ------------------ | +| `STORAGE__KEY` | User key. | | +| `STORAGE__SECRET` | User secret. | | +| `STORAGE__BUCKET` | S3 bucket. | | +| `STORAGE__REGION` | S3 region. | | +| `STORAGE__ENDPOINT`[1] | S3 endpoint. | `s3.amazonaws.com` | +| `STORAGE__ACL` | S3 ACL. | | +| `STORAGE__SERVER_SIDE_ENCRYPTION` | S3 server side encryption. | | +| `STORAGE__SERVER_SIDE_ENCRYPTION_KMS_KEY_ID` | S3 server side encryption kms id. | | +| `STORAGE__FORCE_PATH_STYLE` | S3 force path style. | false | +| `STORAGE__CONNECTION_TIMEOUT` | S3 connection timeout (ms). | 5000 | +| `STORAGE__SOCKET_TIMEOUT` | S3 socket timeout (ms). | 120000 | +| `STORAGE__MAX_SOCKETS` | S3 max sockets. | 500 | +| `STORAGE__KEEP_ALIVE` | S3 keep alive. | true | [1] When overriding this variable for S3, make sure to add your bucket's region in the endpoint: `s3.{region}.amazonaws.com`.