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

feat: allow public buckets, i.e. without auth #95

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

michalc
Copy link
Owner

@michalc michalc commented Nov 8, 2024

It turns out that public buckets, so ones that don't require any auth, should not have any authentication headers at all. So allowing the get_credentials parameter to be None, in which case signing of requests and passing authentication headers is skipped.

As discussed at #94

@michalc michalc force-pushed the feat/allow-buckets-without-auth branch 4 times, most recently from afe73c1 to fee929a Compare November 8, 2024 09:01
@michalc michalc changed the title feat: allow buckets without auth feat: allow public buckets, i.e. without auth Nov 8, 2024
@michalc michalc force-pushed the feat/allow-buckets-without-auth branch 5 times, most recently from ae28818 to eb4c1e7 Compare November 8, 2024 09:30
It turns out that public buckets, so ones that don't require any auth, should
not have any authentication headers at all. So allowing the `get_credentials`
parameter to be `None`, in which case signing of requests and passing
authentication headers is skipped.

As discussed at #94
@michalc michalc force-pushed the feat/allow-buckets-without-auth branch from eb4c1e7 to 5066889 Compare November 8, 2024 13:24
@michalc michalc merged commit c25d08b into main Nov 11, 2024
136 checks passed
@michalc michalc deleted the feat/allow-buckets-without-auth branch November 11, 2024 14:56
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.

1 participant