Skip to content

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