This project provides a custom library that extends the Apache TinkerPop Gremlin.NET client to enable AWS IAM Signature Version 4 signing for establishing authenticated connections to Amazon Neptune. For example usage refer to: NeptuneGremlinNETSigV4Example.cs. This example shows how to leverage this library for establishing an authenticated connection to Neptune. The GremlinClient library accepts both a GremlinServer object as well as a webSocketConfiguration object that contains a custom configuration set for establishing the WebSocket connection to Amazon Neptune. The SigV4RequestSigner library fetchs IAM credentials using the FallbackCredentialsFactory API (which works similarly to the Java Default Credential Provider Chain), performs the proper Signature Version 4 signing of an http request, and creates the proper WebSocket configuration based on this signed http request. One can then pass this webSocketConfiguration to the GremlinClient to create the connection to Neptune.
Features
- Extend the Apache TinkerPop Gremlin .NET client
- Enable AWS IAM Signature Version 4 signing for establishing authenticated connections to Amazon Neptune
- Use within Amazon EC2
- Use within AWS Lambda
- The SigV4RequestSigner library fetchs IAM credentials using the FallbackCredentialsFactory API
- This project is licensed under the Apache-2.0 License