Skip to content

not able to generate Rds Iam Auth Token using aws cpp sdk #2335

Answered by jmklix
lewiswilliam asked this question in Q&A
Discussion options

You must be logged in to vote

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:

mydb.123456789012.us-east-1.rds.amazonaws.com:3306/?Action=connect&DBUser=db_user&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEXAMPLE%2Fus-east-1%2Frds-db%2Faws4_request&X-Amz-Date=20210123T011543Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=88987EXAMPLE1EXAMPLE2EXAMPLE3EXAMPLE4EXAMPLE5EXAMPLE6

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jmklix
Comment options

Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants