mhart / aws4

Signs and prepares Node.js requests using AWS Signature Version 4
MIT License
703 stars 176 forks source link

Mongoose aws4 wrong service account #172

Open pedrooct opened 1 month ago

pedrooct commented 1 month ago

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