Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[s3] fix disabling cloudfront signing with cloudfront_signer=None #1326

Merged

Conversation

terencehonles
Copy link
Contributor

@terencehonles terencehonles commented Oct 16, 2023

This change fixes disabling cloudfront signing by specifying "None" (or another falsy value). This allows multiple storage configs that are all distributed via cloudfront, but only some of the configs need to be signed.

x-ref: #1302

@jschneier
Copy link
Owner

Thanks, can you add a note to the docs about this piece of functionality.

@terencehonles terencehonles force-pushed the fix-cloudfront-with-disabled-signer branch from 1d46c04 to 4a9d4f5 Compare October 17, 2023 11:38
This change fixes disabling cloudfront signing by specifying "None" (or
another falsy value). This allows multiple storage configs that are all
distributed via cloudfront, but only some of the configs need to be
signed.
@terencehonles terencehonles force-pushed the fix-cloudfront-with-disabled-signer branch from 4a9d4f5 to 36ca80c Compare October 17, 2023 11:51
@jschneier jschneier merged commit c408bf0 into jschneier:master Oct 18, 2023
15 checks passed
@jschneier
Copy link
Owner

Looks great, thanks.

@terencehonles terencehonles deleted the fix-cloudfront-with-disabled-signer branch October 18, 2023 06:07
terencehonles added a commit to terencehonles/django-storages that referenced this pull request Nov 1, 2023
This change fixes setting ``cloudfront_signer=None`` as a class variable
to disable cloudfront signing (or passing a custom implementation), and
is a follow up to jschneier#1326
jschneier pushed a commit that referenced this pull request Nov 23, 2023
This change fixes setting ``cloudfront_signer=None`` as a class variable
to disable cloudfront signing (or passing a custom implementation), and
is a follow up to #1326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants