Article DetailsDetailsHelp DetailsWhile loading data from Web-APIs(S3 bucket) using APOC Extended, it is required to download several jar files. This article explains the steps for connecting to an S3 bucket using s3:// protocol with an AWS service account. Using this method, there is no need for accessKey and secretKey. This is more useful in cloud deployment, where any of the keys are exposed in config files/YAMLl files. Steps Copy the below jar files to the plugins directory aws-java-sdk-core-1.12.136.jar aws-java-sdk-s3-1.12.136.jar httpclient-4.5.13.jar httpcore-4.4.15.jar joda-time-2.10.13.jar aws-java-sdk-sts-1.12.425.jar In addition to the APOC jar files. Provide a service account to access server instances or the pod.In K8s deployment, additional steps are required for role.yaml and rolebinding.yaml.In K8s deployment, the service account name should be mentioned in values.yaml podSpec.serviceAccountName: <name> Verify the S3 bucket access using AWS CLI.Once the connection works fine, the apoc.import.csv should work fine. Ref :https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html#credentials-default https://neo4j.com/labs/apoc/5/import/web-apis/#_using_s3_protocol https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html InformationTitleHow to connect to s3 bucket using aws service account ?Article Created Date3/15/2024, 10:54 PMURL Name20979837223187-How-to-connect-to-s3-bucket-using-aws-service-accountLast Modified Date11/12/2025, 5:11 AM