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:
Using Python to connect to a Neptune DB instance - Amazon Neptune
Steps for connecting to Neptune using Python.
AWS Lambda function examples for Amazon Neptune - Amazon Neptune
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.
Jump to solution
2 Replies
Solution
Kennh
Kennh3w ago
Using Python to connect to a Neptune DB instance - Amazon Neptune
Steps for connecting to Neptune using Python.
AWS Lambda function examples for Amazon Neptune - Amazon Neptune
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.
masterhugo
masterhugoOP2w ago
it works, but the docs doesn't have all information, add-on about the documentation, if we use a lambda, we need to add to the role the basic policies of Neptune as well be inside in the same VPC with the SG on the port 8182.

Did you find this page helpful?