You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider allowing security_token to fall back to os.environ as well?
Otherwise I need to manually wire AWS_SESSION_TOKEN into settings to avoid url failures (InvalidAccessKeyId).
And/or describe how AWS_SESSION_TOKEN is handled in the docs.
Thanks
The text was updated successfully, but these errors were encountered:
S3Storage
looks forAWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
insettings
and inos.environ
.django-storages/storages/backends/s3.py
Line 366 in d84ad92
However it only looks for
AWS_SESSION_TOKEN
insettings
but not inos.environ
.django-storages/storages/backends/s3.py
Line 380 in d84ad92
All 3 are used to initialise the the
boto3.Session
.django-storages/storages/backends/s3.py
Line 457 in d84ad92
Please consider allowing
security_token
to fall back toos.environ
as well?Otherwise I need to manually wire
AWS_SESSION_TOKEN
intosettings
to avoid url failures (InvalidAccessKeyId).And/or describe how
AWS_SESSION_TOKEN
is handled in the docs.Thanks
The text was updated successfully, but these errors were encountered: