Skip to content

Mongoose aws4 wrong service account #172

Description

@pedrooct

HI!

I'm trying to connect to mongoatlas using ?authMechanism=MONGODB-AWS and with a service account isra defined.
However eks default service account is being used resulting is the following error.

MongoServerError: Could not find user "arn:aws:sts::XXXXX for 'db $external'

Any ideas?

Versions:
"aws4": "1.13.2"
"mongoose": "8.2.0",

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions