hyperdx icon indicating copy to clipboard operation
hyperdx copied to clipboard

Can't connect to mongo using AWS Auth

Open jwhitaker-gridcog opened this issue 2 months ago • 0 comments

I'm trying to get hyperdx to connect to mongo using AWS auth instead of creds.

This nearly works by setting mongoUri = mongodb+srv://blahblah...mongodb.net/hyperdx?authSource=%24external&authMechanism=MONGODB-AWS.

However, this fails at runtime as the mongo lib needs the aws4 peer dependency for this to work. Would you accept a PR adding this to the default docker build? I know this is probably an extraneous dep for most installations, but it's a very small one, and it's quite difficult to overcome this otherwise without building my own HyperDX image.

jwhitaker-gridcog avatar Nov 11 '25 00:11 jwhitaker-gridcog