Fixes a bug where we returned prematurely on 401 responses. This PR ensures that we continue to validate the creds in the retry loop until one of the success or failure criteria is met.
Closes #2075
Checklist
[x] Added CHANGELOG entry (only for user-facing changes)
[ ] Acceptance tests where run against all supported Vault Versions
Output from acceptance testing:
$ make testacc TESTARGS='-run=TestAccXXX'
...
Community Note
Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request
Description
Fixes a bug where we returned prematurely on 401 responses. This PR ensures that we continue to validate the creds in the retry loop until one of the success or failure criteria is met.
Closes #2075
Checklist
Output from acceptance testing:
Community Note