A SigV4 authentication client side plugin for the open-source DataStax NodeJS Driver for Apache Cassandra. Allows use of IAM users and roles.
5
stars
16
forks
source link
getCredentialChainCreds always returns undefined #4
Closed
JoshRagem closed 3 years ago
https://github.com/aws/aws-sigv4-auth-cassandra-nodejs-driver-plugin/blob/220aaaea157d7845cf94c1a604a162ca07346e05/lib/sigv4-auth-provider.js#L74-L83 this function will always return undefined because
chain.resolve(...)
is async and the callback will not run until after getCredentialChainCreds returns