Skip to content

RDS-Signer token is not getting generated #4604

Answered by anitatailor
anitatailor asked this question in Q&A
Discussion options

You must be logged in to vote

This is solved now. I added logs in aws-sdk and learned that credential object did not have sessionToken. As this object was loaded from runtime config, i checked my runtime config which has aws key. So after removing that, code has used iam role as credential and worked as expected. I am not too sure if there should be check in validateResolvedCredentials function for missing sessionToken in below file

https://github.com/aws/aws-sdk-js-v3/blob/56667d32e95d611b5035b4adecf0a7612129c5b9/packages/signature-v4/src/SignatureV4.ts

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by anitatailor
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
1 participant