mirror of
https://github.com/minio/minio.git
synced 2024-12-25 14:45:54 -05:00
Improve access and secret key validation error, sync with implementation (#8516)
This commit is contained in:
parent
32c200fe12
commit
95e5d7a9c3
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user