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: Access public S3 buckets by setting anonymous credentials when no key or token given #495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nervo
Copy link

@nervo nervo commented Jun 4, 2024

Public s3 buckets are right now inaccessible because one of aws key or token is mandatory in url.

The aws sdk handle this by providing a special global credentials.AnonymousCredentials variable, which is used in a strict comparison to provided credentials on requests.

This pr just assume that when no key or token is passed by url, the user want anonymous access, and can requests on public buckets.

Copy link

hashicorp-cla-app bot commented Jun 4, 2024

CLA assistant check
All committers have signed the CLA.

@nervo nervo changed the title feat: Access public S3 bucket by setting anonymous credentials when no key or token given feat: Access public S3 buckets by setting anonymous credentials when no key or token given Jun 4, 2024
@nervo nervo mentioned this pull request Jun 5, 2024
1 task
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