S3
To enable Amazon S3 integration, we need to enable the feature OrchardCore.Media.AmazonS3
.
In the appsettings.json
, we need to provide the configuration of S3 bucket, for example a testing bucket "chunlin-orchardcore-test".
{
"Logging": {
...
},
"OrchardCore": {
"OrchardCore_Media_AmazonS3": {
"Region": "eu-west-1",
"BasePath": "/media",
"CreateBucket": false,
"BucketName": "chunlin-orchardcore-test"
}
}
}
We should see our files in Media get uploaded to the S3 bucket.
Last updated