awslabs / amazon-neptune-tools

Tools and utilities to enable loading data and building graph applications with Amazon Neptune.
Apache License 2.0
300 stars 152 forks source link

IAM authentication enabled on Neptune #46

Closed FitnessTrackerIOS closed 4 years ago

FitnessTrackerIOS commented 4 years ago

Hello, I was able to use this if IAM auth is not enabled on Neptune , But if it is enabled can glue-neptune handle that ? any plans to include that option ? or any other way to authenticate via glue if enabled.

Thank you.

iansrobinson commented 4 years ago

Hi @FitnessTrackerIOS

Glue-neptune doesn't work with IAM DB Auth enabled at the moment, but I appreciate it is important for many use cases.

I'll look into adding support – however, because of prior commitments, I may not be able to begin work on this feature for a couple of weeks.

Apologies for the delay.

Kind regards

ian

FitnessTrackerIOS commented 4 years ago

Thank you for your response, we will be definitely waiting for this feature to be done. I will check back with you in a couple of weeks, also one more question any plans to upgrade glue-neptune to python 3 ?

iansrobinson commented 4 years ago

Yes - I'll upgrade to Python 3 at the same time. Good reminder - thank you.

On Fri, 31 Jan 2020 at 15:54, FitnessTrackerIOS notifications@github.com wrote:

Thank you for your response, we will be definitely waiting for this feature to be done. I will check back with you in a couple of weeks, also one more question any plans to upgrade glue-neptune to python 3 ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/awslabs/amazon-neptune-tools/issues/46?email_source=notifications&email_token=AACKOMA3OT2GCXK2MWUDPT3RARCSJA5CNFSM4KOBHHA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPCMOI#issuecomment-580789817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKOMBRDMNFHNMVLAOZKJTRARCSJANCNFSM4KOBHHAQ .

FitnessTrackerIOS commented 4 years ago

Awesome Thank you !!

iansrobinson commented 4 years ago

Hi @FitnessTrackerIOS

I've implemented IAM DB Auth for connecting to Neptune from Glue jobs, and updated to Python 3 - but in a new module:

https://github.com/awslabs/amazon-neptune-tools/tree/master/neptune-python-utils

I created a new module because I wanted to take the opportunity to add in some features from previous work, and thereby create a more general purpose Neptune client utility.

The glue-neptune classes have been renamed slightly:

GremlinCsvTransforms -> GlueGremlinCsvTransforms NeptuneConnectionInfo -> GlueNeptuneConnectionInfo NeptuneGremlinClient -> GlueGremlinClient

There's a working demo of replicating Amazon Aurora MySQL data to Amazon Neptune using AWS Glue that incorporates neptune-python-utils here:

https://github.com/aws-samples/amazon-neptune-samples/tree/master/gremlin/glue-neptune

Kind regards

ian

Therefore, I've deprecated

FitnessTrackerIOS commented 4 years ago

Thank you Rob !! This is helpfull.