aws/aws-secretsmanager-jdbc

NPE if secret is missing username or password

kuldarisakannu opened this issue · 2 comments

If the secret gets overwritten incompletely (in our case missing username) then retry results in NullPointerException at
https://github.com/aws/aws-secretsmanager-jdbc/blob/master/src/main/java/com/amazonaws/secretsmanager/sql/AWSSecretsManagerDriver.java#L325

Thank you for opening this issue - we are looking into it.

@kuldarisakannu we appreciate you bringing this to our attention. #157 contains the bug fix and has been merged.