Reputation: 55
i am unable to connect to Neptune DB from local system via ssh-tunnel EC2(ec2 exists in same vpc as neptune db) where neptune DB connectivity is established when Neptune IAM DB authorization is enabled.
With disabling IAM DB authorization i can able to access neptune DB from local machine.I could not find enough documentation on this. Can someone please help.
Upvotes: 1
Views: 575
Reputation: 2759
If using an SSH tunnel and using localhost in your connection string, you'll need to modify whatever IAM SigV4 process you're using to make sure the host header matches the Neptune cluster endpoint. Otherwise, you'll be attempting to sign the request using localhost as the host and the signature will be invalid.
Upvotes: 1