How to use AWS IAM Authentication with MongoDB 4.4 in Atlas to Build Modern Secure Applications

Here’s a screenshot of what it looks like
Here’s a picture of a Canonical application with AWS
example of some temporary credentials retrieved from IMDSv2
an example of what the driver sends.
what a valid response looks like.

To recap,

MongoDB-AWS is a new mechanism to authenticate with Atlas clusters. You can use AWS credentials natively across all AWS services and MongoDB Atlas clusters within your application. It works across Atlas clusters, and Azure, and GCP, it is available in MongoDB Atlas June 2020, and it’s supported in all official MongoDB 4.4 drivers; C, C++, C# , Go, Java, Node.js, PHP, Python, and Ruby.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alfred J. Stanley

Alfred J. Stanley

Want to be an awakened one from the dream of existence.