vault
vault copied to clipboard
Return errInvalidCredentials when wrong credentials is provided for existent users
https://hashicorp.atlassian.net/browse/VAULT-8304 The auth methods returns a specific error code “ErrInvalidCredentials” in cases where it fails due to invalid credentials for existent users. This helps to differentiate between existent and not existent users when lockout feature is implemented to prevent brute forcing This is only used for handling lockouts and will be removed before return. This will not be returned or seen externally. These changes are for approle, ldap and userpass auth methods
Are the ErrInvalidCredentials changes only for the Approle and Userpass login endpoints?
Are the
ErrInvalidCredentialschanges only for the Approle and Userpass login endpoints?
It is for approle, userpass and ldap