PAM authentication error with HikariCP and AwsWrapperDataSource with iam plugin #513
Unanswered
bradPerkins-hm
asked this question in
Q&A
Replies: 3 comments 4 replies
-
Hi @bradPerkins-hm, thank you for raising this issue. Could you please answer the following to help with our investigation process:
|
Beta Was this translation helpful? Give feedback.
4 replies
-
The wrapper uses the default credentials provider to fetch credentials. If you require a specific credentials provider, you can configure it through |
Beta Was this translation helpful? Give feedback.
0 replies
-
how to configure this in springboot properties file? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to do what felixdo was trying to do in this post. The answer seems pretty straightforward, but when I try to use it, I get a PAM authentication error:
The user is autherized, however. When not using the AwsWrapperDataSource I assume a role and generate an IAM token and I am able to connect to the database (I just need to be able to refresh the token after it expires). However, when I implement the AwsWrapperDataSource, I get this PAM authentication error. I tried assuming a role first and generating my own token and setting it as the password, but I still get this PAM authentication error. Does the wrapper use different credentials to generate the token? How do I authorize the AwsWrapperDataSource?
I am using this to connect to the AWS Aurora Postgres databse.
Thanks for the help.
Beta Was this translation helpful? Give feedback.
All reactions