-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
modules/aidbox-forms/aidbox-ui-builder-alpha/store-attachments-in-s3-storages.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
description: This article explains how to configure Aidbox Forms to store attachments in S3-Compatible storages | ||
--- | ||
|
||
# Overview | ||
|
||
Aidbox Forms provides an ability to store files from attachment items in cloud storages like S3. | ||
|
||
## 1. Setup storage account | ||
|
||
Aidbox supports Amazon S3, Google Cloud Storage, Azure Container. | ||
Here is the guide on [how to setup this integration](/storage-1/s3-compatible-storages). | ||
|
||
## 2. Update SDCConfig | ||
|
||
After you setup the integration put the reference to storage credential resource into the SDCConfig resource and set the bucket. | ||
|
||
```json | ||
{"resourceType": "SDCConfig", | ||
"default": true, | ||
"storage": { | ||
"account": { | ||
"id": "test-account", | ||
"resourceType": "AwsAccount" | ||
}, | ||
"bucket": "sdc-files" | ||
} | ||
} | ||
``` | ||
|
||
Now all files from attachment items will be stored in cloud storage. |