Skip to content

openlabs/trytond-nereid-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trytond-nereid-s3

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.

About

S3 Storage for Nereid Static Files

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages