Closed ceefour closed 6 years ago
I've added this feature to the master branch. Please let me know if it works for you.
how to use AWS_SESSION_TOKEN to overcome this issue?
The generated by aws sts get-token
AWS_SESSION_TOKEN is only valid for a limited time ... so i cannot start the server for unlimited period with this token
Thank you @etianen
AFAIK AWS_SESSION_TOKEN
is used by AWS Lambda, i.e. in combination with Zappa.
Using django-s3-storage in Lambda (for example with zappa) will throw InvalidAccessKey error because it doesn't give
AWS_SESSION_TOKEN
which is required for temporary security credentials given by Lambda. e.g.How to fix this:
AWS_SESSION_TOKEN
in Djangosettings.py
(and also add it to README/docs)