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. |
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:
|
|
Thanks @jmklix - that was indeed the token :) |
|
Hello! Reopening this discussion to make it searchable. |
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: