Support use of NLB for Aurora Postgres #568
vtejapavanreddy
started this conversation in
Ideas
Replies: 1 comment
-
Hi @vtejapavanreddy, you can specify which host to use to generate the IAM token with the Here is a simple example: final Properties properties = new Properties();
properties.setProperty("user", "iam_user");
properties.setProperty("wrapperPlugins", "iam");
properties.setProperty("iamHost", "hostname");
properties.setProperty("iamRegion", "region");
String connString = "jdbc:aws-wrapper:postgresql://nlb-url/db";
try (Connection conn = DriverManager.getConnection(connString, properties)) {
/// ...
} |
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
-
Hi All,
Currently IAM token is being generated based on the host provided. But when NLB is used we have to specify NLB to connect to DB.
Please enhance such that we can provide both NLB & hostname so that token is generated using host name but connection should be made using NLB.
Beta Was this translation helpful? Give feedback.
All reactions