bradleyg / django-s3direct

Directly upload files to S3 compatible services with Django.
MIT License
661 stars 234 forks source link

Restore support for accessing AWS credentials from instance profile (Issue #121) #170

Closed fmitra closed 5 years ago

fmitra commented 5 years ago

Using the the instance's IAM role to retrieve credentials was previously supported in <1.0 and lost when multi-upload support was added.

Ref: https://github.com/bradleyg/django-s3direct/issues/121

This PR re-enables that feature. As the feature was considered optional depending on whether a user had botocore installed, I've updated travis CI with additional build environments to test Django with and without boto3.

A tox file was also added to simplify testing the different dependencies on local machines.

bradleyg commented 5 years ago

Great stuff, thank you so much for this.