Quantcast
Channel: Active questions tagged mongodb-atlas - Stack Overflow
Viewing all articles
Browse latest Browse all 271

Configure IRSA to access mongodb cluster from EKS pod

$
0
0

I'm trying to setup a IRSA(Iam Role for Service Account) in order to acces mongodb cluster from EKS cluster.The IRSA will then be attached to my EKS pod.(The goal is to setup passwordless authentication in mongodb atlas, and access mongodbfrom my EKS podusing IAM role)

As per the following documentation, a policy should be created an attached to the role.https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html

The policy should define the permissions to the resource that my pod need to access. In my case, it is mongodb.

How can i specify in the policy that ressource to be access is mongodb?

Note: mongodb clusyer is setup in mongodb atlas and we are accessing through a VPC enpoint.

Thanks a lot.


Viewing all articles
Browse latest Browse all 271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>