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

Feature request: support S3 protocol for scanning mirrors #141

Open
dduportal opened this issue Sep 23, 2023 · 0 comments
Open

Feature request: support S3 protocol for scanning mirrors #141

dduportal opened this issue Sep 23, 2023 · 0 comments

Comments

@dduportal
Copy link

The Jenkins project is currently evaluating to use mirrors hosted on Cloudflare R2 bucket which is an S3-compatible system providing direct HTTP access.

Details on jenkins-infra/helpdesk#2649

As such, we would be interested into the support of the S3 protocol to scan mirrors, along with rsync or ftp to support S3 buckets as mirrors (each cloud provider has their compliant).

AWS provides a nifty S3 SDK: https://docs.aws.amazon.com/sdk-for-go/api/service/s3/ that could be used.

I believe the challenge is defining the configuration for credentials (but a default delegation to env vars. or ~/.aws/ could be enough).

Note that Azure bucket scanning is also an option: https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-go?tabs=roles-azure-portal (it is not S3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants