How to access RDS instances in another profile

I am trying to find a way for PMM to access a AWS_PROFILE. We have many profiles in AWS but only one application IAM user which can access all the accounts. I tried mounting local .aws directory and adding a AWS_PROFILE variable when I run docker. But PMM doesn’t recognize the AWS_PROFILE. I can see the directory and the variables are set within docker container.

Did someone experience similar issue that can share ?

thank you

Hi bplegend

We don’t support AWS_PROFILE unfortunately. We’re looking to expand our ability to more seamlessly support multiple AWS accounts.

For your use case I suggest you continue with using the IAM user and then add in only the relevant RDS/Aurora instances you want to monitor in PMM.