You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tool can automatically save the results using different storage strategies and storage profiles. Storage profiles are set in the `/storage_profiles` by a yaml configuration files.
435
435
436
-
Example:
436
+
### Local File System
437
437
438
438
```yaml
439
439
strategy: local_filesystem
@@ -443,7 +443,7 @@ settings:
443
443
create_subfolders: true
444
444
```
445
445
446
-
for Google drive:
446
+
### Google Drive
447
447
448
448
```yaml
449
449
strategy: google_drive
@@ -458,6 +458,54 @@ Where the `service_account_file` is a `json` file with authorization credentials
458
458
459
459
Note: Service Account is different account that the one you're using for Google workspace (files will not be visible in the UI)
460
460
461
+
### Amazon S3 - Cloud Object Storage
462
+
463
+
```yaml
464
+
strategy: aws_s3
465
+
settings:
466
+
bucket_name: ${AWS_S3_BUCKET_NAME}
467
+
region: ${AWS_REGION}
468
+
access_key: ${AWS_ACCESS_KEY_ID}
469
+
secret_access_key: ${AWS_SECRET_ACCESS_KEY}
470
+
```
471
+
472
+
#### Requirements for AWS S3 Access Key
473
+
474
+
1. **Access Key Ownership**
475
+
The access key must belong to an IAM user or role with permissions for S3 operations.
476
+
477
+
2. **IAM Policy Example**
478
+
The IAM policy attached to the user or role must allow the necessary actions. Below is an example of a policy granting access to an S3 bucket:
479
+
```json
480
+
{
481
+
"Version": "2012-10-17",
482
+
"Statement": [
483
+
{
484
+
"Effect": "Allow",
485
+
"Action": [
486
+
"s3:PutObject",
487
+
"s3:GetObject",
488
+
"s3:ListBucket",
489
+
"s3:DeleteObject"
490
+
],
491
+
"Resource": [
492
+
"arn:aws:s3:::your-bucket-name",
493
+
"arn:aws:s3:::your-bucket-name/*"
494
+
]
495
+
}
496
+
]
497
+
}
498
+
```
499
+
500
+
And fill the `.env` file with the proper AWS credentials:
501
+
502
+
```bash
503
+
AWS_ACCESS_KEY_ID=your-access-key-id
504
+
AWS_SECRET_ACCESS_KEY=your-secret-access-key
505
+
AWS_REGION=your-region
506
+
AWS_S3_BUCKET_NAME=your-bucket-name
507
+
```
508
+
461
509
## License
462
510
This project is licensed under the GNU General Public License. See the [LICENSE](LICENSE.md) file for details.
0 commit comments