shutterstock / gremlin-aws-sigv4

Extension for Apache's TinkerPop3 Gremlin JS driver compatible with IAM Database Authentication for Neptune
MIT License
29 stars 16 forks source link

Does not support standard credentials format from aws-sdk #6

Closed mearns closed 4 years ago

mearns commented 5 years ago

Expected behavior

I expect to be able to pass the driver a credentials object returned, for instance by the awsk-sdk's AWS.FileSystemCredentials constructor, or other implementations of AWS.Credentials, and have it authenticate with the provided credentials.

Actual behavior

The options passed into the driver constructor use different property names for the access key and secret key, and ignore the session token (see #4), so AWS.Credentials objects do not work.