Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Connecting to AWS DocumentDB from an AWS ECS Container using IAM

I have a use case where I want to connect and query an AWS DocumentDB cluster from a containerized application deployed in an AWS ECS cluster (Fargate launch-type).

I already have a Task IAM Role defined and I would like to use it for connecting to DocumentDB instead of using a username/password combination.

Is the aforementioned scenario possible to achieve? If yes, how? After reading a lot about the topic, I didn’t find a reference on how I can achieve it. Also checked in AWS IAM console the possibility to create a custom Policy, but I didn’t find related to DocumentDB actions.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Any help would be greatly appreciated.

>Solution :

It appears at this time you will have to use username/password authentication to connect to DocumentDB. There is no support at this time for IAM authentication for connections to DocumentDB databases.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading