GithubHelp home page GithubHelp logo

aws / amazon-neptune-sigv4-signer Goto Github PK

View Code? Open in Web Editor NEW
15.0 28.0 9.0 63 KB

A library for Amazon Neptune that enables AWS Signature Version 4 signing for HTTP using Netty.

License: Apache License 2.0

Java 100.00%
amazon-neptune aws-neptune

amazon-neptune-sigv4-signer's Introduction

Amazon Neptune SigV4 Signer

A library for sending AWS Signature Version 4 signed requests over HTTP to Amazon Neptune. This package provides signers that can be used with various implementations of HttpRequests:

  1. NeptuneApacheHttpSigV4Signer.java - provides an implementation for signing Apache Http Requests.
  2. NeptuneNettyHttpSigV4Signer.java - provides an implementation for signing Netty Http requests
  3. NeptuneRequestMetadataSigV4Signer.java - provides an implementation for a generic Request object RequestMetadata. A user of this class can convert their native HttpRequest into a RequestMetadata object and pass it to this class to create the signature.

For examples of usage of this library refer to:

  1. Connecting to Neptune Using Java and Gremlin with Signature Version 4 Signing
  2. amazon-neptune-sparql-java-sigv4 - Contains examples for sending SigV4 signed requests with Apache HttpUriRequest objects.

For more documentation around IAM database authentication for Neptune refer to Identity and Access Management in Amazon Neptune

For the official Amazon Neptune page refer to: https://aws.amazon.com/neptune

License

This library is licensed under the Apache 2.0 License.

amazon-neptune-sigv4-signer's People

Contributors

ankit0370 avatar ankit370 avatar beebs-systap avatar dependabot[bot] avatar divijvaidya avatar floschmedding avatar kunallanuk avatar metawilm-aws avatar ronaks548 avatar royzhou-amz avatar spmallette avatar srondelli avatar upadhyay-prashant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amazon-neptune-sigv4-signer's Issues

Facing 403 Forbidden when SigV4 is used

Hi all,
I recently upgraded my cluster from version 1.1.0.x to 1.3.x.x and am facing issues when bumping my gremlin driver to version 3.6.x.

The main issue is that I'm following what your documentation says, to use a handshake interceptor and use the NeptuneNettyHttpSigV4Signer to sign the request, but it's not working, I've got only 403 from the server, and all the configurations are right as they should.

Before upgrading, the project was using the SigV4WebSocketChannelizer which is not working anymore, and this led me to think that this new NeptuneNettyHttpSigV4Signer does not work with WebSocket requests. Is that correct?

Upgrade to use AWS Java SDK v2

The current version of the Amazon Neptune SigV4 Signer library leverages the AWS Java SDK v1.12.241. We need to upgrade to the latest v2 version of the AWS Java SDK.

Release of new version

Hi, could you please run a release after the latest merge to master?

The last merge has a fix which is required for our deployment but in the maven repo it is still the version 2.1.1.

Thanks in advance,
Leo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.