Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongoose aws4 wrong service account #172

Open
pedrooct opened this issue Sep 6, 2024 · 0 comments
Open

Mongoose aws4 wrong service account #172

pedrooct opened this issue Sep 6, 2024 · 0 comments

Comments

@pedrooct
Copy link

pedrooct commented Sep 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant