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

[Question] Connect to AWS S3 bucket using the AWS Access Point #175

Open
ManpreetNRI opened this issue Nov 7, 2024 · 0 comments
Open

[Question] Connect to AWS S3 bucket using the AWS Access Point #175

ManpreetNRI opened this issue Nov 7, 2024 · 0 comments

Comments

@ManpreetNRI
Copy link

We want to connect to an AWS S3 bucket using the Apache VFS (Virtual File System) library, specifically with the VFS-S3 plugin. The bucket is configured with Access Points, and our access is restricted to using these Access Points exclusively.

I am constructing the S3 URL as follows:

String bucket = System.getProperty("AWS_ACCESS_POINT");
String region = System.getProperty("AWS_REGION");
if ((bucket != null) && (region != null)) {
    bucket = "s3://" + bucket + ".s3-" + region + ".amazonaws.com";
}

Could you please confirm if this approach is accurate for accessing the S3 bucket using Access Points, or suggest any necessary modifications? Specifically:

  • Is this URL structure correct when restricted to Access Points?
  • Are there any additional configurations required to ensure compatibility with VFS-S3 plugin and AWS S3 Access Points?
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

No branches or pull requests

1 participant