Pull requests

#35 Merged
Repository
Deleted repository
Branch
more-granular-s3-settings (8e3f1fe734f4)
Repository
david/django-storages django-storages
Branch
default

Allow more granular S3 access settings

Author
  1. Alexander Todorov
Reviewers
Description

Hi David, some other packages that work with AWS allow the user to specify per service access settings instead of using their master account. This patch first looks into AWS_S3_ACCESS_KEY_ID/AWS_S3_SECRET_ACCESS_KEY variables and then falls back to AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY.

I'm using many AWS services in production and for each one I configure separate users. This has a security benefit but also avoids polluting the default variables which may silently get used by Boto and lead to some unexpected behavior.

Comments (1)