Nereid-S3 helps to upload files to amazon-s3 from tryton layer. Files are stored in a folder. You can create multiple folders. Folder could be public or private.
You need to specify following options under nereid_s3 section in your tryton configuration file:
[nereid_s3] access_key = secret_key = bucket = cloudfront =
Internally, private folder has key prefixed with _private. To make this work, following bucket policy should be applied:
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"NotResource": [
"arn:aws:s3:::bucket_name/_private",
"arn:aws:s3:::bucket_name/_private/*"
]
}
]
}
Professional Support
This module is professionally supported by Openlabs. If you are looking for on-site teaching or consulting support, contact our sales and support teams.
Metadata
Release files for openlabs_nereid_s3 3.4.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openlabs_nereid_s3-3.4.2.0.tar.gz | 7.3 kB | Details |
Release files / openlabs_nereid_s3-3.4.2.0.tar.gz
| Download URL | openlabs_nereid_s3-3.4.2.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5eba81ab2338935c03643160b9c0cfc4396b96a2a2e5436af3b25b6a621b9a3
|
|
BLAKE2b-256 checksum How to use checksums |
84ae7dbdd473dd36b3cfb60e70bfbb1244f2f1dce5947d947baade44d50f6a37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |