not able to generate Rds Iam Auth Token using aws cpp sdk #2335
-
Hi We need to generate an aws rds iam auth token using the c++ sdk. Java sdk equivalent is here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.Connecting.Java.html#UsingWithRDS.IAMDBAuth.Connecting.Java.AuthToken Is there a way to do the above using the C++ SDK? The following code just results in printing the connection string (replace parameters with actual values):
Not sure if these are related: Any help will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
This is only supposed to generate an auth token. What format are you seeing the connection string printed as? As seen in the CLI docs its supposed to look something like this:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @jmklix - that was indeed the token :) |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
This is only supposed to generate an auth token. What format are you seeing the connection string printed as?
As seen in the CLI docs its supposed to look something like this: