postgres_exporter icon indicating copy to clipboard operation
postgres_exporter copied to clipboard

IAM policy

Open tyagian opened this issue 2 years ago • 2 comments

Do we have example of IAM policy needs to have those can be attached to IAM role. I am running exporter in EKS cluster

tyagian avatar Feb 15 '23 18:02 tyagian

Hi @tyagian ! Did you figure it out? How to connect without a user and password but by inferring the assigned policy to let's say an EC2 instance or EKS cluster?

hcastrofactored avatar May 04 '23 21:05 hcastrofactored

I assume the question is more around using an IAM policy for authentication to RDS postgres. Unfortunately I haven't worked with postgres RDS and I don't have an environment to test with. From some searching, it looks like this exporter would need some work to even support authentication in this manner.

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.Connecting.Go.html

sysadmind avatar May 09 '23 00:05 sysadmind