mirror of
https://github.com/pgsty/minio.git
synced 2026-03-16 17:53:43 +01:00
Improve access and secret key validation error, sync with implementation (#8516)
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user