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

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

fio_nereid_s3-3.6.1.2.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file fio_nereid_s3-3.6.1.2.tar.gz.

File metadata

File hashes

Hashes for fio_nereid_s3-3.6.1.2.tar.gz
Algorithm Hash digest
SHA256 34b33031956be42f95c748670c3f010b34eed67c205e2aee1e326645c676d54e
MD5 ebce77d6876eb8c391b4ff9cfb8c2c1e
BLAKE2b-256 7ad4472716b71e4b76491fb8e7b61b9a0d61040efa30d694bf78dbe61a146344

See more details on using hashes here.

Supported by

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