Gremlin python connection to Neptune via IAM and WS
Does anyone know how to connect gremlin-python with websocket and IAM authorization to AWS Neptune. Right now I'm just using Websocket but without Auth, so is there a way to implement it?
Solution
Here are some examples I found from the Neptune documentation. https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-python.html and https://docs.aws.amazon.com/neptune/latest/userguide/lambda-functions-examples.html#lambda-functions-examples-python . Both seem to be using the boto library to do the signing.
Steps for connecting to Neptune using Python.
The following example AWS Lambda functions, written in Java, JavaScript and Python, illustrate upserting a single vertex with a randomly generated ID using the fold().coalesce().unfold() idiom.