Skip to main content

Amazon S3 backend for Nereid Static Files

Project description

Build Status Downloads Latest Version Development Status

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/*"
                        ]
                }
        ]
}

Authors and Contributors

This module was built at Openlabs.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openlabs_nereid_s3-3.4.2.0.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file openlabs_nereid_s3-3.4.2.0.tar.gz.

File metadata

File hashes

Hashes for openlabs_nereid_s3-3.4.2.0.tar.gz
Algorithm Hash digest
SHA256 b5eba81ab2338935c03643160b9c0cfc4396b96a2a2e5436af3b25b6a621b9a3
MD5 c805427ab2dfd73702086b34eb3501e4
BLAKE2b-256 84ae7dbdd473dd36b3cfb60e70bfbb1244f2f1dce5947d947baade44d50f6a37

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page