Skip to content

Can't connect to mongo using AWS Auth #1343

@jwhitaker-gridcog

Description

@jwhitaker-gridcog

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions