Improve access and secret key validation error, sync with implementation (#8516)

This commit is contained in:
Ville Skyttä 2019-11-15 00:47:35 +02:00 committed by kannappanr
parent 32c200fe12
commit 95e5d7a9c3

View File

@ -93,8 +93,7 @@ var (
ErrInvalidCredentials = newErrFn( ErrInvalidCredentials = newErrFn(
"Invalid credentials", "Invalid credentials",
"Please provide correct credentials", "Please provide correct credentials",
`Access key length should be between minimum 3 characters in length. `Access key length should be at least 3, and secret key length at least 8 characters`,
Secret key should be in between 8 and 40 characters`,
) )
ErrEnvCredentialsMissingGateway = newErrFn( ErrEnvCredentialsMissingGateway = newErrFn(